Add dependence python3-pkg-resources

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

Signed-off-by: Wang Mingyu <wan...@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%)

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+[\.\-_]*)+)/"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166258): 
https://lists.openembedded.org/g/openembedded-core/message/166258
Mute This Topic: https://lists.openembedded.org/mt/91425807/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to