mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
python3-pint: update to 0.19.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
committed by
Trevor Gamblin
parent
2b62902692
commit
c2d4089100
35
meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
Normal file
35
meta-python/recipes-devtools/python/python3-pint_0.19.1.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 python_setuptools_build_meta
|
||||
|
||||
SRC_URI[sha256sum] = "3e5913e4ad125f672f72e19e06a8cb1f6d36a4922b6e5a49e04ff882511f82c8"
|
||||
|
||||
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