mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
python3-more-itertools: upgrade 9.0.0 -> 9.1.0
Upstream docs currently have a typo showing the changes as 8.14.0
89d58c2ec0
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 <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
43a4d45f51
commit
e0b920483c
27
meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb
Normal file
27
meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user