summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.25.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-11-11 15:55:11 +0800
committerKhem Raj <raj.khem@gmail.com>2025-11-11 10:19:43 -0800
commitb41e1ded7e5938eec88c310885577a12effda8f4 (patch)
tree2b05dac7b5374fa23b1b580453f76de6b85ab274 /meta-python/recipes-devtools/python/python3-pint_0.25.2.bb
parente7a23c046e3ad985dfd06427e55695f4f69c2ab1 (diff)
downloadmeta-openembedded-b41e1ded7e5938eec88c310885577a12effda8f4.tar.gz
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.25.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.25.2.bb35
1 files changed, 35 insertions, 0 deletions
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 @@
1SUMMARY = "Physical quantities module"
2DESCRIPTION = "Physical quantities Python module"
3HOMEPAGE = "https://github.com/hgrecco/pint"
4SECTION = "devel/python"
5
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
8
9inherit pypi python_hatchling ptest-python-pytest python_setuptools_build_meta
10
11SRC_URI[sha256sum] = "85a45d1da8fe9c9f7477fed8aef59ad2b939af3d6611507e1a9cbdacdcd3450a"
12
13DEPENDS += "python3-setuptools-scm-native python3-hatch-vcs-native"
14
15BBCLASSEXTEND = "native nativesdk"
16
17PTEST_PYTEST_DIR = "pint"
18
19RDEPENDS:${PN} += " \
20 python3-setuptools \
21 python3-packaging \
22 python3-platformdirs \
23"
24# python3-misc for timeit.py
25RDEPENDS:${PN}-ptest += " \
26 python3-appdirs \
27 python3-attrs \
28 python3-flexcache \
29 python3-flexparser \
30 python3-misc \
31 python3-pytest-benchmark \
32 python3-pytest-subtests \
33 python3-statistics \
34"
35