summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-11-20 17:07:53 -0800
committerKhem Raj <raj.khem@gmail.com>2024-11-21 21:42:34 -0800
commitcd3b24c6704a714fe27df40f35ce432dc3e9c51c (patch)
treeae32bcca27d4e88b0dcd826e1f3ae140ec4a1630 /meta-python/recipes-devtools/python/python3-pint_0.24.4.bb
parent4c2d0dc913d96ef6083b321e5cc7390513b4bb94 (diff)
downloadmeta-openembedded-cd3b24c6704a714fe27df40f35ce432dc3e9c51c.tar.gz
python3-pint: Upgrade to 0.24.4
- add error for prefixed non multi units - build: typing_extensions version - build: switch from appdirs to platformdirs - fix GenericPlainRegistry getattr type - Replace references to the deprecated `UnitRegistry.default_format` - fix: upgrade to flexparser>=0.4, exceptions are no longer dataclasses. (required for Python 3.13) - Drop the backported patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.24.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.24.4.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb
new file mode 100644
index 0000000000..88efefff58
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb
@@ -0,0 +1,43 @@
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 ptest python_setuptools_build_meta
10
11SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80"
12
13DEPENDS += "python3-setuptools-scm-native"
14
15BBCLASSEXTEND = "native nativesdk"
16
17SRC_URI += " \
18 file://run-ptest \
19"
20
21RDEPENDS:${PN} += " \
22 python3-setuptools \
23 python3-packaging \
24 python3-platformdirs \
25"
26# python3-misc for timeit.py
27RDEPENDS:${PN}-ptest += " \
28 python3-appdirs \
29 python3-attrs \
30 python3-flexcache \
31 python3-flexparser \
32 python3-misc \
33 python3-pytest \
34 python3-pytest-benchmark \
35 python3-pytest-subtests \
36 python3-statistics \
37 python3-unittest-automake-output \
38"
39
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/testsuite
42 cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
43}