diff options
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.bb | 44 |
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 @@ | |||
| 1 | SUMMARY = "Physical quantities module" | ||
| 2 | DESCRIPTION = "Physical quantities Python module" | ||
| 3 | HOMEPAGE = "https://github.com/hgrecco/pint" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | |||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "pint" | ||
| 10 | |||
| 11 | inherit pypi ptest python_setuptools_build_meta | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf" | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-scm-native" | ||
| 16 | |||
| 17 | BBCLASSEXTEND = "native nativesdk" | ||
| 18 | |||
| 19 | SRC_URI += " \ | ||
| 20 | file://run-ptest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | RDEPENDS:${PN} += " \ | ||
| 24 | python3-setuptools \ | ||
| 25 | python3-packaging \ | ||
| 26 | " | ||
| 27 | # python3-misc for timeit.py | ||
| 28 | RDEPENDS:${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 | |||
| 41 | do_install_ptest() { | ||
| 42 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 43 | cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ | ||
| 44 | } | ||
