Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/qscintilla-python: ChangeLog qscintilla-python-2.4.ebuild
Date: Sun, 02 Aug 2009 05:32:27
Message-Id: E1MXTgH-0000Hp-M8@stork.gentoo.org
1 arfrever 09/08/02 05:32:25
2
3 Modified: ChangeLog qscintilla-python-2.4.ebuild
4 Log:
5 Set SUPPORT_PYTHON_ABIS.
6 (Portage version: 13874-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.36 dev-python/qscintilla-python/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?rev=1.36&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?rev=1.36&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/ChangeLog?r1=1.35&r2=1.36
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v
18 retrieving revision 1.35
19 retrieving revision 1.36
20 diff -u -r1.35 -r1.36
21 --- ChangeLog 2 Jul 2009 20:31:43 -0000 1.35
22 +++ ChangeLog 2 Aug 2009 05:32:25 -0000 1.36
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-python/qscintilla-python
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v 1.35 2009/07/02 20:31:43 maekke Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/ChangeLog,v 1.36 2009/08/02 05:32:25 arfrever Exp $
28 +
29 + 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
30 + qscintilla-python-2.4.ebuild:
31 + Set SUPPORT_PYTHON_ABIS.
32
33 02 Jul 2009; Markus Meier <maekke@g.o>
34 qscintilla-python-2.3.2-r2.ebuild:
35
36
37
38 1.4 dev-python/qscintilla-python/qscintilla-python-2.4.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild?r1=1.3&r2=1.4
43
44 Index: qscintilla-python-2.4.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- qscintilla-python-2.4.ebuild 26 Jun 2009 22:09:59 -0000 1.3
51 +++ qscintilla-python-2.4.ebuild 2 Aug 2009 05:32:25 -0000 1.4
52 @@ -1,8 +1,9 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild,v 1.3 2009/06/26 22:09:59 hwoarang Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.ebuild,v 1.4 2009/08/02 05:32:25 arfrever Exp $
57
58 EAPI="2"
59 +SUPPORT_PYTHON_ABIS="1"
60
61 inherit eutils multilib python toolchain-funcs
62
63 @@ -27,26 +28,36 @@
64
65 src_prepare() {
66 epatch "${FILESDIR}/${PN}-2.4-nostrip.patch"
67 +
68 + python_copy_sources
69 }
70
71 src_configure() {
72 - python_version
73 -
74 - local myconf="${python} configure.py
75 - --destdir=$(python_get_sitedir)/PyQt$(use qt4 && echo 4)
76 - -n /usr/include
77 - -o /usr/$(get_libdir)
78 - -p $(use qt4 && echo 4 || echo 3)
79 - $(use debug && echo '--debug')"
80 - echo ${myconf}
81 - ${myconf} || die "configuration failed"
82 + configure_package() {
83 + local myconf="$(get_python) configure.py
84 + --destdir=$(python_get_sitedir)/PyQt$(use qt4 && echo 4)
85 + -n /usr/include
86 + -o /usr/$(get_libdir)
87 + -p $(use qt4 && echo 4 || echo 3)
88 + $(use debug && echo '--debug')"
89 + echo ${myconf}
90 + ${myconf}
91 + }
92 + python_execute_function -s configure_package
93 }
94
95 src_compile() {
96 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "emake failed"
97 + build_package() {
98 + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)"
99 + }
100 + python_execute_function -s build_package
101 }
102
103 src_install() {
104 python_need_rebuild
105 - emake DESTDIR="${D}" install || die "emake install failed"
106 +
107 + install_package() {
108 + emake DESTDIR="${D}" install
109 + }
110 + python_execute_function -s install_package
111 }