mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-22 12:18:20 +00:00
python3-parse: upgrade 1.19.0 -> 1.19.1
Switch to using git and a SRCREV to make sure we can keep the ptests. Changelog (https://github.com/r1chardj0n3s/parse/releases): - Add support for sign specifiers in number formats. by @anntzer in #134 - Fix handling of unused alignment by @tomerha in #132 - modern packaging by @wimglenn in #151 - universal wheel by @wimglenn in #155 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
31
meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
Normal file
31
meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
Normal file
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "Parse strings using a specification based on the Python format() syntax"
|
||||
HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
|
||||
|
||||
SRC_URI[sha256sum] = "cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464"
|
||||
|
||||
SRC_URI += " \
|
||||
git://github.com/r1chardj0n3s/parse.git;branch=master;protocol=https \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
SRCREV ?= "72776522285d516032faa0f80c4ee6a8964075e8"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit python_setuptools_build_meta ptest
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-datetime \
|
||||
python3-logging \
|
||||
python3-numbers \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
Reference in New Issue
Block a user