diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-07-11 03:47:02 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-07-11 03:47:30 +1000 |
commit | 05ce29a2b8bb9a1b9cb67e417448372da73e0603 (patch) | |
tree | 11e1f486bda07051e151554c50a2092f5ee8815f /dev-python/pyqwt | |
parent | 2fc9e08c192087c5d64259673b8a87fdec7d7095 (diff) | |
download | gentoo-05ce29a2b8bb9a1b9cb67e417448372da73e0603.tar.gz gentoo-05ce29a2b8bb9a1b9cb67e417448372da73e0603.tar.xz |
dev-python/pyqwt: fix build with >=dev-python/PyQt4-4.11.2-r1
Gentoo-bug: 536948
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pyqwt')
-rw-r--r-- | dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild b/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild index fc2b162d34a..5990d2fd695 100644 --- a/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild +++ b/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit flag-o-matic python-r1 +inherit flag-o-matic python-r1 qmake-utils MY_P="PyQwt-${PV}" DESCRIPTION="Python bindings for the Qwt library" @@ -20,16 +20,16 @@ IUSE="debug doc examples svg" RDEPEND=" x11-libs/qwt:5[svg?] - dev-python/PyQt4[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}]" -DEPEND="${DEPEND} - dev-python/sip[${PYTHON_USEDEP}] - ~dev-python/PyQt4-4.11.1[${PYTHON_USEDEP}] + || ( >=dev-python/PyQt4-4.11.2-r1[${PYTHON_USEDEP},compat(-)] <dev-python/PyQt4-4.11.2-r1[${PYTHON_USEDEP}] ) + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}/configure" src_prepare() { + sed -i -e "s|configuration.qt_dir, 'bin'|'$(qt4_get_bindir)'|" configure.py || die python_copy_sources append-flags -fPIC } |