summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-08 16:15:24 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-08 16:15:24 +0000
commita3a2e2fdea25701fa58c8856d10c74cdd6f0c59f (patch)
tree11b9e6a88d0574762b36ae9e38679aca8969f65f /dev-python/argparse
parentVersion bump by Lars Wendler (bug #446396). (diff)
downloadgentoo-2-a3a2e2fdea25701fa58c8856d10c74cdd6f0c59f.tar.gz
gentoo-2-a3a2e2fdea25701fa58c8856d10c74cdd6f0c59f.tar.bz2
gentoo-2-a3a2e2fdea25701fa58c8856d10c74cdd6f0c59f.zip
Revbump again to end the transitional period and stop installing argparse for new Python versions.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/argparse')
-rw-r--r--dev-python/argparse/ChangeLog8
-rw-r--r--dev-python/argparse/argparse-1.2.1-r2.ebuild25
2 files changed, 32 insertions, 1 deletions
diff --git a/dev-python/argparse/ChangeLog b/dev-python/argparse/ChangeLog
index c7957efe2382..1c8be705a921 100644
--- a/dev-python/argparse/ChangeLog
+++ b/dev-python/argparse/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/argparse
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.35 2012/12/08 15:46:08 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.36 2012/12/08 16:15:24 mgorny Exp $
+
+*argparse-1.2.1-r2 (08 Dec 2012)
+
+ 08 Dec 2012; Michał Górny <mgorny@gentoo.org> +argparse-1.2.1-r2.ebuild:
+ Revbump again to end the transitional period and stop installing argparse for
+ new Python versions.
08 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild:
Add PYTHON_USEDEP on migrated packages.
diff --git a/dev-python/argparse/argparse-1.2.1-r2.ebuild b/dev-python/argparse/argparse-1.2.1-r2.ebuild
new file mode 100644
index 000000000000..93fbd0ba3fe4
--- /dev/null
+++ b/dev-python/argparse/argparse-1.2.1-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1-r2.ebuild,v 1.1 2012/12/08 16:15:24 mgorny Exp $
+
+EAPI=4
+# Other implementations ship argparse.
+PYTHON_COMPAT=( python{2_5,2_6,3_1} jython2_5 )
+
+inherit distutils-r1
+
+DESCRIPTION="An easy, declarative interface for creating command line tools"
+HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse"
+SRC_URI="http://argparse.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ COLUMNS=80 PYTHONPATH="${BUILD_DIR}/lib" \
+ "${PYTHON}" test/test_argparse.py
+}