diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-06 14:43:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-06 14:43:33 +0000 |
commit | 12c481b57843332dee4520f25121bf89fd77cec8 (patch) | |
tree | 343ae8f0d7ae4b98b29715ce9f47c6fe1fb8fa2a /dev-python/codetools | |
parent | Use $(PYTHON -f) instead of ${python}. (diff) | |
download | gentoo-2-12c481b57843332dee4520f25121bf89fd77cec8.tar.gz gentoo-2-12c481b57843332dee4520f25121bf89fd77cec8.tar.bz2 gentoo-2-12c481b57843332dee4520f25121bf89fd77cec8.zip |
Use $(PYTHON -f) instead of ${python}.
(Portage version: 15324-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/codetools')
-rw-r--r-- | dev-python/codetools/codetools-3.1.0.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/codetools/codetools-3.1.0.ebuild b/dev-python/codetools/codetools-3.1.0.ebuild index e8371809c9eb..651b7802ff88 100644 --- a/dev-python/codetools/codetools-3.1.0.ebuild +++ b/dev-python/codetools/codetools-3.1.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-3.1.0.ebuild,v 1.1 2009/09/07 06:21:15 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-3.1.0.ebuild,v 1.2 2010/02/06 14:43:33 arfrever Exp $ EAPI="2" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" inherit distutils @@ -38,8 +39,7 @@ src_prepare() { src_compile() { distutils_src_compile if use doc; then - ${python} setup.py build_docs --formats=html,pdf \ - || die "doc building failed" + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" fi } |