diff options
| author | Derek Straka <derek@asterius.io> | 2023-12-14 00:27:35 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-12-13 18:53:25 -0800 |
| commit | 82523b1fff8715a74c2313af50fef3fee3f249d7 (patch) | |
| tree | c453f98ccf961bdca407cc0c0704ee4026dd511d /meta-python/recipes-devtools/python/python3-pint_0.23.bb | |
| parent | 2e864f1e201c39aeb9821f03ac7fcf24f19393c2 (diff) | |
| download | meta-openembedded-82523b1fff8715a74c2313af50fef3fee3f249d7.tar.gz | |
python3-pint: upgrade to 0.23
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.23.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pint_0.23.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.23.bb b/meta-python/recipes-devtools/python/python3-pint_0.23.bb new file mode 100644 index 0000000000..82709ea08a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.23.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 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] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4" | ||
| 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 | ${PYTHON_PN}-setuptools \ | ||
| 25 | ${PYTHON_PN}-packaging \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | ${PYTHON_PN}-pytest \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_install_ptest() { | ||
| 33 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 34 | cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
| 35 | } | ||
