From: Davide Pesavento Date: Sun, 26 Aug 2018 17:56:31 +0000 (+0200) Subject: dev-python/qscintilla-python: fix out-of-source builds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acca71e161133588d6cc13d170e53108b8f4b2bf;p=gentoo.git 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 --- 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)"