From 5b7d606e97dc01ab889d78ee5b555a43415d46c8 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Oct 2023 07:31:59 +0800 Subject: python3-semver: upgrade 3.0.1 -> 3.0.2 Changelog: =========== PR #418: Replace OrderedDict with dict. PR #426: Fix replace() method to use the derived class of an instance instead of Version class. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj (cherry picked from commit 84dc10e9963584bd22bfa568915b4b39e3c1e4a8) Signed-off-by: Armin Kuster --- .../python/python3-semver_3.0.1.bb | 26 ---------------------- .../python/python3-semver_3.0.2.bb | 25 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-semver_3.0.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-semver_3.0.2.bb diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb deleted file mode 100644 index 2d85d789c7..0000000000 --- a/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -DESCRIPTION = "Python module for Semantic Versioning" -HOMEPAGE = "https://github.com/python-semver/python-semver" -BUGTRACKER = "https://github.com/python-semver/python-semver" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" - -SRC_URI[md5sum] = "b7502c12ce325ffffeab694fed52f6f5" -SRC_URI[sha256sum] = "9ec78c5447883c67b97f98c3b6212796708191d22e4ad30f4570f840171cbce1" - -inherit pypi python_setuptools_build_meta ptest - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -DEPENDS += " python3-setuptools-scm-native" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb new file mode 100644 index 0000000000..f90ea0c9dc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Python module for Semantic Versioning" +HOMEPAGE = "https://github.com/python-semver/python-semver" +BUGTRACKER = "https://github.com/python-semver/python-semver" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" + +SRC_URI[sha256sum] = "6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc" + +inherit pypi python_setuptools_build_meta ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +DEPENDS += " python3-setuptools-scm-native" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf