diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-15 17:15:20 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-15 17:15:20 +0000 |
commit | 4fe5c869f0546b520f1d6f522994738a666073ed (patch) | |
tree | 88c0e2c49b7c132c2b0acc635d49b66f3cd682da /dev-python | |
parent | Convert to ruby-fakegem. (diff) | |
download | historical-4fe5c869f0546b520f1d6f522994738a666073ed.tar.gz historical-4fe5c869f0546b520f1d6f522994738a666073ed.tar.bz2 historical-4fe5c869f0546b520f1d6f522994738a666073ed.zip |
Use $(PYTHON -f) instead of ${python}.
Package-Manager: portage-15200-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sphinx/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-0.6.4.ebuild | 17 |
2 files changed, 8 insertions, 11 deletions
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index a9f2a4bb1d7b..eb8c7eac3f9f 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,6 +1,6 @@ DIST Sphinx-0.6.3.tar.gz 965109 RMD160 5662954aa3f9da6f2da273fb0098697e8ab13184 SHA1 5f3d56f9a50f19d747d04592500956d8ef5a681f SHA256 7da3fb1fec3fc61073e1432a5c2698a02bf8a8370963725816afc429d7d468ba DIST Sphinx-0.6.4.tar.gz 970249 RMD160 8b6f06a6e13b0af8104a232f34aeabc866c1123f SHA1 8a1a9720c24e05615257525e07744ea715a372b2 SHA256 bf756f543ecfed0f46a79cc83c2536417bbec226e1598d3157a6ac143f3ce2ca EBUILD sphinx-0.6.3.ebuild 2132 RMD160 f355306f7c68f4f96bef53e2a91cb597310c011f SHA1 daf6ebea363b0bfa9e79781d87505e2841499b5f SHA256 56a3d341ff367f7346b730332647e0c7ddef730fbb22d3064c3c2eb9891e6699 -EBUILD sphinx-0.6.4.ebuild 2138 RMD160 3cd08661d5812c85055fef4ddd4e7220e076b1ee SHA1 c767c4244ea3324e748297786fa810bfc36c3b11 SHA256 086309b5f1f773c61eb2782c4d5753853f7bb61a36481aecbb08d3961d3eba6b +EBUILD sphinx-0.6.4.ebuild 2181 RMD160 f00137e34c2586202b13ad17b56ca272201889d0 SHA1 2e52468bc4ad9d411dc99e796b9230d92f096738 SHA256 a0f092e7d88fbf92731dac9f273eb3aef0a2913cb7a346bdb88b191c9aec26be MISC ChangeLog 4954 RMD160 eaee4e7243345cb0089184f7a856d5f1999f2109 SHA1 091825da1cc81c9078a474a955548be675fd4203 SHA256 767d8a8731bb1c919392031ef82f9254180b83cfe05d0a0df6915e8f060e1e25 MISC metadata.xml 351 RMD160 a039846d5551a68ce6babb384726d5f2aed7ed48 SHA1 4827404c8a432524f89c5c6882c8f723d9ceee23 SHA256 c3304c774eac6a8ed5a1dbfd42c2e52540cfd76aa441ac4be4b94240410bd4dd diff --git a/dev-python/sphinx/sphinx-0.6.4.ebuild b/dev-python/sphinx/sphinx-0.6.4.ebuild index 960b96970e22..2bdaca3b55e5 100644 --- a/dev-python/sphinx/sphinx-0.6.4.ebuild +++ b/dev-python/sphinx/sphinx-0.6.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.4.ebuild,v 1.1 2010/01/12 21:40:41 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.4.ebuild,v 1.2 2010/01/15 17:15:20 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -21,30 +21,27 @@ IUSE="doc test" RDEPEND=">=dev-python/pygments-0.8 >=dev-python/jinja2-2.1 >=dev-python/docutils-0.4" - DEPEND="${RDEPEND} dev-python/setuptools test? ( dev-python/nose )" - -RESTRICT_PYTHON_ABIS="3*" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" +DOCS="CHANGES" + src_compile() { - DOCS="CHANGES" distutils_src_compile if use doc; then cd doc - PYTHONPATH="../" emake \ - SPHINXBUILD="${python} ../sphinx-build.py" \ - html || die "making docs failed" + PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" fi } src_test() { testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests + PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} } python_execute_function testing } @@ -53,7 +50,7 @@ src_install() { distutils_src_install if use doc; then - dohtml -A txt -r doc/_build/html/* || die + dohtml -A txt -r doc/_build/html/* || die "dohtml failed" fi } |