summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.17.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-11-03 14:11:46 +0200
committerKhem Raj <raj.khem@gmail.com>2021-11-04 06:52:51 -0700
commit234c6ec0a4ad5ee97eb9300abc42145fe5e14877 (patch)
treea9b1e2618a464b6c9c6ac0ac3a25ce082c44e9ef /meta-python/recipes-devtools/python/python3-pint_0.17.bb
parent671f9d7b2d06d3bfa4b3c7d34da9473b05bcf5f4 (diff)
downloadmeta-openembedded-234c6ec0a4ad5ee97eb9300abc42145fe5e14877.tar.gz
python3-pint: Upgrade 0.17 -> 0.18
Upgrade to release 0.18: - Implement use of Quantity in the Quantity constructor (convert to specified units). - Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in - Fix a few small typos. - Fix babel format for `Unit`. - Fix handling of positional max/min arguments in clip function. - Fix string formatting of numpy array scalars. - Fix default format for Measurement class - Fix parsing of pretty units with same exponents but different sign. - Convert the application registry to a wrapper object. - Add documentation for the string format options. - Support custom units formats. - Autoupdate pre-commit hooks. - Improved the application registry. - Improved testing isolation using pytest fixtures. 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.17.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.17.bb35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.17.bb b/meta-python/recipes-devtools/python/python3-pint_0.17.bb
deleted file mode 100644
index 6642f4b9b1..0000000000
--- a/meta-python/recipes-devtools/python/python3-pint_0.17.bb
+++ /dev/null
@@ -1,35 +0,0 @@
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
9PYPI_PACKAGE := "Pint"
10
11inherit pypi ptest setuptools3
12
13SRC_URI[sha256sum] = "f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313"
14
15DEPENDS += "python3-setuptools-scm-native"
16
17BBCLASSEXTEND = "native nativesdk"
18
19SRC_URI += " \
20 file://run-ptest \
21"
22
23RDEPENDS:${PN} += " \
24 ${PYTHON_PN}-setuptools \
25 ${PYTHON_PN}-packaging \
26"
27
28RDEPENDS:${PN}-ptest += " \
29 ${PYTHON_PN}-pytest \
30"
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/testsuite
34 cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
35}