From b41e1ded7e5938eec88c310885577a12effda8f4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 11 Nov 2025 15:55:11 +0800 Subject: python3-pint: upgrade 0.25 -> 0.25.2 Changelog: =========== - Revert typing change in 'pint.Unit' - Fix raising exception in 'Quantity.from_tuple' with invalid units - Several unit definition fixes. - Add devcontainer.json to add GitHub Codespace support - Add support for 'numpy.geomspace' - Add support for 'linalg.diagonal', 'linalg.matrix_transpose', 'diag', 'tril', 'triu', 'linalg.eigvals', 'linalg.eigvalsh', 'linalg.matrix_norm' and 'linalg.vector_norm' - An example of performing currency conversions that change over time has been added to the docs. - Add support for 'pint.Quantity' being used as Generic. - Add a typing and IDE autocomplete page to the documentation. - Fixed 'nan'/'nan' to return 'nan' rather than 1 in unit conversion Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pint_0.25.2.bb | 35 ++++++++++++++++++++++ .../recipes-devtools/python/python3-pint_0.25.bb | 35 ---------------------- 2 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pint_0.25.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-pint_0.25.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pint_0.25.2.bb b/meta-python/recipes-devtools/python/python3-pint_0.25.2.bb new file mode 100644 index 0000000000..97ee4b48bc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.25.2.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" + +inherit pypi python_hatchling ptest-python-pytest python_setuptools_build_meta + +SRC_URI[sha256sum] = "85a45d1da8fe9c9f7477fed8aef59ad2b939af3d6611507e1a9cbdacdcd3450a" + +DEPENDS += "python3-setuptools-scm-native python3-hatch-vcs-native" + +BBCLASSEXTEND = "native nativesdk" + +PTEST_PYTEST_DIR = "pint" + +RDEPENDS:${PN} += " \ + python3-setuptools \ + python3-packaging \ + python3-platformdirs \ +" +# python3-misc for timeit.py +RDEPENDS:${PN}-ptest += " \ + python3-appdirs \ + python3-attrs \ + python3-flexcache \ + python3-flexparser \ + python3-misc \ + python3-pytest-benchmark \ + python3-pytest-subtests \ + python3-statistics \ +" + diff --git a/meta-python/recipes-devtools/python/python3-pint_0.25.bb b/meta-python/recipes-devtools/python/python3-pint_0.25.bb deleted file mode 100644 index c85805e1f4..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.25.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" - -inherit pypi python_hatchling ptest-python-pytest python_setuptools_build_meta - -SRC_URI[sha256sum] = "22911a30d682ee0540d656571c19a7b1806ce00b2be88a16f67218108b7b8cc2" - -DEPENDS += "python3-setuptools-scm-native python3-hatch-vcs-native" - -BBCLASSEXTEND = "native nativesdk" - -PTEST_PYTEST_DIR = "pint" - -RDEPENDS:${PN} += " \ - python3-setuptools \ - python3-packaging \ - python3-platformdirs \ -" -# python3-misc for timeit.py -RDEPENDS:${PN}-ptest += " \ - python3-appdirs \ - python3-attrs \ - python3-flexcache \ - python3-flexparser \ - python3-misc \ - python3-pytest-benchmark \ - python3-pytest-subtests \ - python3-statistics \ -" - -- cgit v1.2.3-54-g00ecf