libslirp: fix upstream version check
PATCH 1/2 libslirp: fix upstream version check
From: Alexander Kanavin <[email protected]>
The regex excludes bogus old yyyymmdd tags which sort higher than real versions.
Signed-off-by Alexander Kanavin <[email protected]>
--- meta/recipes-connectivity/slirp/libslirp_4.9.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-connectivity/slirp/libslirp_4.9.1.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bca0186b14e6b05e338e729f106db727" SRC_URI = "git://gitlab.freedesktop.org/slirp/libslirp.git;protocol=https;branch=master" SRCREV = "9c744e1e52aa0d9646ed91d789d588696292c21e" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" DEPENDS = "glib-2.0"
Signature · 1 line
2.47.3
PATCH 2/2 python3-chardet: lock version check to 6.x versions
From: Alexander Kanavin <[email protected]>
There's a well-publicised controversy around AI-assisted rewrite for the purpose of relicensing from GPL to BSD:
https://lwn.net/Articles/1061534/
Both Debian and Fedora are steering clear of 7.x:
https://src.fedoraproject.org/rpms/python-chardet/pull-request/15
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129923
Signed-off-by Alexander Kanavin <[email protected]>
--- meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb +1 -0
@@ -4,6 +4,7 @@ LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21" SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4" +UPSTREAM_CHECK_REGEX = "chardet-(?P<pver>6\..*)\.tar" inherit pypi python_hatchling
Signature · 1 line
2.47.3