summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-06-16 13:41:56 +0000
committerSebastian Pipping <sping@gentoo.org>2012-06-16 13:41:56 +0000
commita3a0a8608db7807be74a50772b12275845ede2ab (patch)
treee9bf6a8834139b343886611d4af096b2d77fe3b2
parentdev-python/autopep8: Bump to 0.6.3, fix dependency on pep8 to <pep8-1.3 (diff)
downloadgentoo-2-a3a0a8608db7807be74a50772b12275845ede2ab.tar.gz
gentoo-2-a3a0a8608db7807be74a50772b12275845ede2ab.tar.bz2
gentoo-2-a3a0a8608db7807be74a50772b12275845ede2ab.zip
dev-python/pep8: Bump to 1.2 and 1.3
(Portage version: 2.1.10.65/cvs/Linux x86_64)
-rw-r--r--dev-python/pep8/ChangeLog9
-rw-r--r--dev-python/pep8/pep8-1.2.ebuild34
-rw-r--r--dev-python/pep8/pep8-1.3.ebuild34
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-python/pep8/ChangeLog b/dev-python/pep8/ChangeLog
index ffced2110c05..e162ddef04ec 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.7 2012/06/02 15:24:35 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.8 2012/06/16 13:41:56 sping Exp $
+
+*pep8-1.3 (16 Jun 2012)
+*pep8-1.2 (16 Jun 2012)
+
+ 16 Jun 2012; Sebastian Pipping <sping@gentoo.org> +pep8-1.2.ebuild,
+ +pep8-1.3.ebuild:
+ Bump to 1.2 and 1.3
02 Jun 2012; Kacper Kowalik <xarthisius@gentoo.org> pep8-1.0.1.ebuild,
pep8-1.1.ebuild:
diff --git a/dev-python/pep8/pep8-1.2.ebuild b/dev-python/pep8/pep8-1.2.ebuild
new file mode 100644
index 000000000000..92a2657f0b89
--- /dev/null
+++ b/dev-python/pep8/pep8-1.2.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.2.ebuild,v 1.1 2012/06/16 13:41:56 sping 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() {
+ 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
+}
diff --git a/dev-python/pep8/pep8-1.3.ebuild b/dev-python/pep8/pep8-1.3.ebuild
new file mode 100644
index 000000000000..bb3ac895e8c4
--- /dev/null
+++ b/dev-python/pep8/pep8-1.3.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.3.ebuild,v 1.1 2012/06/16 13:41:56 sping 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() {
+ 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
+}