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/sphinx: sphinx-0.6.3.ebuild
Date: Sun, 28 Feb 2010 10:51:18
Message-Id: E1Nlgk0-00059H-DU@stork.gentoo.org
1 arfrever 10/02/28 10:51:16
2
3 Modified: sphinx-0.6.3.ebuild
4 Log:
5 Use $(PYTHON -f) instead of ${python}.
6 (Portage version: 15495-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.13 dev-python/sphinx/sphinx-0.6.3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.6.3.ebuild?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.6.3.ebuild?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.6.3.ebuild?r1=1.12&r2=1.13
14
15 Index: sphinx-0.6.3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.3.ebuild,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- sphinx-0.6.3.ebuild 20 Dec 2009 12:27:24 -0000 1.12
22 +++ sphinx-0.6.3.ebuild 28 Feb 2010 10:51:15 -0000 1.13
23 @@ -1,6 +1,6 @@
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/sphinx/sphinx-0.6.3.ebuild,v 1.12 2009/12/20 12:27:24 grobian Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.3.ebuild,v 1.13 2010/02/28 10:51:15 arfrever Exp $
28
29 EAPI="2"
30 SUPPORT_PYTHON_ABIS="1"
31 @@ -25,20 +25,18 @@
32 DEPEND="${RDEPEND}
33 dev-python/setuptools
34 test? ( dev-python/nose )"
35 -
36 -RESTRICT_PYTHON_ABIS="3*"
37 +RESTRICT_PYTHON_ABIS="3.*"
38
39 S="${WORKDIR}/${MY_P}"
40
41 +DOCS="CHANGES"
42 +
43 src_compile() {
44 - DOCS="CHANGES"
45 distutils_src_compile
46
47 if use doc; then
48 cd doc
49 - PYTHONPATH="../" emake \
50 - SPHINXBUILD="${python} ../sphinx-build.py" \
51 - html || die "making docs failed"
52 + PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
53 fi
54 }
55
56 @@ -53,7 +51,7 @@
57 distutils_src_install
58
59 if use doc; then
60 - dohtml -A txt -r doc/_build/html/* || die
61 + dohtml -A txt -r doc/_build/html/* || die "dohtml failed"
62 fi
63 }