mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 03:57:15 +00:00
python3-portion: Upgrade 2.6.2 -> 2.6.3
Upgrade to release 2.6.3: - IntervalDict.update and __init__ behave like dict.update when the provided intervals overlap (the last provided value wins). - IntervalDict.pop accepts None as default value. - Fix from_string accepting prefix (re.match) instead of full value (re.fullmatch) for infinities. - Documentation of iterate explicitly states that base should be side-effect-free. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
0c3a05ea79
commit
c3f98a383d
1 file changed
+1
-1
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION = "Python data structure and operations for intervals"
|
||||
HOMEPAGE = "https://github.com/AlexandreDecan/portion"
|
||||
SECTION = "devel/python"
|
||||
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
|
||||
|
||||
inherit pypi python_hatchling ptest-python-pytest
|
||||
|
||||
SRC_URI[sha256sum] = "4dd6a68bb1cd7a553d9b1f556818708b973c4a8855244e0af79e2586bba5794e"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-sortedcontainers \
|
||||
"
|
||||
|
||||
# python3-misc for timeit, python3-statistics for statistics (both used by
|
||||
# pytest-benchmark's storage/stats machinery)
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-misc \
|
||||
python3-pytest-benchmark \
|
||||
python3-statistics \
|
||||
"
|
||||
|
||||
do_install_ptest:append () {
|
||||
# test_doc.py tests README.md.
|
||||
install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in new issue
Block a user