summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-05 17:47:08 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-05 17:47:08 +0000
commitd98d8b448373e990f1bf83c9c0ef079bbd19e599 (patch)
tree1a90f313f9caddcd099ef17b75d60759a6da25d3 /dev-python
parentalpha/ia64/s390/sh/sparc stable wrt #403843 (diff)
downloadgentoo-2-d98d8b448373e990f1bf83c9c0ef079bbd19e599.tar.gz
gentoo-2-d98d8b448373e990f1bf83c9c0ef079bbd19e599.tar.bz2
gentoo-2-d98d8b448373e990f1bf83c9c0ef079bbd19e599.zip
Remove unnecessary _p1 version and do a simple revbump instead. Add python herd to metadata
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/autopep8/ChangeLog9
-rw-r--r--dev-python/autopep8/autopep8-0.5.2-r1.ebuild (renamed from dev-python/autopep8/autopep8-0.5.2_p1.ebuild)11
-rw-r--r--dev-python/autopep8/metadata.xml1
3 files changed, 13 insertions, 8 deletions
diff --git a/dev-python/autopep8/ChangeLog b/dev-python/autopep8/ChangeLog
index b87642fc56f8..d93428504356 100644
--- a/dev-python/autopep8/ChangeLog
+++ b/dev-python/autopep8/ChangeLog
@@ -1,6 +1,13 @@
# 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.7 2012/05/04 20:20:08 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.8 2012/05/05 17:47:08 xarthisius Exp $
+
+*autopep8-0.5.2-r1 (05 May 2012)
+
+ 05 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +autopep8-0.5.2-r1.ebuild,
+ -autopep8-0.5.2_p1.ebuild, metadata.xml:
+ Remove unnecessary _p1 version and do a simple revbump instead. Add python
+ herd to metadata
*autopep8-0.5.2_p1 (04 May 2012)
diff --git a/dev-python/autopep8/autopep8-0.5.2_p1.ebuild b/dev-python/autopep8/autopep8-0.5.2-r1.ebuild
index 753818411ea6..a1794f498dd9 100644
--- a/dev-python/autopep8/autopep8-0.5.2_p1.ebuild
+++ b/dev-python/autopep8/autopep8-0.5.2-r1.ebuild
@@ -1,19 +1,17 @@
# 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.5.2_p1.ebuild,v 1.1 2012/05/04 20:20:08 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.5.2-r1.ebuild,v 1.1 2012/05/05 17:47:08 xarthisius Exp $
EAPI=4
-PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5-cpython"
inherit eutils distutils
-MY_PV=${PV%%_p*}
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}/${PN}-${MY_PV}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -26,10 +24,9 @@ DEPEND="${RDEPEND}"
PYTHON_MODNAME="${PN}.py"
-S=${WORKDIR}/${PN}-${MY_PV}
-
src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.5.2-issue-10.patch
+ epatch "${FILESDIR}"/${P}-issue-10.patch
+ distutils_src_prepare
}
src_test() {
diff --git a/dev-python/autopep8/metadata.xml b/dev-python/autopep8/metadata.xml
index 06037abf45f5..9afd132d0da1 100644
--- a/dev-python/autopep8/metadata.xml
+++ b/dev-python/autopep8/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <herd>python</herd>
<maintainer>
<email>xarthisius@gentoo.org</email>
<name>Kacper Kowalik</name>