From 813b3c05b0949394ef6e61c380d2bf2de468789a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Jun 2026 18:13:14 +0300 Subject: python3-portion: Upgrade 2.6.1 -> 2.6.2 Upgrade to release 2.6.2: - Drop official support for Python 3.9 (EoL). - Improve performance of Interval creation and union for large disjunctions of overlapping intervals - Improve performance of Interval.__contains__ for values - Improve performance of Interval.overlaps, __and__, and __contains__ for large, complex intervals when applied to small subintervals - Improve performance of IntervalDict.update and IntervalDict constructor for hashable values Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-portion_2.6.1.bb | 21 ------------------ .../python/python3-portion_2.6.2.bb | 25 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-portion_2.6.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-portion_2.6.2.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb deleted file mode 100644 index 942d7d5d4d..0000000000 --- a/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -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] = "44b1f7d57e052993c4157e519dc447e57b87a4e5e00a77c1c50e7044104e53c6" - -RDEPENDS:${PN} += "\ - python3-sortedcontainers \ -" - -do_install_ptest:append () { - # test_doc.py tests README.md. - install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md -} - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb new file mode 100644 index 0000000000..f72784e23b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb @@ -0,0 +1,25 @@ +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] = "fbf334143dbac5d07ffa411784e2b29e4e1f21203385019a93e2c1a8f443da16" + +RDEPENDS:${PN} += "\ + python3-sortedcontainers \ +" + +RDEPENDS:${PN}-ptest += "\ + python3-pytest-benchmark \ +" + +do_install_ptest:append () { + # test_doc.py tests README.md. + install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf