From 208332560f528d17eac963e4297b3b3f4a61b7a0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Jun 2024 16:56:13 +0800 Subject: python3-pint: upgrade 0.23 -> 0.24 Changelog: ========== - Fix detection of invalid conversion between offset and delta units. - Added dBW, decibel Watts, which is used in RF high power applications - NumPy 2.0 support - Implement numpy roll (Related to issue #981) - Implement numpy correlate - Add 'dim_sort' function to _formatter_helpers. - Add 'dim_order' and 'default_sort_func' properties to FullFormatter. - Documented packages using pint. - Fixed bug causing operations between arrays of quantity scalars and quantity holding array resulting in incorrect units. - Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal. - Added refractive index units. - Fix converting to offset units of higher dimension e.g. gauge pressure - Fix unhandled TypeError when auto_reduce_dimensions=True and non_int_type=Decimal - Improved error message in 'get_dimensionality()' when non existent units are passed. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pint_0.23.bb | 41 ---------------------- .../recipes-devtools/python/python3-pint_0.24.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pint_0.23.bb create mode 100644 meta-python/recipes-devtools/python/python3-pint_0.24.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pint_0.23.bb b/meta-python/recipes-devtools/python/python3-pint_0.23.bb deleted file mode 100644 index 370cd7017b..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.23.bb +++ /dev/null @@ -1,41 +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 ptest python_setuptools_build_meta - -SRCREV = "f2e4081aee38f850938048beac7fb69c4908bc5e" -SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master" -S = "${WORKDIR}/git" -#SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4" - -DEPENDS += "python3-setuptools-scm-native" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - python3-setuptools \ - python3-packaging \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-appdirs \ - python3-flexcache \ - python3-flexparser \ - python3-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ -} diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.bb new file mode 100644 index 0000000000..c570fed6ba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.bb @@ -0,0 +1,41 @@ +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 ptest python_setuptools_build_meta + +SRCREV = "7b47d6b7b0f7655efca810a90f2781c0d1cc7fb9" +SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master" +S = "${WORKDIR}/git" +#SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4" + +DEPENDS += "python3-setuptools-scm-native" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-setuptools \ + python3-packaging \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-appdirs \ + python3-flexcache \ + python3-flexparser \ + python3-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testsuite + cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf