python3-semantic-version: upgrade 2.9.0 -> 2.10.0

Message ID 1653891773-23292-2-git-send-email-wangmy@fujitsu.com
State Accepted, archived
Commit 70d68ca81fd92140367a832d7fb30963a2cac5c1
Headers show
Series python3-semantic-version: upgrade 2.9.0 -> 2.10.0 | expand

Commit Message

Mingyu Wang (Fujitsu) May 30, 2022, 6:22 a.m. UTC
Add dependence python3-pkg-resources

Changelog:
==========
 Ensure sorting a collection of versions is always stable, even with build metadata.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...-version_2.9.0.bb => python3-semantic-version_2.10.0.bb} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-semantic-version_2.9.0.bb => python3-semantic-version_2.10.0.bb} (76%)

Patch

diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
similarity index 76%
rename from meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb
rename to meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
index 4101f48043..0a24ca9ebc 100644
--- a/meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb
+++ b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
@@ -4,11 +4,15 @@  HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
 
-SRC_URI[sha256sum] = "abf54873553e5e07a6fd4d5f653b781f5ae41297a493666b59dcf214006a12b2"
+SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c"
 
 PYPI_PACKAGE = "semantic_version"
 inherit pypi setuptools3
 
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-pkg-resources \
+"
+
 BBCLASSEXTEND = "native nativesdk"
 
 UPSTREAM_CHECK_REGEX = "/semantic-version/(?P<pver>(\d+[\.\-_]*)+)/"