mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-python/sip: backport build fix for pyqt5
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
f15daadb9a
commit
45cb239ff6
13
dev-python/sip/files/sip-6.13.1-pyqt5.patch
Normal file
13
dev-python/sip/files/sip-6.13.1-pyqt5.patch
Normal file
@ -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.
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user