From acca71e161133588d6cc13d170e53108b8f4b2bf Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 26 Aug 2018 19:56:31 +0200 Subject: dev-python/qscintilla-python: fix out-of-source builds Closes: https://bugs.gentoo.org/664612 Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dev-python/qscintilla-python') diff --git a/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild index 1d3059473f9a..d9ffd92fb6cf 100644 --- a/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild +++ b/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild @@ -33,14 +33,16 @@ RDEPEND="${DEPEND}" S=${WORKDIR}/${MY_P}/Python +src_prepare() { + default + python_copy_sources +} + src_configure() { configuration() { - # Fix out-of-source build and installation of .sip files - ln -s "${S}"/sip || die - local myconf=( "${PYTHON}" - "${S}"/configure.py + configure.py --pyqt=PyQt5 --qmake="$(qt5_get_bindir)"/qmake --sip-incdir="$(python_get_includedir)" -- cgit v1.2.3-65-gdbad