From 0ff42a7e9f4e43b67b5e134ff4c9ea1345821a6e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 26 Oct 2022 14:51:24 +0300 Subject: python3-pint: Upgrade 0.19.2 -> 0.20 Upgrade to release 0.20: - Reorganized code into facets Each facet encapsulate a Pint functionality - The definition parser is now completely appart, making it easy to try other formats - Extra requires for optional packages are now explicit in setup.cfg - Parse both Greek mu and micro Unicode points without error - Added angular frequency documentation page - Move ASV benchmarks to dedicated folder - Implement `numpy.broadcast_arrays` - An ndim attribute has been added to Quantity and DataFrame has been added to upcast types for pint-pandas compatibility - Fix a recursion error that would be raised when passing quantities to `cond` and `x` - Update test_non_int tests for pytest - Create NaN-value quantities of appropriate non-int-type - New documentation format and organization - Better support for pandas and dask Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pint_0.19.2.bb | 35 ---------------------- .../recipes-devtools/python/python3-pint_0.20.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pint_0.19.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-pint_0.20.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pint_0.19.2.bb b/meta-python/recipes-devtools/python/python3-pint_0.19.2.bb deleted file mode 100644 index 06337edb62..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.19.2.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] = "e1d4989ff510b378dad64f91711e7bdabe5ca78d75b06a18569ac454678c4baf" - -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 new file mode 100644 index 0000000000..fc25eeed47 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.20.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] = "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