summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.11.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-11 12:08:59 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-12 08:46:48 -0700
commit3def8e05265bceb86c6f32531ecd2cad179598c4 (patch)
tree3593a781ad0a7bfa27a1300f71e8df91b420cc7a /meta-python/recipes-devtools/python/python3-pint_0.11.bb
parentab0372b3bf8d38266e4dd04d6af67fccc35fb82e (diff)
downloadmeta-openembedded-3def8e05265bceb86c6f32531ecd2cad179598c4.tar.gz
python3-pint: Consolidate in a single file
Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.11.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pint_0.11.bb32
1 files changed, 30 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.11.bb b/meta-python/recipes-devtools/python/python3-pint_0.11.bb
index f793ac4ace..d37da7c6a7 100644
--- a/meta-python/recipes-devtools/python/python3-pint_0.11.bb
+++ b/meta-python/recipes-devtools/python/python3-pint_0.11.bb
@@ -1,2 +1,30 @@
1inherit setuptools3 1DESCRIPTION = "Interval arithmetic for Python"
2require python-pint.inc 2HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
3SECTION = "devel/python"
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
7
8PYPI_PACKAGE := "Pint"
9
10inherit pypi ptest setuptools3
11
12SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
13SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
14
15DEPENDS += "python3-setuptools-scm-native"
16
17BBCLASSEXTEND = "native nativesdk"
18
19SRC_URI += " \
20 file://run-ptest \
21"
22
23RDEPENDS_${PN}-ptest += " \
24 ${PYTHON_PN}-pytest \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/testsuite
29 cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
30}