diff mbox series

[meta-python] python3-parse: upgrade 1.19.0 -> 1.19.1

Message ID 20230724182805.103189-1-tgamblin@baylibre.com
State Under Review
Headers show
Series [meta-python] python3-parse: upgrade 1.19.0 -> 1.19.1 | expand

Commit Message

Trevor Gamblin July 24, 2023, 6:28 p.m. UTC
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>
---
 ...-parse_1.19.0.bb => python3-parse_1.19.1.bb} | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-parse_1.19.0.bb => python3-parse_1.19.1.bb} (63%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb b/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-parse_1.19.0.bb
rename to meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
index 94c1b53c94..9dc7f79318 100644
--- a/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb
+++ b/meta-python/recipes-devtools/python/python3-parse_1.19.1.bb
@@ -3,9 +3,18 @@  HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
 
-SRC_URI[sha256sum] = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b"
+SRC_URI[sha256sum] = "cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464"
 
-inherit pypi setuptools3 ptest
+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 \
@@ -13,10 +22,6 @@  RDEPENDS:${PN} += "\
     python3-numbers \
 "
 
-SRC_URI += " \
-    file://run-ptest \
-"
-
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
 "