Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi <[email protected]> --- .../python/python-more-itertools.inc | 21 ----------------- .../python/python3-more-itertools_8.2.0.bb | 23 +++++++++++++++++-- 2 files changed, 21 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-more-itertools.inc
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 0b684c1b1..000000000 --- a/meta-python/recipes-devtools/python/python-more-itertools.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "More routines for operating on iterables, beyond itertools" -HOMEPAGE = "https://github.com/erikrose/more-itertools" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" - -BBCLASSEXTEND = "native nativesdk" - -inherit ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} 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 c3b34d364..1718fdf93 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 @@ -inherit pypi setuptools3 -require python-more-itertools.inc +DESCRIPTION = "More routines for operating on iterables, beyond itertools" +HOMEPAGE = "https://github.com/erikrose/more-itertools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965" SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507" + +inherit pypi setuptools3 ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84944): https://lists.openembedded.org/g/openembedded-devel/message/84944 Mute This Topic: https://lists.openembedded.org/mt/74796048/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
