mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
python3-pint: upgrade 0.23 -> 0.24
Changelog: ========== - Fix detection of invalid conversion between offset and delta units. - Added dBW, decibel Watts, which is used in RF high power applications - NumPy 2.0 support - Implement numpy roll (Related to issue #981) - Implement numpy correlate - Add 'dim_sort' function to _formatter_helpers. - Add 'dim_order' and 'default_sort_func' properties to FullFormatter. - Documented packages using pint. - Fixed bug causing operations between arrays of quantity scalars and quantity holding array resulting in incorrect units. - Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal. - Added refractive index units. - Fix converting to offset units of higher dimension e.g. gauge pressure - Fix unhandled TypeError when auto_reduce_dimensions=True and non_int_type=Decimal - Improved error message in 'get_dimensionality()' when non existent units are passed. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
41
meta-python/recipes-devtools/python/python3-pint_0.24.bb
Normal file
41
meta-python/recipes-devtools/python/python3-pint_0.24.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
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 ptest python_setuptools_build_meta
|
||||
|
||||
SRCREV = "7b47d6b7b0f7655efca810a90f2781c0d1cc7fb9"
|
||||
SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master"
|
||||
S = "${WORKDIR}/git"
|
||||
#SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-setuptools \
|
||||
python3-packaging \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-appdirs \
|
||||
python3-flexcache \
|
||||
python3-flexparser \
|
||||
python3-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/testsuite
|
||||
cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
|
||||
}
|
||||
Reference in New Issue
Block a user