diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-29 18:33:10 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-29 18:33:10 +0000 |
commit | 209ee4cd465e846e8a08c2fe0efee9386bd2fc45 (patch) | |
tree | 5d834b8f44ce290443e1bb5be720ec1b7ad11647 /dev-python/pep8 | |
parent | remove old (diff) | |
download | gentoo-2-209ee4cd465e846e8a08c2fe0efee9386bd2fc45.tar.gz gentoo-2-209ee4cd465e846e8a08c2fe0efee9386bd2fc45.tar.bz2 gentoo-2-209ee4cd465e846e8a08c2fe0efee9386bd2fc45.zip |
Version bump wrt #418143 by Ian Delaney <johneed@hotmail.com>. Drop redundant PYTHON_DEPEND, bump to eapi4, add missing DOCS, enable additional tests, use github in SRC_URI
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pep8')
-rw-r--r-- | dev-python/pep8/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pep8/pep8-1.1.ebuild | 34 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-python/pep8/ChangeLog b/dev-python/pep8/ChangeLog index e61daa034b5c..22ba6aa77c1f 100644 --- a/dev-python/pep8/ChangeLog +++ b/dev-python/pep8/ChangeLog @@ -1,6 +1,13 @@ # 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.5 2012/05/29 15:16:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.6 2012/05/29 18:33:10 xarthisius Exp $ + +*pep8-1.1 (29 May 2012) + + 29 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +pep8-1.1.ebuild: + Version bump wrt #418143 by Ian Delaney <johneed@hotmail.com>. Drop redundant + PYTHON_DEPEND, bump to eapi4, add missing DOCS, enable additional tests, use + github in SRC_URI 29 May 2012; Justin Lecher <jlec@gentoo.org> pep8-1.0.1.ebuild: Added ~-linux keywords, tested by me diff --git a/dev-python/pep8/pep8-1.1.ebuild b/dev-python/pep8/pep8-1.1.ebuild new file mode 100644 index 000000000000..f53dd28e6cd7 --- /dev/null +++ b/dev-python/pep8/pep8-1.1.ebuild @@ -0,0 +1,34 @@ +# 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 $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS="1" + +inherit distutils vcs-snapshot + +DESCRIPTION="Python style guide checker" +HOMEPAGE="http://github.com/jcrocholl/pep8 http://pypi.python.org/pypi/pep8" +SRC_URI="https://github.com/jcrocholl/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="${DEPEND}" + +PYTHON_MODNAME=${PN}.py +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 + return ${test_ok} + } + python_execute_function test_func +} |