From f712b408a931bd9ec15a686b97fddf3683e9c0b8 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 10 Jun 2020 16:15:33 +0300 Subject: python3-more-itertools: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-more-itertools_8.2.0.bb | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb') 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 @@ -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/ +} -- cgit v1.2.3-54-g00ecf