diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2022-10-26 14:51:24 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-10-26 07:04:06 -0700 |
| commit | 0ff42a7e9f4e43b67b5e134ff4c9ea1345821a6e (patch) | |
| tree | 939ac2b8d5505dbc23792453b746911c37b00d3d /meta-python/recipes-devtools/python/python3-pint_0.20.bb | |
| parent | 06f4c93a06cc17b9fe5990d1c8c459b18e3f6d90 (diff) | |
| download | meta-openembedded-0ff42a7e9f4e43b67b5e134ff4c9ea1345821a6e.tar.gz | |
python3-pint: Upgrade 0.19.2 -> 0.20
Upgrade to release 0.20:
- Reorganized code into facets
Each facet encapsulate a Pint functionality
- The definition parser is now completely appart, making it easy to
try other formats
- Extra requires for optional packages are now explicit in
setup.cfg
- Parse both Greek mu and micro Unicode points without error
- Added angular frequency documentation page
- Move ASV benchmarks to dedicated folder
- Implement `numpy.broadcast_arrays`
- An ndim attribute has been added to Quantity and DataFrame has
been added to upcast types for pint-pandas compatibility
- Fix a recursion error that would be raised when passing
quantities to `cond` and `x`
- Update test_non_int tests for pytest
- Create NaN-value quantities of appropriate non-int-type
- New documentation format and organization
- Better support for pandas and dask
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.20.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pint_0.20.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.20.bb b/meta-python/recipes-devtools/python/python3-pint_0.20.bb new file mode 100644 index 0000000000..fc25eeed47 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.20.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] = "4035f6d1431913afd86a056959e35d342399b0ab7d6f8cad1f0f6058dc83fad8" | ||
| 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 | } | ||
