Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/qscintilla-python: qscintilla-python-2.3.2-r2.ebuild ChangeLog
Date: Thu, 18 Jun 2009 15:29:38
Message-Id: E1MHJYV-0001n3-PY@stork.gentoo.org
1 hwoarang 09/06/18 15:29:35
2
3 Modified: ChangeLog
4 Added: qscintilla-python-2.3.2-r2.ebuild
5 Log:
6 Apply gcc-4.4 patch. bug 273007
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.27 dev-python/qscintilla-python/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 17 Jun 2009 13:12:16 -0000 1.26
23 +++ ChangeLog 18 Jun 2009 15:29:35 -0000 1.27
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-python/qscintilla-python
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v 1.26 2009/06/17 13:12:16 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v 1.27 2009/06/18 15:29:35 hwoarang Exp $
29 +
30 +*qscintilla-python-2.3.2-r2 (18 Jun 2009)
31 +
32 + 18 Jun 2009; Markos Chandras <hwoarang@g.o>
33 + +files/qscintilla-gcc44.patch, +qscintilla-python-2.3.2-r2.ebuild:
34 + Apply gcc-4.4 patch. bug 273007 . Thanks to Evan Teran
35 + <eteran@××××××××.edu> for
36 + the patch
37
38 17 Jun 2009; Christian Faulhammer <fauli@g.o>
39 qscintilla-python-2.3.2-r1.ebuild:
40
41
42
43 1.1 dev-python/qscintilla-python/qscintilla-python-2.3.2-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.3.2-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.3.2-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: qscintilla-python-2.3.2-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.3.2-r2.ebuild,v 1.1 2009/06/18 15:29:35 hwoarang Exp $
53
54 EAPI="2"
55
56 inherit eutils python
57
58 MY_PN="qscintilla"
59 MY_P="${MY_PN/qs/QS}-gpl-${PV}"
60
61 DESCRIPTION="Python bindings for Qscintilla"
62 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
63 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/QScintilla2/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
68 IUSE="qt4"
69
70 DEPEND=">=dev-python/sip-4.4
71 =x11-libs/qscintilla-${PV}*[qt4=]
72 qt4? ( >=dev-python/PyQt4-4.4 )
73 !qt4? ( >=dev-python/PyQt-3.17.6 )"
74 RDEPEND="${DEPEND}"
75
76 S=${WORKDIR}/${MY_P}/Python
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${PN}-2.2-nostrip.patch
80 epatch "${FILESDIR}"/qscintilla-gcc44.patch
81 }
82
83 src_configure() {
84 local myconf="-o /usr/lib -n /usr/include"
85 if use qt4; then
86 myconf="${myconf} -p 4"
87 else
88 myconf="${myconf} -p 3"
89 fi
90
91 python_version
92 ${python} configure.py ${myconf} || die "configure.py failed"
93 }
94
95 src_compile() {
96 emake || die "emake failed"
97 }
98
99 src_install() {
100 python_need_rebuild
101 emake DESTDIR="${D}" install || die "emake install failed"
102 }