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/lxml: lxml-2.2.7.ebuild
Date: Tue, 27 Jul 2010 18:42:16
Message-Id: 20100727184212.3B1252CF37@corvid.gentoo.org
1 arfrever 10/07/27 18:42:12
2
3 Modified: lxml-2.2.7.ebuild
4 Log:
5 Simplify src_compile().
6
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 dev-python/lxml/lxml-2.2.7.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild?r1=1.1&r2=1.2
15
16 Index: lxml-2.2.7.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- lxml-2.2.7.ebuild 24 Jul 2010 23:22:53 -0000 1.1
23 +++ lxml-2.2.7.ebuild 27 Jul 2010 18:42:12 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild,v 1.1 2010/07/24 23:22:53 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.2.7.ebuild,v 1.2 2010/07/27 18:42:12 arfrever Exp $
29
30 EAPI="3"
31 PYTHON_DEPEND="*::3.1"
32 @@ -36,9 +36,7 @@
33 }
34
35 src_compile() {
36 - local myconf
37 - use threads || myconf+=" --without-threading"
38 - distutils_src_compile ${myconf}
39 + distutils_src_compile $(use threads || echo --without-threading)
40 }
41
42 src_test() {