mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
28 lines
647 B
BlitzBasic
28 lines
647 B
BlitzBasic
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] = "0a2fd25d343c08d7e7212071820e7e7ea2f41d8fb45d6bc8a00cd6ce3b7aab88"
|
|
|
|
inherit pypi setuptools3 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"
|