summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-07-24 14:28:05 -0400
committerKhem Raj <raj.khem@gmail.com>2023-07-24 20:24:26 -0700
commit98f3ebfa0393c6fa7a5e334e3221161765749270 (patch)
treee819d03a075c3001f4337ac0d9af51eaa11980c9 /meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
parent0eb4abcafd6aa0130533b3ea93125d636b8293bb (diff)
downloadmeta-openembedded-98f3ebfa0393c6fa7a5e334e3221161765749270.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-parse_1.19.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-parse_1.19.1.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb b/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
new file mode 100644
index 0000000000..9dc7f79318
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Parse strings using a specification based on the Python format() syntax"
2HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
5
6SRC_URI[sha256sum] = "cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464"
7
8SRC_URI += " \
9 git://github.com/r1chardj0n3s/parse.git;branch=master;protocol=https \
10 file://run-ptest \
11"
12
13SRCREV ?= "72776522285d516032faa0f80c4ee6a8964075e8"
14
15S = "${WORKDIR}/git"
16
17inherit python_setuptools_build_meta ptest
18
19RDEPENDS:${PN} += "\
20 python3-datetime \
21 python3-logging \
22 python3-numbers \
23"
24
25RDEPENDS:${PN}-ptest += " \
26 python3-pytest \
27"
28
29do_install_ptest() {
30 cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
31}