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 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pint_0.20.1.bb (limited to 'meta-python/recipes-devtools/python/python3-pint_0.20.1.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/ +} -- cgit v1.2.3-54-g00ecf