summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-10 16:15:33 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-11 07:43:15 -0700
commitf712b408a931bd9ec15a686b97fddf3683e9c0b8 (patch)
tree38521015378833920198f6f70fac00ce41399af3
parent21e355fd0396ab51ee2f3723475806afdfce0fcf (diff)
downloadmeta-openembedded-f712b408a931bd9ec15a686b97fddf3683e9c0b8.tar.gz
python3-more-itertools: 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>
-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}