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.2.ebuild
Date: Sat, 24 May 2008 22:10:21
Message-Id: E1K01wT-0005O4-2M@stork.gentoo.org
1 yngwin 08/05/24 22:10:21
2
3 Modified: ChangeLog
4 Added: PyQt4-4.4.2.ebuild
5 Log:
6 Version bump. Added split qt4 deps from bug 222709.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.31 dev-python/PyQt4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 14 May 2008 20:16:36 -0000 1.30
23 +++ ChangeLog 24 May 2008 22:10:20 -0000 1.31
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.30 2008/05/14 20:16:36 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.31 2008/05/24 22:10:20 yngwin Exp $
29 +
30 +*PyQt4-4.4.2 (24 May 2008)
31 +
32 + 24 May 2008; Ben de Groot <yngwin@g.o> +PyQt4-4.4.2.ebuild:
33 + Version bump. Updated homepage URL. Added split qt deps from bug 222709.
34
35 *PyQt4-4.4 (14 May 2008)
36
37
38
39
40 1.1 dev-python/PyQt4/PyQt4-4.4.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: PyQt4-4.4.2.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.2.ebuild,v 1.1 2008/05/24 22:10:20 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
67 dbus? ( x11-libs/qt-dbus:4 )
68 opengl? ( x11-libs/qt-opengl:4 )
69 svg? ( x11-libs/qt-svg:4 )
70 qt3support? ( x11-libs/qt-qt3support:4 )
71 X? ( x11-libs/qt-gui:4 ) )
72 =x11-libs/qt-4* )"
73
74 DEPEND="${RDEPEND}
75 sys-devel/libtool"
76
77 S=${WORKDIR}/${MY_P}
78
79 QT4_BUILT_WITH_USE_CHECK="zlib"
80
81 src_unpack() {
82 unpack ${A}
83 sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py
84 sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py
85 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
86 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
87 }
88
89 src_compile() {
90 distutils_python_version
91 addpredict ${QTDIR}/etc/settings
92
93 local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip"
94 use debug && myconf="${myconf} -u"
95
96 "${python}" configure.py ${myconf}
97 emake || die "emake failed"
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed"
102 dodoc ChangeLog NEWS README THANKS
103 use doc && dohtml -r doc/html/*
104 if use examples ; then
105 insinto /usr/share/doc/${PF}
106 doins -r examples
107 fi
108 }
109
110
111
112 --
113 gentoo-commits@l.g.o mailing list