summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-29 18:49:17 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-29 18:49:17 +0000
commite79d10e8559a11d6eb899451ce7e4e86b2140d92 (patch)
tree6a8ccb2ad8e12fb1504c4222ab3c895eef81fd92 /dev-python/autopep8
parentwhitespace (diff)
downloadgentoo-2-e79d10e8559a11d6eb899451ce7e4e86b2140d92.tar.gz
gentoo-2-e79d10e8559a11d6eb899451ce7e4e86b2140d92.tar.bz2
gentoo-2-e79d10e8559a11d6eb899451ce7e4e86b2140d92.zip
Version bump wrt #418151 by Ian Delaney <johneed@hotmail.com>. Use github as SRC_URI
(Portage version: 2.2.0_alpha108/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.6.2.ebuild33
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/autopep8/ChangeLog b/dev-python/autopep8/ChangeLog
index 2a7288d0c408..2492bdd36e1d 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.10 2012/05/29 15:16:54 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.11 2012/05/29 18:49:17 xarthisius Exp $
+
+*autopep8-0.6.2 (29 May 2012)
+
+ 29 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +autopep8-0.6.2.ebuild:
+ Version bump wrt #418151 by Ian Delaney <johneed@hotmail.com>. Use github as
+ SRC_URI
29 May 2012; Justin Lecher <jlec@gentoo.org> autopep8-0.6.ebuild:
Added ~-linux keywords, tested by me
diff --git a/dev-python/autopep8/autopep8-0.6.2.ebuild b/dev-python/autopep8/autopep8-0.6.2.ebuild
new file mode 100644
index 000000000000..faa4cb502d90
--- /dev/null
+++ b/dev-python/autopep8/autopep8-0.6.2.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.2.ebuild,v 1.1 2012/05/29 18:49:17 xarthisius 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.1
+ 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
+}