diff options
| author | wangmy <wangmy@fujitsu.com> | 2021-11-15 23:04:14 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-16 22:20:33 +0000 |
| commit | fad54baeab24502a724e8f4f420f563baa4fe07d (patch) | |
| tree | cb8f2fe8c082ae8e1a80fe8cfe666ef8c7329d9e /meta/recipes-devtools/python/python3-more-itertools_8.11.0.bb | |
| parent | aa9b00d9d247735b42112d0a89ca3d5504c11de6 (diff) | |
| download | poky-fad54baeab24502a724e8f4f420f563baa4fe07d.tar.gz | |
python3-more-itertools: upgrade 8.10.0 -> 8.11.0
8.11.0:
New functions
The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added
:func:`duplicates_everseen` and :func:`duplicates_justseen` (thanks to OrBin and DavidPratt512)
:func:`minmax` (thanks to Ricocotam, MSeifert04, and ruancomelli)
:func:`strictly_n` (thanks to hwalinga and NotWearingPants)
:func:`unique_in_window`
Changes to existing functions
:func:`groupby_transform` had its type stub improved (thanks to mjk4 and ruancomelli)
:func:`is_sorted` now accepts a strict parameter (thanks to Dutcho and ruancomelli)
:func:`zip_broadcast` was updated to fix a bug (thanks to kalekundert)
(From OE-Core rev: 7767810424a79c9cb60b4ea763bc1c10efe0b73b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-more-itertools_8.11.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-more-itertools_8.11.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.11.0.bb b/meta/recipes-devtools/python/python3-more-itertools_8.11.0.bb new file mode 100644 index 0000000000..a18bb4d667 --- /dev/null +++ b/meta/recipes-devtools/python/python3-more-itertools_8.11.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] = "0a2fd25d343c08d7e7212071820e7e7ea2f41d8fb45d6bc8a00cd6ce3b7aab88" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 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" | ||
