From 50167aeb06fe98dd3d602cedf3984f69f99e9acb Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 30 Jul 2023 12:03:27 -0700 Subject: python3-more-itertools: upgrade 9.1.0 -> 10.0.0 https://more-itertools.readthedocs.io/en/stable/versions.html 10.0.0 * Potentially breaking changes - Python 3.7 support was dropped, since it went EOL on 2023-06-27 - batched() no longer issues a DeprecationWarning; it is now an alias for itertools.batched for Python 3.12+ - batched() and matmul() now yield tuples instead of lists * New functions - combination_with_replacement_index() (thanks to Schoyen) - nth_combination_with_replacement() (thanks to Schoyen) - polynomial_eval() (from the Python itertools docs) - polynomial_derivative() (from the Python itertools docs) - sum_of_squares() (from the Python itertools docs) * Changes to existing functions - seekable() now has relative_seek method (thanks to karlb) - chunked_even() was optimized (thanks to elliotwutingfeng) - numeric_range() was optimized (thanks to eltoder) - duplicates_justseen(), pairwise(), partial_product(), and partition() were updated and optimized (thanks to pochmann) - unique_in_window() had its implementation updated (thanks to elliotwutingfeng) - iterate() now breaks when its func argument raises StopIteration (thanks to jrebiffe) * Other changes - Some documentation and testing issues were fixed (thanks to lonnen and XuehaiPan) (From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f) Signed-off-by: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-more-itertools_10.0.0.bb | 29 ++++++++++++++++++++++ .../python/python3-more-itertools_9.1.0.bb | 29 ---------------------- 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb delete mode 100644 meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb b/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb new file mode 100644 index 0000000000..e07d4b7860 --- /dev/null +++ b/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "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] = "cd65437d7c4b615ab81c0640c0480bc29a550ea032891977681efd28344d51e1" + +inherit pypi python_flit_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asyncio \ + " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-statistics \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" 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 deleted file mode 100644 index 8c33b7161b..0000000000 --- a/meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "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}-statistics \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unittest-automake-output \ - " - -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