diff mbox series

[meta-python,16/22] python3-intervals: Remove in favor of python3-portion

Message ID 20261130084821.1501209-17-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, new recipes and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:48 a.m. UTC
The intervals project was renamed to portion, which meta-python already
provides as python3-portion. Remove python3-intervals and list
python3-portion and its ptest in packagegroup-meta-python instead.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../ptest-packagelists-meta-python.inc        |  1 -
 .../packagegroups/packagegroup-meta-python.bb |  4 ++--
 .../python/python3-intervals_1.10.0.bb        | 20 -------------------
 3 files changed, 2 insertions(+), 23 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 5e999e6f1a..4ff27c74ac 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -48,7 +48,6 @@  PTESTS_FAST_META_PYTHON = "\
     python3-hyperframe \
     python3-inflection \
     python3-inotify \
-    python3-intervals \
     python3-ipy \
     python3-iso3166 \
     python3-jdcal \
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 7b8b4fe709..5c211766bf 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -192,7 +192,6 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-inflection \
     python3-inotify \
     python3-intelhex \
-    python3-intervals \
     python3-ipaddress \
     python3-ipy \
     python3-ipython \
@@ -289,6 +288,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-pocketsphinx \
     python3-polyline \
     python3-portalocker \
+    python3-portion \
     python3-posix-ipc \
     python3-prctl \
     python3-precise-runner \
@@ -495,7 +495,6 @@  RDEPENDS:packagegroup-meta-python3-ptest = "\
     python3-hexbytes \
     python3-html2text-ptest \
     python3-inflection-ptest \
-    python3-intervals-ptest \
     python3-ipy-ptest \
     python3-iso3166-ptest \
     python3-jdcal-ptest \
@@ -511,6 +510,7 @@  RDEPENDS:packagegroup-meta-python3-ptest = "\
     python3-parse-type-ptest \
     python3-pint-ptest \
     python3-polyline-ptest \
+    python3-portion-ptest \
     python3-precise-runner-ptest \
     python3-prettytable-ptest \
     python3-ptyprocess-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
deleted file mode 100644
index 9ac3a0d39f..0000000000
--- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@ 
-DESCRIPTION = "Interval arithmetic for Python"
-HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
-SECTION = "devel/python"
-
-LICENSE = "LGPL-3.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab"
-
-PYPI_PACKAGE := "python-intervals"
-PYPI_PACKAGE_SDIST := "python-intervals"
-
-inherit pypi setuptools3 ptest-python-pytest
-
-do_install_ptest:append () {
-	cp -f ${S}/test_intervals.py ${D}${PTEST_PATH}
-	cp -f ${S}/README.md ${D}${PTEST_PATH}
-}
-
-SRC_URI[sha256sum] = "0d26746eaed0be78a61dd289bb7a10721b08770bb3e807614835f490d514f2a5"
-
-BBCLASSEXTEND = "native"