diff options
| author | Tim Orling <ticotimo@gmail.com> | 2023-03-01 10:10:39 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-01 21:29:31 +0000 |
| commit | e0b920483c99356fb85050a73c24df520f17d70c (patch) | |
| tree | cb8f189a54e645f241f3935af4d97b10e03cbab8 /meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb | |
| parent | 43a4d45f5145a5b174f5bfa5f2eb9988559d785f (diff) | |
| download | poky-e0b920483c99356fb85050a73c24df520f17d70c.tar.gz | |
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 <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-more-itertools_9.1.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
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 @@ | |||
| 1 | DESCRIPTION = "More routines for operating on iterables, beyond itertools" | ||
| 2 | HOMEPAGE = "https://github.com/erikrose/more-itertools" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d" | ||
| 7 | |||
| 8 | inherit pypi python_flit_core ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | ${PYTHON_PN}-asyncio \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | ||
| 19 | ${PYTHON_PN}-pytest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
