mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-27 01:48:19 +00:00
python3-pint: Upgrade 0.16.1 -> 0.17
Upgrade to release 0.17: - Add the Wh unit for battery capacity measurements - Fix issue with reducable dimensionless units when using power (Quantity**ndarray) - Fix comparisons between Quantities and Measurements. - UnitsContainer returns false if other is str and cannnot be parsed - Fix numpy.linalg.solve unit output. - Support numpy.lib.stride_tricks.sliding_window_view. - NEP29 Support docs. - Move all tests to pytest. - Fix to __pow__ and __ipow__ - Migrate to Github Actions. - Update linter to use pre-commit. - Quantity comparisons now ensure other is Quantity. - Add sign function compatibility. - Fix scalar to ndarray tolist. - Fix tolist function with scalar ndarray. - Corrected typos and dacstrings - Implements a first benchmark suite in airspeed velocity (asv). - Power for pseudo-dimensionless units. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
35
meta-python/recipes-devtools/python/python3-pint_0.17.bb
Normal file
35
meta-python/recipes-devtools/python/python3-pint_0.17.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "Physical quantities module"
|
||||
DESCRIPTION = "Physical quantities Python module"
|
||||
HOMEPAGE = "https://github.com/hgrecco/pint"
|
||||
SECTION = "devel/python"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
|
||||
|
||||
PYPI_PACKAGE := "Pint"
|
||||
|
||||
inherit pypi ptest setuptools3
|
||||
|
||||
SRC_URI[sha256sum] = "f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-setuptools \
|
||||
${PYTHON_PN}-packaging \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/testsuite
|
||||
cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
|
||||
}
|
||||
Reference in New Issue
Block a user