summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-more-itertools.inc21
-rw-r--r--meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb23
2 files changed, 21 insertions, 23 deletions
diff --git a/meta-python/recipes-devtools/python/python-more-itertools.inc b/meta-python/recipes-devtools/python/python-more-itertools.inc
deleted file mode 100644
index 0b684c1b1d..0000000000
--- a/meta-python/recipes-devtools/python/python-more-itertools.inc
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "More routines for operating on iterables, beyond itertools"
2HOMEPAGE = "https://github.com/erikrose/more-itertools"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
5
6BBCLASSEXTEND = "native nativesdk"
7
8inherit ptest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14RDEPENDS_${PN}-ptest += " \
15 ${PYTHON_PN}-pytest \
16"
17
18do_install_ptest() {
19 install -d ${D}${PTEST_PATH}/tests
20 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
21}
diff --git a/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb b/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb
index c3b34d3641..1718fdf932 100644
--- a/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb
@@ -1,5 +1,24 @@
1inherit pypi setuptools3 1DESCRIPTION = "More routines for operating on iterables, beyond itertools"
2require python-more-itertools.inc 2HOMEPAGE = "https://github.com/erikrose/more-itertools"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
3 5
4SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965" 6SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965"
5SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507" 7SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507"
8
9inherit pypi setuptools3 ptest
10
11BBCLASSEXTEND = "native nativesdk"
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS_${PN}-ptest += " \
18 ${PYTHON_PN}-pytest \
19"
20
21do_install_ptest() {
22 install -d ${D}${PTEST_PATH}/tests
23 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24}