From e0b920483c99356fb85050a73c24df520f17d70c Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Wed, 1 Mar 2023 10:10:39 -0800 Subject: python3-more-itertools: upgrade 9.0.0 -> 9.1.0 Upstream docs currently have a typo showing the changes as 8.14.0 https://github.com/more-itertools/more-itertools/commit/89d58c2ec089f3df54ed6cc9279949b8e2bbcd29 9.1.0 ----- * New functions - iter_index() (from the Python itertools docs) - transpose() (from the Python itertools docs) - matmul() (from the Python itertools docs) - factor() (from the Python itertools docs) - gray_product() (thanks to haukex) * Changes to existing functions - sieve() was updated to match the Python itertools docs - maxsplit() was updated to fix a bug (thanks to abingham) - sliced() had its type hint updated (thanks to ad-chaos) * Other changes - The batched function is marked as deprecated and will be removed in a future major release. For Python 3.12 and above, use itertools.batched instead. (thanks to neutrinoceros) - The type hints now used postponed evaluation of annotations from PEP 563 (thanks to Isira-Seneviratne) - Some documentation issues were fixed (thanks to Voskov and jdkandersson) (From OE-Core rev: 436b92846406273fb3651f4f026e9fd3871ee71c) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- .../python/python3-more-itertools_9.1.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb (limited to 'meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb') diff --git a/meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb b/meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb new file mode 100644 index 0000000000..7602350795 --- /dev/null +++ b/meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb @@ -0,0 +1,27 @@ +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[sha256sum] = "cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d" + +inherit pypi python_flit_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asyncio \ + " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf