From cb705407176d5338d177e60d87a72585fa16a74f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 21 Oct 2020 11:25:29 +0300 Subject: python3-semver: Upgrade 2.10.2 -> 2.13.0 Upgrade to release 2.13.0: - Document how to create subclass from VersionInfo - Ensure equal versions have equal hashes. Version equality means for semver, that major, minor, patch, and prerelease parts are equal in both versions you compare. The build part is ignored. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-semver_2.10.2.bb | 24 ---------------------- .../python/python3-semver_2.13.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-semver_2.10.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-semver_2.13.0.bb diff --git a/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb b/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb deleted file mode 100644 index 71cb1acec3..0000000000 --- a/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "Python module for Semantic Versioning" -HOMEPAGE = "https://github.com/k-bx/python-semver" -BUGTRACKER = "https://github.com/k-bx/python-semver/issues" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" - -SRC_URI[md5sum] = "3e11ae9782121e8ffe9f8a8b763a8cb5" -SRC_URI[sha256sum] = "c0a4a9d1e45557297a722ee9bac3de2ec2ea79016b6ffcaca609b0bc62cf4276" - -inherit pypi setuptools3 ptest - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - cp -f ${S}/test_semver.py ${D}${PTEST_PATH}/ -} diff --git a/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb b/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb new file mode 100644 index 0000000000..8c7c424c6d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Python module for Semantic Versioning" +HOMEPAGE = "https://github.com/k-bx/python-semver" +BUGTRACKER = "https://github.com/k-bx/python-semver/issues" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" + +SRC_URI[md5sum] = "e98b5fb283ea84daa5195087de83ebf1" +SRC_URI[sha256sum] = "fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f" + +inherit pypi setuptools3 ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_semver.py ${D}${PTEST_PATH}/ +} -- cgit 1.2.3-korg