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/sip: sip-4.8.2.ebuild ChangeLog
Date: Sat, 01 Aug 2009 23:31:50
Message-Id: E1MXO3B-0005hF-DW@stork.gentoo.org
1 arfrever 09/08/01 23:31:41
2
3 Modified: sip-4.8.2.ebuild ChangeLog
4 Log:
5 Set SUPPORT_PYTHON_ABIS.
6 (Portage version: 13874-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/sip/sip-4.8.2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild?r1=1.1&r2=1.2
14
15 Index: sip-4.8.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- sip-4.8.2.ebuild 31 Jul 2009 07:06:31 -0000 1.1
22 +++ sip-4.8.2.ebuild 1 Aug 2009 23:31:41 -0000 1.2
23 @@ -1,9 +1,10 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild,v 1.1 2009/07/31 07:06:31 wired Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.8.2.ebuild,v 1.2 2009/08/01 23:31:41 arfrever Exp $
28
29 EAPI="2"
30 NEED_PYTHON="2.3"
31 +SUPPORT_PYTHON_ABIS="1"
32
33 inherit python toolchain-funcs
34
35 @@ -23,26 +24,44 @@
36 DEPEND=""
37 RDEPEND=""
38
39 +src_prepare() {
40 + python_copy_sources
41 +}
42 +
43 src_configure() {
44 - python_version
45 + configure_package() {
46 + local myconf="$(get_python) configure.py
47 + --bindir=/usr/bin
48 + --destdir=$(python_get_sitedir)
49 + --incdir=$(python_get_includedir)
50 + --sipdir=/usr/share/sip
51 + $(use debug && echo '--debug')
52 + CC=$(tc-getCC) CXX=$(tc-getCXX)
53 + LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX)
54 + CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}'
55 + LFLAGS='${LDFLAGS}'
56 + STRIP=true"
57 + echo ${myconf}
58 + eval ${myconf}
59 + }
60 + python_execute_function -s configure_package
61 +}
62
63 - local myconf="${python} configure.py
64 - --bindir=/usr/bin
65 - --destdir=$(python_get_sitedir)
66 - --incdir=/usr/include/python${PYVER}
67 - --sipdir=/usr/share/sip
68 - $(use debug && echo '--debug')
69 - CC=$(tc-getCC) CXX=$(tc-getCXX)
70 - LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX)
71 - CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}'
72 - LFLAGS='${LDFLAGS}'
73 - STRIP=true"
74 - echo ${myconf}
75 - eval ${myconf} || die "configuration failed"
76 +src_compile() {
77 + build_package() {
78 + emake
79 + }
80 + python_execute_function -s build_package
81 }
82
83 src_install() {
84 - emake DESTDIR="${D}" install || die "emake install failed"
85 + python_need_rebuild
86 +
87 + install_package() {
88 + emake DESTDIR="${D}" install
89 + }
90 + python_execute_function -s install_package
91 +
92 dodoc ChangeLog NEWS || die
93
94 if use doc; then
95 @@ -51,8 +70,7 @@
96 }
97
98 pkg_postinst() {
99 - python_need_rebuild
100 - python_mod_optimize "$(python_get_sitedir)"/sip*.py
101 + python_mod_optimize sipconfig.py sipdistutils.py
102 }
103
104 pkg_postrm() {
105
106
107
108 1.137 dev-python/sip/ChangeLog
109
110 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.137&view=markup
111 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.137&content-type=text/plain
112 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.136&r2=1.137
113
114 Index: ChangeLog
115 ===================================================================
116 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
117 retrieving revision 1.136
118 retrieving revision 1.137
119 diff -u -r1.136 -r1.137
120 --- ChangeLog 31 Jul 2009 11:13:02 -0000 1.136
121 +++ ChangeLog 1 Aug 2009 23:31:41 -0000 1.137
122 @@ -1,6 +1,10 @@
123 # ChangeLog for dev-python/sip
124 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
125 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.136 2009/07/31 11:13:02 hwoarang Exp $
126 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.137 2009/08/01 23:31:41 arfrever Exp $
127 +
128 + 01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
129 + sip-4.8.2.ebuild:
130 + Set SUPPORT_PYTHON_ABIS.
131
132 31 Jul 2009; Markos Chandras <hwoarang@g.o> -sip-4.2.1.ebuild,
133 -sip-4.2.1-r1.ebuild, -sip-4.6.ebuild, -sip-4.7.1.ebuild,