diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-06-02 15:24:35 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-06-02 15:24:35 +0000 |
commit | ad91ad9706c2117c1fb7cd77ad950ade3c25ac95 (patch) | |
tree | e16d3e6691051c62b7456f34fd0c219a686d71b4 | |
parent | Version bump by Daniel Lange (bug #402643). (diff) | |
download | gentoo-2-ad91ad9706c2117c1fb7cd77ad950ade3c25ac95.tar.gz gentoo-2-ad91ad9706c2117c1fb7cd77ad950ade3c25ac95.tar.bz2 gentoo-2-ad91ad9706c2117c1fb7cd77ad950ade3c25ac95.zip |
Fix various ebuild errors. Thanks to Arfrever for reporting
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pep8/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pep8/pep8-1.0.1.ebuild | 6 | ||||
-rw-r--r-- | dev-python/pep8/pep8-1.1.ebuild | 8 |
3 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/pep8/ChangeLog b/dev-python/pep8/ChangeLog index 22ba6aa77c1f..ffced2110c05 100644 --- a/dev-python/pep8/ChangeLog +++ b/dev-python/pep8/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pep8 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.6 2012/05/29 18:33:10 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.7 2012/06/02 15:24:35 xarthisius Exp $ + + 02 Jun 2012; Kacper Kowalik <xarthisius@gentoo.org> pep8-1.0.1.ebuild, + pep8-1.1.ebuild: + Fix various ebuild errors. Thanks to Arfrever for reporting *pep8-1.1 (29 May 2012) diff --git a/dev-python/pep8/pep8-1.0.1.ebuild b/dev-python/pep8/pep8-1.0.1.ebuild index f34fe6961394..45fc6af54bc5 100644 --- a/dev-python/pep8/pep8-1.0.1.ebuild +++ b/dev-python/pep8/pep8-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.0.1.ebuild,v 1.3 2012/05/29 15:16:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.0.1.ebuild,v 1.4 2012/06/02 15:24:35 xarthisius Exp $ EAPI=3 @@ -21,12 +21,12 @@ IUSE="" DEPEND="dev-python/setuptools" RDEPEND="${DEPEND}" -PYTHON_MODNAME="${PN}.py" +PYTHON_MODNAME=${PN}.py src_test() { test_func() { - PYTHONPATH=${S} ${PYTHON} ${S}/${PYTHON_MODNAME} -v --testsuite=testsuite + PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} -v --testsuite=testsuite } python_execute_function test_func diff --git a/dev-python/pep8/pep8-1.1.ebuild b/dev-python/pep8/pep8-1.1.ebuild index f53dd28e6cd7..7977758bd602 100644 --- a/dev-python/pep8/pep8-1.1.ebuild +++ b/dev-python/pep8/pep8-1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.1.ebuild,v 1.1 2012/05/29 18:33:10 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.1.ebuild,v 1.2 2012/06/02 15:24:35 xarthisius Exp $ EAPI=4 @@ -25,9 +25,9 @@ DOCS="CHANGES.txt" src_test() { test_func() { - test_ok=0 - PYTHONPATH="${S}" ${PYTHON} "${S}/${PYTHON_MODNAME}" -v --testsuite=testsuite || test_ok=1 - PYTHONPATH="${S}" ${PYTHON} "${S}/${PYTHON_MODNAME}" --doctest -v || test_ok=1 + local test_ok=0 + PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} -v --testsuite=testsuite || test_ok=1 + PYTHONPATH="${S}" "$(PYTHON)" ${PYTHON_MODNAME} --doctest -v || test_ok=1 return ${test_ok} } python_execute_function test_func |