1 |
hwoarang 09/04/07 18:30:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: PyQt4-4.4.4-r3.ebuild |
5 |
Log: |
6 |
Fixed bug #204877 ( thanks to Davide Pesavento <davidepesa@×××××.com> ) |
7 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.53 dev-python/PyQt4/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.53&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.53&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.52&r2=1.53 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v |
19 |
retrieving revision 1.52 |
20 |
retrieving revision 1.53 |
21 |
diff -u -r1.52 -r1.53 |
22 |
--- ChangeLog 27 Mar 2009 23:03:56 -0000 1.52 |
23 |
+++ ChangeLog 7 Apr 2009 18:30:59 -0000 1.53 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/PyQt4 |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.52 2009/03/27 23:03:56 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.53 2009/04/07 18:30:59 hwoarang Exp $ |
29 |
+ |
30 |
+*PyQt4-4.4.4-r3 (07 Apr 2009) |
31 |
+ |
32 |
+ 07 Apr 2009; Markos Chandras <hwoarang@g.o> |
33 |
+ +files/configure.py.patch, +PyQt4-4.4.4-r3.ebuild: |
34 |
+ Fixed bug #204877 ( thanks to Davide Pesavento <davidepesa@×××××.com> ) |
35 |
|
36 |
27 Mar 2009; Jeroen Roovers <jer@g.o> PyQt4-4.4.4-r2.ebuild: |
37 |
Stable for HPPA (bug #261652). |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/PyQt4/PyQt4-4.4.4-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.4-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.4-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: PyQt4-4.4.4-r3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.4-r3.ebuild,v 1.1 2009/04/07 18:30:59 hwoarang Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit distutils qt4 |
55 |
|
56 |
MY_P=PyQt-x11-gpl-${PV} |
57 |
|
58 |
DESCRIPTION="A set of Python bindings for the Qt toolkit" |
59 |
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/" |
60 |
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/PyQt4/${MY_P}.tar.gz" |
61 |
SLOT="0" |
62 |
LICENSE="GPL-2" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="dbus debug doc examples opengl qt3support svg webkit X" |
65 |
|
66 |
RDEPEND=">=dev-python/sip-4.7.8 |
67 |
>=x11-libs/qt-core-4.4.2:4 |
68 |
dbus? ( dev-python/dbus-python |
69 |
>=x11-libs/qt-dbus-4.4.2:4 ) |
70 |
opengl? ( >=x11-libs/qt-opengl-4.4.2:4 ) |
71 |
svg? ( >=x11-libs/qt-svg-4.4.2:4 ) |
72 |
qt3support? ( >=x11-libs/qt-qt3support-4.4.2:4 ) |
73 |
webkit? ( >=x11-libs/qt-webkit-4.4.2:4 ) |
74 |
X? ( >=x11-libs/qt-gui-4.4.2:4 )" |
75 |
DEPEND="${RDEPEND} |
76 |
sys-devel/libtool" |
77 |
|
78 |
S=${WORKDIR}/${MY_P} |
79 |
|
80 |
PATCHES=( |
81 |
"${FILESDIR}/configure.py.patch" |
82 |
) |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py |
87 |
sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py |
88 |
sed -i -e "s:\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include\":\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include/qt4\":g" "${S}"/configure.py |
89 |
sed -i -e "s:\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib\":\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib/qt4\":g" "${S}"/configure.py |
90 |
} |
91 |
|
92 |
src_configure() { |
93 |
distutils_python_version |
94 |
addpredict ${QTDIR}/etc/settings |
95 |
|
96 |
local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip" |
97 |
use debug && myconf="${myconf} -u" |
98 |
|
99 |
"${python}" configure.py ${myconf} |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed" |
104 |
dodoc ChangeLog NEWS README THANKS |
105 |
use doc && dohtml -r doc/html/* |
106 |
if use examples ; then |
107 |
insinto /usr/share/doc/${PF} |
108 |
doins -r examples |
109 |
fi |
110 |
} |