From 2fc0494071d57a00d808fc734b6dcbc35acdf16a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 23 Jun 2020 12:51:30 +0300 Subject: python3-more-itertools: Upgrade 8.3.0 -> 8.4.0 Upgrade to release 8.4.0: - New itertools: :func:`mark_ends` :func:`is_sorted` - Changes to existing itertools: :func:`islice_extended` can now be used with real slices The implementations for :func:`filter_except` and :func:`map_except` were improved - Other changes: Automated tests now enforce code style (using black) The various signatures of :func:`islice_extended` and :func:`numeric_range` now appear in the docs The test configuration for mypy was updated Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-more-itertools_8.4.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-more-itertools_8.4.0.bb (limited to 'meta-python/recipes-devtools/python/python3-more-itertools_8.4.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-more-itertools_8.4.0.bb b/meta-python/recipes-devtools/python/python3-more-itertools_8.4.0.bb new file mode 100644 index 0000000000..f040b1a97d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-more-itertools_8.4.0.bb @@ -0,0 +1,24 @@ +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] = "0912041c05148ed079984cff69af2e99" +SRC_URI[sha256sum] = "68c70cc7167bdf5c7c9d8f6954a7837089c6a36bf565383919bb595efb8a17e5" + +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