From f57bf6cd975e582ced9f56709e4b14bb85064d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Nizio?= Date: Sat, 22 Nov 2014 13:39:01 +0100 Subject: [PATCH] [dev-python/PyQt4-pyqtconfig] fix some paths By the way, in aaa8feb151f0b5cd415ab4bdf052b11f9d71fb44 I listed conditions when it can be removed. There is one more: if PyQt4 in Gentoo uses again the old build system (probably not going to happen). --- dev-python/PyQt4-pyqtconfig/PyQt4-pyqtconfig-4.11.3.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/PyQt4-pyqtconfig/PyQt4-pyqtconfig-4.11.3.ebuild b/dev-python/PyQt4-pyqtconfig/PyQt4-pyqtconfig-4.11.3.ebuild index 1b7486ce9..015defd4e 100644 --- a/dev-python/PyQt4-pyqtconfig/PyQt4-pyqtconfig-4.11.3.ebuild +++ b/dev-python/PyQt4-pyqtconfig/PyQt4-pyqtconfig-4.11.3.ebuild @@ -20,6 +20,8 @@ else SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" fi +ORIG_PN=${PN%-pyqtconfig} + LICENSE="|| ( GPL-2 GPL-3 )" SLOT="0" KEYWORDS="" @@ -75,7 +77,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { # Support qreal on arm architecture (bug 322349). - use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch" + use arm && epatch "${FILESDIR}/${ORIG_PN}-4.7.3-qreal_float_support.patch" # Allow building against KDE's phonon (bug 433944 and others). sed -i \ @@ -185,7 +187,7 @@ src_compile() { src_install() { installation() { python_export PYTHON_SITEDIR - insinto "${PYTHON_SITEDIR}/${PN}" + insinto "${PYTHON_SITEDIR}/${ORIG_PN}" doins pyqtconfig.py } python_foreach_impl run_in_build_dir installation