diff options
| author | Tim Orling <tim.orling@konsulko.com> | 2024-06-11 11:24:56 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-12 16:08:31 +0100 |
| commit | 08a58a7d73312231266974cd67d5924bfc93dccf (patch) | |
| tree | 886be9d86b5d621b6ad630f0957d80de017077c2 /meta/recipes-devtools/python/python3-more-itertools_10.3.0.bb | |
| parent | 423d065be188a390548574b3594c355279cdeaaa (diff) | |
| download | poky-08a58a7d73312231266974cd67d5924bfc93dccf.tar.gz | |
python3-more-itertools: upgrade 10.2.0 -> 10.3.0
https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0
https://more-itertools.readthedocs.io/en/stable/versions.html
10.3.0
* New functions
- powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
- join_mappings() (thanks to NeilGirdhar and rhettinger)
- doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
- unique() (thanks to rhettinger)
* Changes to existing functions
- collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
- totient() was optimized (thanks to rhettinger)
- roundrobin() was updated and improved (thanks to rhettinger)
- all_equal() now accepts a key parameter.
- The docs for value_chain() were improved (thanks to bjrtx)
- The type annotations for countable were improved (thanks to aidanholm)
* Other changes
- Unit tests were improved (thanks to haukex)
- Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)
(From OE-Core rev: 3a15dc1e34625523f4aa87b9483bb6304682d0ab)
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_10.3.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-more-itertools_10.3.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-more-itertools_10.3.0.bb b/meta/recipes-devtools/python/python3-more-itertools_10.3.0.bb new file mode 100644 index 0000000000..c2c9e89a64 --- /dev/null +++ b/meta/recipes-devtools/python/python3-more-itertools_10.3.0.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "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] = "e5d93ef411224fbcef366a6e8ddc4c5781bc6359d43412a65dd5964e46111463" | ||
| 7 | |||
| 8 | inherit pypi python_flit_core ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-asyncio \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | ||
| 19 | python3-statistics \ | ||
| 20 | python3-pytest \ | ||
| 21 | python3-unittest-automake-output \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/tests | ||
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | } | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native nativesdk" | ||
