Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: ChangeLog PyQt4-4.4.3.ebuild
Date: Sat, 06 Sep 2008 14:21:00
Message-Id: E1Kbyen-0006YZ-9W@stork.gentoo.org
1 yngwin 08/09/06 14:20:57
2
3 Modified: ChangeLog
4 Added: PyQt4-4.4.3.ebuild
5 Log:
6 Version bump. Fixes bug 234559.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686)
8
9 Revision Changes Path
10 1.35 dev-python/PyQt4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 6 Aug 2008 19:28:24 -0000 1.34
23 +++ ChangeLog 6 Sep 2008 14:20:56 -0000 1.35
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/PyQt4
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.34 2008/08/06 19:28:24 neurogeek Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.35 2008/09/06 14:20:56 yngwin Exp $
29 +
30 +*PyQt4-4.4.3 (06 Sep 2008)
31 +
32 + 06 Sep 2008; Ben de Groot <yngwin@g.o> +PyQt4-4.4.3.ebuild:
33 + Version bump. Fixes bug 234559.
34
35 06 Aug 2008; Jesus Rivero <neurogeek@g.o> metadata.xml:
36 add GLEP 56 USE flag desc from use.local.desc
37
38
39
40 1.1 dev-python/PyQt4/PyQt4-4.4.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: PyQt4-4.4.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.3.ebuild,v 1.1 2008/09/06 14:20:56 yngwin Exp $
50
51 EAPI=1
52
53 inherit distutils qt4
54
55 MY_P=PyQt-x11-gpl-${PV}
56
57 DESCRIPTION="PyQt is a set of Python bindings for the Qt toolkit."
58 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
59 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/PyQt4/${MY_P}.tar.gz"
60 SLOT="0"
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="dbus debug doc examples opengl qt3support svg X"
64
65 RDEPEND=">=dev-python/sip-4.7.6
66 >=x11-libs/qt-core-4.4.0:4
67 dbus? ( >=x11-libs/qt-dbus-4.4.0:4 )
68 opengl? ( >=x11-libs/qt-opengl-4.4.0:4 )
69 svg? ( >=x11-libs/qt-svg-4.4.0:4 )
70 qt3support? ( >=x11-libs/qt-qt3support-4.4.0:4 )
71 X? ( >=x11-libs/qt-gui-4.4.0:4 )"
72
73 DEPEND="${RDEPEND}
74 sys-devel/libtool"
75
76 S=${WORKDIR}/${MY_P}
77
78 QT4_BUILT_WITH_USE_CHECK="zlib"
79
80 src_unpack() {
81 unpack ${A}
82 sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py
83 sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py
84 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
85 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
86 }
87
88 src_compile() {
89 distutils_python_version
90 addpredict ${QTDIR}/etc/settings
91
92 local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip"
93 use debug && myconf="${myconf} -u"
94
95 "${python}" configure.py ${myconf}
96 emake || die "emake failed"
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed"
101 dodoc ChangeLog NEWS README THANKS
102 use doc && dohtml -r doc/html/*
103 if use examples ; then
104 insinto /usr/share/doc/${PF}
105 doins -r examples
106 fi
107 }