From 7fce82cb83907c457cf0b6b17200b2a0fe29867c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 18 Sep 2025 10:10:33 +0200 Subject: python3-icu: upgrade to 2.15.3 Drop 0001-Remove-assert-checking-for-trivial-type.patch which was resolved in upstream by: https://gitlab.pyicu.org/main/pyicu/-/commit/82fa082b149db81c894e0d887c0fff67c3d2826f Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- ...1-Remove-assert-checking-for-trivial-type.patch | 26 ---------------------- .../recipes-devtools/python/python3-icu_2.15.2.bb | 21 ----------------- .../recipes-devtools/python/python3-icu_2.15.3.bb | 20 +++++++++++++++++ 3 files changed, 20 insertions(+), 47 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch delete mode 100644 meta-python/recipes-devtools/python/python3-icu_2.15.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-icu_2.15.3.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch b/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch deleted file mode 100644 index 4c75eb5f7b..0000000000 --- a/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3d58fb48bb1cef2177aab8e291167638993495f4 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 3 May 2025 21:27:34 -0700 -Subject: [PATCH] Remove assert checking for trivial type - -This fails with GCC-15, is_trivial is deprecated in C++26 - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - arg.h | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/arg.h b/arg.h -index a493d11..6cb232d 100644 ---- a/arg.h -+++ b/arg.h -@@ -853,7 +853,6 @@ public: - }; - - #define _IS_POD(T) \ -- static_assert(std::is_trivial::value); \ - static_assert(std::is_standard_layout::value) - - _IS_POD(AnyPythonObject); diff --git a/meta-python/recipes-devtools/python/python3-icu_2.15.2.bb b/meta-python/recipes-devtools/python/python3-icu_2.15.2.bb deleted file mode 100644 index 8331f9175a..0000000000 --- a/meta-python/recipes-devtools/python/python3-icu_2.15.2.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Python extension wrapping the ICU C++ API" -HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu" -BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" - -DEPENDS += "icu" - -PYPI_PACKAGE = "pyicu" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -SRC_URI[sha256sum] = "561e77eedff17cec6839f26211f7a5ce3c071b776e8a0ec9d1207f46cbce598f" - -SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch \ - file://0001-Remove-assert-checking-for-trivial-type.patch" - -inherit pkgconfig pypi python_setuptools_build_meta - -# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version -S = "${UNPACKDIR}/pyicu-${PV}" diff --git a/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb b/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb new file mode 100644 index 0000000000..1f5cf6d042 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu_2.15.3.bb @@ -0,0 +1,20 @@ +SUMMARY = "Python extension wrapping the ICU C++ API" +HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu" +BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" + +DEPENDS += "icu" + +PYPI_PACKAGE = "pyicu" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +SRC_URI[sha256sum] = "f32e78e1cb64d0aeb14f027e037a8944861d3114548818a6adf0081ef51aefc3" + +SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" + +inherit pkgconfig pypi python_setuptools_build_meta + +# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version +S = "${UNPACKDIR}/pyicu-${PV}" -- cgit v1.2.3-54-g00ecf