diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-06-15 22:37:24 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-17 08:56:34 -0700 |
| commit | 3bfde64d32c89579e9eb93bd048044907105d354 (patch) | |
| tree | e9ae1ebb9c270a9522665242c67ed0555dd241df /meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | |
| parent | 3a05a4e325d72cbf36d28675537a955f34af9d2a (diff) | |
| download | meta-openembedded-3bfde64d32c89579e9eb93bd048044907105d354.tar.gz | |
python3-intervals: Enable ptest
-Consolidate into a single file.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.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-intervals_1.10.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 8cbe1090f3..2e8276ec72 100644 --- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | |||
| @@ -1,2 +1,28 @@ | |||
| 1 | inherit setuptools3 | 1 | DESCRIPTION = "Interval arithmetic for Python" |
| 2 | require python-intervals.inc | 2 | HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals" |
| 3 | SECTION = "devel/python" | ||
| 4 | |||
| 5 | LICENSE = "LGPLv3" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" | ||
| 7 | |||
| 8 | PYPI_PACKAGE := "python-intervals" | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | inherit pypi setuptools3 ptest | ||
| 15 | |||
| 16 | RDEPENDS_${PN}-ptest += " \ | ||
| 17 | ${PYTHON_PN}-pytest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install_ptest() { | ||
| 21 | cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} | ||
| 22 | cp -f ${S}/README.md ${D}${PTEST_PATH} | ||
| 23 | } | ||
| 24 | |||
| 25 | SRC_URI[md5sum] = "8955317ff4e42590c90ba6247b1caaed" | ||
| 26 | SRC_URI[sha256sum] = "0d26746eaed0be78a61dd289bb7a10721b08770bb3e807614835f490d514f2a5" | ||
| 27 | |||
| 28 | BBCLASSEXTEND = "native" | ||
