diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-06 14:58:24 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-06 14:58:24 +0000 |
commit | dde707abe7a5ff83e19a9d681a2aeb6ca73f13a0 (patch) | |
tree | 6bb87ed8c82b8ee08d27d4d5b7680043eda09dd4 /dev-python | |
parent | Delete older ebuild. (diff) | |
download | historical-dde707abe7a5ff83e19a9d681a2aeb6ca73f13a0.tar.gz historical-dde707abe7a5ff83e19a9d681a2aeb6ca73f13a0.tar.bz2 historical-dde707abe7a5ff83e19a9d681a2aeb6ca73f13a0.zip |
Use $(PYTHON -f) instead of ${python}.
Package-Manager: portage-15324-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild | 6 | ||||
-rw-r--r-- | dev-python/traits/traits-3.2.0.ebuild | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild b/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild index 10f18d174444..23c70e4d4400 100644 --- a/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild +++ b/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild,v 1.6 2010/01/25 19:47:45 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.1_beta2.ebuild,v 1.7 2010/02/06 14:58:24 arfrever Exp $ EAPI="2" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" inherit distutils @@ -41,10 +42,9 @@ src_compile() { # upstream does not include docs in the tarball. #if use doc ; then - # einfo "Generating API docs as requested..." # mkdir "${S}/api" # cd "${S}/api" - # PYTHONPATH="${S}" "${python}" "${S}/documentation/pydoc/builddocs.py" || die "generating docs failed" + # PYTHONPATH="${S}" "$(PYTHON -f)" "${S}/documentation/pydoc/builddocs.py" || die "Generation of documentation failed" #fi } diff --git a/dev-python/traits/traits-3.2.0.ebuild b/dev-python/traits/traits-3.2.0.ebuild index c9177fb6ed37..3b3fc6acdb8f 100644 --- a/dev-python/traits/traits-3.2.0.ebuild +++ b/dev-python/traits/traits-3.2.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/traits/traits-3.2.0.ebuild,v 1.5 2009/11/08 19:57:11 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-3.2.0.ebuild,v 1.6 2010/02/06 14:53:27 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 \ - || die "doc building failed" + "$(PYTHON -f)" setup.py build_docs --formats=html || die "Generation of documentation failed" fi } |