From 234c6ec0a4ad5ee97eb9300abc42145fe5e14877 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 3 Nov 2021 14:11:46 +0200 Subject: python3-pint: Upgrade 0.17 -> 0.18 Upgrade to release 0.18: - Implement use of Quantity in the Quantity constructor (convert to specified units). - Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in - Fix a few small typos. - Fix babel format for `Unit`. - Fix handling of positional max/min arguments in clip function. - Fix string formatting of numpy array scalars. - Fix default format for Measurement class - Fix parsing of pretty units with same exponents but different sign. - Convert the application registry to a wrapper object. - Add documentation for the string format options. - Support custom units formats. - Autoupdate pre-commit hooks. - Improved the application registry. - Improved testing isolation using pytest fixtures. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pint_0.17.bb | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pint_0.17.bb (limited to 'meta-python/recipes-devtools/python/python3-pint_0.17.bb') diff --git a/meta-python/recipes-devtools/python/python3-pint_0.17.bb b/meta-python/recipes-devtools/python/python3-pint_0.17.bb deleted file mode 100644 index 6642f4b9b1..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.17.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 setuptools3 - -SRC_URI[sha256sum] = "f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313" - -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