Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: ChangeLog PyQt4-4.3.1.ebuild
Date: Tue, 02 Oct 2007 12:36:04
Message-Id: E1Icgq6-000810-DK@stork.gentoo.org
1 caleb 07/10/02 12:27:02
2
3 Modified: ChangeLog
4 Added: PyQt4-4.3.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.16 dev-python/PyQt4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 22 Aug 2007 23:58:05 -0000 1.15
23 +++ ChangeLog 2 Oct 2007 12:27:01 -0000 1.16
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/PyQt4
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.15 2007/08/22 23:58:05 rbu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.16 2007/10/02 12:27:01 caleb Exp $
29 +
30 +*PyQt4-4.3.1 (02 Oct 2007)
31 +
32 + 02 Oct 2007; Caleb Tennis <caleb@g.o> +PyQt4-4.3.1.ebuild:
33 + version bump
34
35 22 Aug 2007; Robert Buchholz <rbu@g.o> PyQt4-4.3.ebuild:
36 Added ~ppc (bug #188998)
37
38
39
40 1.1 dev-python/PyQt4/PyQt4-4.3.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: PyQt4-4.3.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.3.1.ebuild,v 1.1 2007/10/02 12:27:01 caleb Exp $
50
51 inherit distutils qt4
52
53 MY_P=PyQt-x11-gpl-${PV}
54
55 DESCRIPTION="PyQt is a set of Python bindings for the Qt toolkit."
56 HOMEPAGE="http://www.riverbankcomputing.co.uk/pyqt/"
57 SRC_URI="http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/${MY_P}.tar.gz"
58 SLOT="0"
59 LICENSE="GPL-2"
60 KEYWORDS="~amd64 ~ppc ~x86"
61 IUSE="debug doc examples"
62
63 RDEPEND="=x11-libs/qt-4*
64 >=dev-python/sip-4.7.1"
65 DEPEND="${RDEPEND}
66 sys-devel/libtool"
67
68 S=${WORKDIR}/${MY_P}
69
70 QT4_BUILT_WITH_USE_CHECK="zlib"
71
72 src_unpack() {
73 unpack ${A}
74 sed -i -e "s:^[ \t]*check_license():# check_license():" ${S}/configure.py
75 sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" ${S}/configure.py
76 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
77 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
78 }
79
80 src_compile() {
81 distutils_python_version
82 addpredict ${QTDIR}/etc/settings
83
84 local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip"
85 use debug && myconf="${myconf} -u"
86
87 "${python}" configure.py ${myconf}
88 emake || die "emake failed"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed"
93 dodoc ChangeLog NEWS README THANKS
94 use doc && dohtml -r doc/html/*
95 if use examples ; then
96 insinto /usr/share/doc/${PF}
97 doins -r examples
98 fi
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list