diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-05-31 15:40:16 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-31 08:28:50 -0700 |
| commit | 1487aa961bd05f78aac4af55b4aa8b7fa64bac03 (patch) | |
| tree | fe359c254fed9008fadffb4a8d2c959add112e79 /meta-python/recipes-devtools/python/python3-pint_0.22.bb | |
| parent | bb522de3792e44d76b327a94464687207baf40ae (diff) | |
| download | meta-openembedded-1487aa961bd05f78aac4af55b4aa8b7fa64bac03.tar.gz | |
python3-pint: upgrade 0.21 -> 0.22
Changelog:
==========
- Drop Python 3.8 compatability following NEP-29.
- Drop NumPy < 1.21 following NEP-29.
- Improved typing experience.
- Migrated fully to pyproject.toml.
- Migrated to ruff.
- In order to make static typing possible as required by mypy
and similar tools, the way to subclass the registry has been
changed.
- Allow non-quantity atol parameters for isclose and allclose.
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.22.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pint_0.22.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.22.bb b/meta-python/recipes-devtools/python/python3-pint_0.22.bb new file mode 100644 index 0000000000..0eed33f799 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.22.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "Physical quantities module" | ||
| 2 | DESCRIPTION = "Physical quantities Python module" | ||
| 3 | HOMEPAGE = "https://github.com/hgrecco/pint" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | |||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" | ||
| 8 | |||
| 9 | PYPI_PACKAGE := "Pint" | ||
| 10 | |||
| 11 | inherit pypi ptest python_setuptools_build_meta | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "2d139f6abbcf3016cad7d3cec05707fe908ac4f99cf59aedfd6ee667b7a64433" | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-scm-native" | ||
| 16 | |||
| 17 | BBCLASSEXTEND = "native nativesdk" | ||
| 18 | |||
| 19 | SRC_URI += " \ | ||
| 20 | file://run-ptest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | RDEPENDS:${PN} += " \ | ||
| 24 | ${PYTHON_PN}-setuptools \ | ||
| 25 | ${PYTHON_PN}-packaging \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | ${PYTHON_PN}-pytest \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_install_ptest() { | ||
| 33 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 34 | cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
| 35 | } | ||
