mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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 <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
716 B
BlitzBasic
30 lines
716 B
BlitzBasic
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"
|