summaryrefslogtreecommitdiff
path: root/dev-python/pyicu
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyicu')
-rw-r--r--dev-python/pyicu/Manifest7
-rw-r--r--dev-python/pyicu/files/pyicu-2.15.2-gcc15.patch21
-rw-r--r--dev-python/pyicu/metadata.xml2
-rw-r--r--dev-python/pyicu/pyicu-2.15.2.ebuild (renamed from dev-python/pyicu/pyicu-2.14.ebuild)10
4 files changed, 33 insertions, 7 deletions
diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest
index d3932f941ee6..6772516e403d 100644
--- a/dev-python/pyicu/Manifest
+++ b/dev-python/pyicu/Manifest
@@ -1,3 +1,4 @@
-DIST pyicu-v2.14.tar.bz2 198031 BLAKE2B f0b4e4162df9854c68dd61aae9b57f97793283e57658327cc41d8f71661dbe45e1b2af1fceb214187d031906a769f70e16085764af30b28ec190097f0f5663d7 SHA512 671a02c69c2ad5b0d6dec5eceeda87500d6c362cd8066147b5027d0b37211025deb7e231a29f977c98f9ed22201b554988418627aeb7a10164ebcdeaacab2cef
-EBUILD pyicu-2.14.ebuild 768 BLAKE2B b9ac766c78a136d5c43c3afae9b2c908e805bbdbe8db84a85a9b99192df009b3410350dcdb9521d97511ecc9198fc5900803a02c06fa51d0095adf3ecf244c67 SHA512 f8371ca1c56798389eb41daf1302938cd7803be3d946f34b496353fee398c464f7d1fd37d33c0a9c9dc429c89f3a09f3bac6fd2542e05d149e4e48af340a9e61
-MISC metadata.xml 309 BLAKE2B 342314bed928ae7326e7b3826923f904840cb83c54e39b0b8c1870db23ddff3f5c7d4c35604e44699af83df1f65a6889760c012662b352f91daccea26067c7af SHA512 06241f5ca1f3c022997e1c7b0cf8f778715c4169a8f0c33c1900ec7c6679e0404fee3c2f7bdc757d0ecbb58a3b1ccfb96d85dd4597a6bef60c058a658ce38b1a
+AUX pyicu-2.15.2-gcc15.patch 658 BLAKE2B 1a7f2ea79d31dbfe485e3b2299562f94cc86c31bf292bb511012688b736376203e13d556c3314a21434f3a048ee3745d637ba6a7c2067e348e9e1e81ca8498c0 SHA512 dc9d4a179a35bc596df3233a918689271a99ad58ade44f965421ed88931e62af565f0f17635e73b59b267b88be3f830d1b0553a949031fa930768c04b1425cb2
+DIST pyicu-v2.15.2.tar.bz2 199619 BLAKE2B ae08a808d74a574a61eae2f3b2701a2fb379c790115ca6018a1511b1fc4e84864a2c9f426e3566e924285047ccf432a8f09b81529a3e0c9ef8284e8d72b75fcd SHA512 5effb58c9da01d5cc37289991dc82cf1d6aac07b381f8b7355171a3a4cce8528c550ae27ba58342b28ff8ad15ba6266fdaccf2e3c38347c9073c2caeebf04c81
+EBUILD pyicu-2.15.2.ebuild 813 BLAKE2B e630f87b7a96b6f565ed81e1c0fbb740ddefb816261a5f0b73e35890d066e2edf56f2426ad98a42bd10d6b2307ac9a3f9749081f103ddd7a56b4b9f7992c55ad SHA512 1e2bd8652837be82945029b8593e5035d64241ec9992ed99b6a006cf4c5e7cba0bfe4ec94c04458816d660e48892074a1b1a249eb50da4d7f53cbe0d27072348
+MISC metadata.xml 309 BLAKE2B af654d52e3741990beb92a7c3dbfcc784d5c3619a1e4271ff6552ba8ba35f2a20a384ab02f631fc257daf8d5bd12450dfafdf99fdc8fc9fc6b8f76790dd9c6a5 SHA512 b8407332c886ec8434dbab926f6a5f73d6a1967bb694a443e3937b7af4700c6134c46aa24d501bf3f5e1d3f47d3b9bd6a807f8fdc96b1a6598fbe7b4d743fc40
diff --git a/dev-python/pyicu/files/pyicu-2.15.2-gcc15.patch b/dev-python/pyicu/files/pyicu-2.15.2-gcc15.patch
new file mode 100644
index 000000000000..aa95cd0b5551
--- /dev/null
+++ b/dev-python/pyicu/files/pyicu-2.15.2-gcc15.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/954147
+https://gitlab.pyicu.org/main/pyicu/-/commit/82fa082b149db81c894e0d887c0fff67c3d2826f
+
+From 82fa082b149db81c894e0d887c0fff67c3d2826f Mon Sep 17 00:00:00 2001
+From: Andi Vajda <vajda@pyicu.org>
+Date: Mon, 5 May 2025 18:55:09 -0700
+Subject: [PATCH] switch to is_trivially_copyable for sake of g++ 15+
+
+--- a/arg.h
++++ b/arg.h
+@@ -853,7 +853,7 @@ public:
+ };
+
+ #define _IS_POD(T) \
+- static_assert(std::is_trivial<T>::value); \
++ static_assert(std::is_trivially_copyable<T>::value); \
+ static_assert(std::is_standard_layout<T>::value)
+
+ _IS_POD(AnyPythonObject);
+--
+GitLab
diff --git a/dev-python/pyicu/metadata.xml b/dev-python/pyicu/metadata.xml
index 1f32f231b5dd..ea7b23b2a9b3 100644
--- a/dev-python/pyicu/metadata.xml
+++ b/dev-python/pyicu/metadata.xml
@@ -6,6 +6,6 @@
<name>Python</name>
</maintainer>
<upstream>
- <remote-id type="pypi">PyICU</remote-id>
+ <remote-id type="pypi">pyicu</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pyicu/pyicu-2.14.ebuild b/dev-python/pyicu/pyicu-2.15.2.ebuild
index 5a29047db1f0..266d8b587c97 100644
--- a/dev-python/pyicu/pyicu-2.14.ebuild
+++ b/dev-python/pyicu/pyicu-2.15.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
@@ -13,7 +13,7 @@ MY_P=${P/-/-v}
DESCRIPTION="Python bindings for dev-libs/icu"
HOMEPAGE="
https://gitlab.pyicu.org/main/pyicu/
- https://pypi.org/project/PyICU/
+ https://pypi.org/project/pyicu/
"
SRC_URI="
https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2
@@ -38,6 +38,10 @@ BDEPEND="
DOCS=( CHANGES CREDITS README.md )
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc15.patch
+)
+
distutils_enable_tests pytest
python_test() {