1 |
neurogeek 08/07/31 06:44:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: PyQt4-4.4-r1.ebuild |
5 |
Removed: PyQt4-4.4.ebuild |
6 |
Log: |
7 |
Fixes bugs #233369 and #222435, thanks to Remy Bosch for the patch. Removed old version |
8 |
(Portage version: 2.2_rc3/cvs/Linux 2.6.18-gentoo-r3 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 dev-python/PyQt4/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 25 May 2008 13:05:29 -0000 1.32 |
24 |
+++ ChangeLog 31 Jul 2008 06:44:05 -0000 1.33 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/PyQt4 |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.32 2008/05/25 13:05:29 ingmar Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.33 2008/07/31 06:44:05 neurogeek Exp $ |
30 |
+ |
31 |
+*PyQt4-4.4-r1 (31 Jul 2008) |
32 |
+ |
33 |
+ 31 Jul 2008; Jesus Rivero <neurogeek@g.o> |
34 |
+ +files/PyQt4-4.4_compile.patch, -PyQt4-4.4.ebuild, +PyQt4-4.4-r1.ebuild: |
35 |
+ Fixes bugs #233369 and #222435, thanks to Remy Bosch for the patch. |
36 |
+ Removed old version |
37 |
|
38 |
25 May 2008; Ingmar Vanhassel <ingmar@g.o> PyQt4-4.4.2.ebuild: |
39 |
dev-python/PyQt4-4.4.2 needs Qt-4.4.0, fix dependencies, mask package. |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/PyQt4/PyQt4-4.4-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: PyQt4-4.4-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.4-r1.ebuild,v 1.1 2008/07/31 06:44:05 neurogeek Exp $ |
53 |
|
54 |
inherit distutils qt4 |
55 |
|
56 |
MY_P=PyQt-x11-gpl-${PV} |
57 |
|
58 |
DESCRIPTION="PyQt is 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 ~x86-fbsd" |
64 |
IUSE="debug doc examples" |
65 |
|
66 |
RDEPEND="=x11-libs/qt-4* |
67 |
>=dev-python/sip-4.7.5" |
68 |
DEPEND="${RDEPEND} |
69 |
sys-devel/libtool" |
70 |
|
71 |
S=${WORKDIR}/${MY_P} |
72 |
|
73 |
QT4_BUILT_WITH_USE_CHECK="zlib" |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A} |
77 |
epatch "${FILESDIR}/${P}_compile.patch" |
78 |
sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py |
79 |
sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py |
80 |
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 |
81 |
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 |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
distutils_python_version |
86 |
addpredict ${QTDIR}/etc/settings |
87 |
|
88 |
local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip" |
89 |
use debug && myconf="${myconf} -u" |
90 |
|
91 |
"${python}" configure.py ${myconf} |
92 |
|
93 |
sed -i -e 'i #!/bin/bash\n' "${S}"/pyuic/pyuic4 || die "sed failed" |
94 |
emake || die "emake failed" |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed" |
99 |
dodoc ChangeLog NEWS README THANKS |
100 |
use doc && dohtml -r doc/html/* |
101 |
if use examples ; then |
102 |
insinto /usr/share/doc/${PF} |
103 |
doins -r examples |
104 |
fi |
105 |
} |