summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-06-16 14:07:32 +0000
committerSebastian Pipping <sping@gentoo.org>2012-06-16 14:07:32 +0000
commit66b92e47b89f7a4692ac7f14201615cdb1516dda (patch)
tree9b565d523c35b669db863099180a5d3a836123b1 /dev-python/autopep8
parentFix building with dev-lang/perl >= 5.14 wrt #420761 by Patrick Lauer. tidy th... (diff)
downloadgentoo-2-66b92e47b89f7a4692ac7f14201615cdb1516dda.tar.gz
gentoo-2-66b92e47b89f7a4692ac7f14201615cdb1516dda.tar.bz2
gentoo-2-66b92e47b89f7a4692ac7f14201615cdb1516dda.zip
dev-python/autopep8: 0.7
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r--dev-python/autopep8/ChangeLog8
-rw-r--r--dev-python/autopep8/autopep8-0.7.ebuild33
-rw-r--r--dev-python/autopep8/autopep8-9999.ebuild4
3 files changed, 42 insertions, 3 deletions
diff --git a/dev-python/autopep8/ChangeLog b/dev-python/autopep8/ChangeLog
index 15156f453f3f..10f7a15c9a49 100644
--- a/dev-python/autopep8/ChangeLog
+++ b/dev-python/autopep8/ChangeLog
@@ -1,6 +1,12 @@
# 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.12 2012/06/16 13:39:00 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.13 2012/06/16 14:07:32 sping Exp $
+
+*autopep8-0.7 (16 Jun 2012)
+
+ 16 Jun 2012; Sebastian Pipping <sping@gentoo.org> +autopep8-0.7.ebuild,
+ autopep8-9999.ebuild:
+ Bump to 0.7
*autopep8-0.6.3 (16 Jun 2012)
diff --git a/dev-python/autopep8/autopep8-0.7.ebuild b/dev-python/autopep8/autopep8-0.7.ebuild
new file mode 100644
index 000000000000..c8099f41da1f
--- /dev/null
+++ b/dev-python/autopep8/autopep8-0.7.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.7.ebuild,v 1.1 2012/06/16 14:07:32 sping Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5"
+
+inherit distutils vcs-snapshot
+
+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="https://github.com/hhatto/${PN}/tarball/ver${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=">=dev-python/pep8-1.3
+ 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
+}
diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild
index 9f719e9cf939..4ee905caaac3 100644
--- a/dev-python/autopep8/autopep8-9999.ebuild
+++ b/dev-python/autopep8/autopep8-9999.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/autopep8/autopep8-9999.ebuild,v 1.4 2012/06/16 13:39:00 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild,v 1.5 2012/06/16 14:07:32 sping Exp $
EAPI=4
@@ -29,7 +29,7 @@ LICENSE="MIT"
SLOT="0"
IUSE=""
-RDEPEND="<dev-python/pep8-1.3
+RDEPEND=">=dev-python/pep8-1.3
dev-python/setuptools"
DEPEND="${RDEPEND}"