diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-10 16:15:33 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-11 07:43:15 -0700 |
| commit | f712b408a931bd9ec15a686b97fddf3683e9c0b8 (patch) | |
| tree | 38521015378833920198f6f70fac00ce41399af3 /meta-python | |
| parent | 21e355fd0396ab51ee2f3723475806afdfce0fcf (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-more-itertools.inc | 21 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb | 23 |
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 @@ | |||
| 1 | DESCRIPTION = "More routines for operating on iterables, beyond itertools" | ||
| 2 | HOMEPAGE = "https://github.com/erikrose/more-itertools" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | ||
| 5 | |||
| 6 | BBCLASSEXTEND = "native nativesdk" | ||
| 7 | |||
| 8 | inherit ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS_${PN}-ptest += " \ | ||
| 15 | ${PYTHON_PN}-pytest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | do_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 @@ | |||
| 1 | inherit pypi setuptools3 | 1 | DESCRIPTION = "More routines for operating on iterables, beyond itertools" |
| 2 | require python-more-itertools.inc | 2 | HOMEPAGE = "https://github.com/erikrose/more-itertools" |
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | ||
| 3 | 5 | ||
| 4 | SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965" | 6 | SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965" |
| 5 | SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507" | 7 | SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507" |
| 8 | |||
| 9 | inherit pypi setuptools3 ptest | ||
| 10 | |||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
| 12 | |||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS_${PN}-ptest += " \ | ||
| 18 | ${PYTHON_PN}-pytest \ | ||
| 19 | " | ||
| 20 | |||
| 21 | do_install_ptest() { | ||
| 22 | install -d ${D}${PTEST_PATH}/tests | ||
| 23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 24 | } | ||
