From bc46bfe447ae35d52ca1ff5a978c31e024460c41 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 1 Nov 2022 10:07:57 +0800 Subject: python3-pint: upgrade 0.20 -> 0.20.1 Changelog: ========= - Simplify registry subclassing. (Issue #1631) - Restore intersphinx cross reference functionality. (Issue #1637) - Use a newer version of flexparser that can deal with imports in linked/temporary folders. (Issue #1634) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pint_0.20.1.bb | 35 ++++++++++++++++++++++ .../recipes-devtools/python/python3-pint_0.20.bb | 35 ---------------------- 2 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pint_0.20.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-pint_0.20.bb diff --git a/meta-python/recipes-devtools/python/python3-pint_0.20.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.20.1.bb new file mode 100644 index 0000000000..625f50f847 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.20.1.bb @@ -0,0 +1,35 @@ +SUMMARY = "Physical quantities module" +DESCRIPTION = "Physical quantities Python module" +HOMEPAGE = "https://github.com/hgrecco/pint" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" + +PYPI_PACKAGE := "Pint" + +inherit pypi ptest python_setuptools_build_meta + +SRC_URI[sha256sum] = "387cf04078dc7dfe4a708033baad54ab61d82ab06c4ee3d4922b1e45d5626067" + +DEPENDS += "python3-setuptools-scm-native" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-packaging \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testsuite + cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ +} diff --git a/meta-python/recipes-devtools/python/python3-pint_0.20.bb b/meta-python/recipes-devtools/python/python3-pint_0.20.bb deleted file mode 100644 index fc25eeed47..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.20.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Physical quantities module" -DESCRIPTION = "Physical quantities Python module" -HOMEPAGE = "https://github.com/hgrecco/pint" -SECTION = "devel/python" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" - -PYPI_PACKAGE := "Pint" - -inherit pypi ptest python_setuptools_build_meta - -SRC_URI[sha256sum] = "4035f6d1431913afd86a056959e35d342399b0ab7d6f8cad1f0f6058dc83fad8" - -DEPENDS += "python3-setuptools-scm-native" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-setuptools \ - ${PYTHON_PN}-packaging \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ -} -- cgit v1.2.3-54-g00ecf