summaryrefslogtreecommitdiff
path: root/dev-python/sip
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-16 19:05:34 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-16 19:05:34 +0000
commit064800ac6d0c707d7783179a24442539bd5067c2 (patch)
tree426b98a1aed729c7fc7b8c7f37084aab1b459985 /dev-python/sip
parentfe923440723177a33e774e89ffe269b1017ee3ce (diff)
downloadbaldeagleos-repo-064800ac6d0c707d7783179a24442539bd5067c2.tar.gz
baldeagleos-repo-064800ac6d0c707d7783179a24442539bd5067c2.tar.xz
baldeagleos-repo-064800ac6d0c707d7783179a24442539bd5067c2.zip
Adding metadata
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/files/sip-6.13.1-pyqt5.patch13
-rw-r--r--dev-python/sip/sip-6.13.1-r1.ebuild (renamed from dev-python/sip/sip-6.13.1.ebuild)7
2 files changed, 18 insertions, 2 deletions
diff --git a/dev-python/sip/files/sip-6.13.1-pyqt5.patch b/dev-python/sip/files/sip-6.13.1-pyqt5.patch
new file mode 100644
index 000000000000..41f889198bb7
--- /dev/null
+++ b/dev-python/sip/files/sip-6.13.1-pyqt5.patch
@@ -0,0 +1,13 @@
+https://github.com/Python-SIP/sip/issues/95
+https://github.com/Python-SIP/sip/commit/b6a7ec2453899
+--- a/sipbuild/generator/resolver/resolver.py
++++ b/sipbuild/generator/resolver/resolver.py
+@@ -39,4 +39,8 @@
+ mod.py_name = mod.fq_py_name.name.split('.')[-1]
+
++ # There is nothing else that needs doing for composite modules.
++ if spec.is_composite:
++ return
++
+ # Set the default meta-type for the main module if it doesn't have one
+ # explicitly set.
diff --git a/dev-python/sip/sip-6.13.1.ebuild b/dev-python/sip/sip-6.13.1-r1.ebuild
index 6e31bb95dcbc..aafad93a3b71 100644
--- a/dev-python/sip/sip-6.13.1.ebuild
+++ b/dev-python/sip/sip-6.13.1-r1.ebuild
@@ -16,8 +16,7 @@ SRC_URI="
LICENSE="BSD-2 BSD"
SLOT="5"
-# https://github.com/Python-SIP/sip/issues/95
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
dev-python/packaging[${PYTHON_USEDEP}]
@@ -34,6 +33,10 @@ distutils_enable_sphinx docs \
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${P}-pyqt5.patch
+)
+
python_test() {
# some tests currently fails to find test/utils without this
# TODO: try again without, used to be unneeded but not been looked into