summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-05-09 16:44:03 +0000
committerSebastian Pipping <sping@gentoo.org>2012-05-09 16:44:03 +0000
commita2f5b40b1628f0669eba086acebe5f6bb590aa86 (patch)
treeb86ca4406a8aa67826263b6964aa24ff5efbc857 /dev-python/autopep8
parentkeyword ~amd64-fbsd (diff)
downloadgentoo-2-a2f5b40b1628f0669eba086acebe5f6bb590aa86.tar.gz
gentoo-2-a2f5b40b1628f0669eba086acebe5f6bb590aa86.tar.bz2
gentoo-2-a2f5b40b1628f0669eba086acebe5f6bb590aa86.zip
dev-python/autopep8: Bump to 0.6
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r--dev-python/autopep8/ChangeLog7
-rw-r--r--dev-python/autopep8/autopep8-0.6.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-python/autopep8/ChangeLog b/dev-python/autopep8/ChangeLog
index d93428504356..2ef87ecccf18 100644
--- a/dev-python/autopep8/ChangeLog
+++ b/dev-python/autopep8/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/autopep8
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.8 2012/05/05 17:47:08 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.9 2012/05/09 16:44:03 sping Exp $
+
+*autopep8-0.6 (09 May 2012)
+
+ 09 May 2012; Sebastian Pipping <sping@gentoo.org> +autopep8-0.6.ebuild:
+ Bump to 0.6
*autopep8-0.5.2-r1 (05 May 2012)
diff --git a/dev-python/autopep8/autopep8-0.6.ebuild b/dev-python/autopep8/autopep8-0.6.ebuild
new file mode 100644
index 000000000000..ad483bdfe114
--- /dev/null
+++ b/dev-python/autopep8/autopep8-0.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.6.ebuild,v 1.1 2012/05/09 16:44:03 sping Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5-cpython"
+
+inherit distutils
+
+DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
+HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pep8
+ dev-python/setuptools"
+DEPEND="${RDEPEND}"
+
+PYTHON_MODNAME="${PN}.py"
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_${PN}.py
+ }
+ python_execute_function testing
+}