summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2022-04-10 22:42:20 +0200
committerTrevor Gamblin <trevor.gamblin@windriver.com>2022-04-11 09:22:30 -0400
commitc2d4089100089769cb1154e8f16bd3e376fc1e1b (patch)
tree06bdbe18547b26508e636675d3f2b22f77dafd3c /meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
parent2b62902692deb24c0f2293f80171ecbe6393ec1c (diff)
downloadmeta-openembedded-c2d4089100089769cb1154e8f16bd3e376fc1e1b.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.19.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.19.1.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
new file mode 100644
index 0000000000..e1c471e064
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb
@@ -0,0 +1,35 @@
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 python_setuptools_build_meta
12
13SRC_URI[sha256sum] = "3e5913e4ad125f672f72e19e06a8cb1f6d36a4922b6e5a49e04ff882511f82c8"
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}