1 |
commit: 05ce29a2b8bb9a1b9cb67e417448372da73e0603 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 10 17:47:02 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 10 17:47:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ce29a2 |
7 |
|
8 |
dev-python/pyqwt: fix build with >=dev-python/PyQt4-4.11.2-r1 |
9 |
|
10 |
Gentoo-bug: 536948 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild | 12 ++++++------ |
15 |
1 file changed, 6 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild b/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild |
18 |
index fc2b162..5990d2f 100644 |
19 |
--- a/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild |
20 |
+++ b/dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild |
21 |
@@ -6,7 +6,7 @@ EAPI=5 |
22 |
|
23 |
PYTHON_COMPAT=( python2_7 ) |
24 |
|
25 |
-inherit flag-o-matic python-r1 |
26 |
+inherit flag-o-matic python-r1 qmake-utils |
27 |
|
28 |
MY_P="PyQwt-${PV}" |
29 |
DESCRIPTION="Python bindings for the Qwt library" |
30 |
@@ -20,16 +20,16 @@ IUSE="debug doc examples svg" |
31 |
|
32 |
RDEPEND=" |
33 |
x11-libs/qwt:5[svg?] |
34 |
- dev-python/PyQt4[${PYTHON_USEDEP}] |
35 |
- dev-python/numpy[${PYTHON_USEDEP}]" |
36 |
-DEPEND="${DEPEND} |
37 |
- dev-python/sip[${PYTHON_USEDEP}] |
38 |
- ~dev-python/PyQt4-4.11.1[${PYTHON_USEDEP}] |
39 |
+ || ( >=dev-python/PyQt4-4.11.2-r1[${PYTHON_USEDEP},compat(-)] <dev-python/PyQt4-4.11.2-r1[${PYTHON_USEDEP}] ) |
40 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
41 |
+ dev-python/sip[${PYTHON_USEDEP}]" |
42 |
+DEPEND="${RDEPEND} |
43 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
44 |
|
45 |
S="${WORKDIR}/${MY_P}/configure" |
46 |
|
47 |
src_prepare() { |
48 |
+ sed -i -e "s|configuration.qt_dir, 'bin'|'$(qt4_get_bindir)'|" configure.py || die |
49 |
python_copy_sources |
50 |
append-flags -fPIC |
51 |
} |