summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.24.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.24.3.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
new file mode 100644
index 0000000000..23e9fdb0e2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
@@ -0,0 +1,44 @@
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] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf"
14
15DEPENDS += "python3-setuptools-scm-native"
16
17BBCLASSEXTEND = "native nativesdk"
18
19SRC_URI += " \
20 file://run-ptest \
21"
22
23RDEPENDS:${PN} += " \
24 python3-setuptools \
25 python3-packaging \
26"
27# python3-misc for timeit.py
28RDEPENDS:${PN}-ptest += " \
29 python3-appdirs \
30 python3-attrs \
31 python3-flexcache \
32 python3-flexparser \
33 python3-misc \
34 python3-pytest \
35 python3-pytest-benchmark \
36 python3-pytest-subtests \
37 python3-statistics \
38 python3-unittest-automake-output \
39"
40
41do_install_ptest() {
42 install -d ${D}${PTEST_PATH}/testsuite
43 cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
44}