Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in virtual/python-argparse: python-argparse-1.ebuild ChangeLog
Date: Mon, 29 Oct 2012 13:55:48
Message-Id: 20121029135537.898FB21600@flycatcher.gentoo.org
1 mgorny 12/10/29 13:55:37
2
3 Modified: ChangeLog
4 Added: python-argparse-1.ebuild
5 Log:
6 Update the virtual to depend on target-aware argparse.
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
9
10 Revision Changes Path
11 1.2 virtual/python-argparse/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/virtual/python-argparse/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/virtual/python-argparse/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/virtual/python-argparse/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/virtual/python-argparse/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 28 Oct 2012 22:08:20 -0000 1.1
24 +++ ChangeLog 29 Oct 2012 13:55:37 -0000 1.2
25 @@ -1,6 +1,11 @@
26 # ChangeLog for virtual/python-argparse
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/virtual/python-argparse/ChangeLog,v 1.1 2012/10/28 22:08:20 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/virtual/python-argparse/ChangeLog,v 1.2 2012/10/29 13:55:37 mgorny Exp $
30 +
31 +*python-argparse-1 (29 Oct 2012)
32 +
33 + 29 Oct 2012; Michał Górny <mgorny@g.o> +python-argparse-1.ebuild:
34 + Update the virtual to depend on target-aware argparse.
35
36 *python-argparse-0 (28 Oct 2012)
37
38
39
40
41 1.1 virtual/python-argparse/python-argparse-1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/virtual/python-argparse/python-argparse-1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/virtual/python-argparse/python-argparse-1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: python-argparse-1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/virtual/python-argparse/python-argparse-1.ebuild,v 1.1 2012/10/29 13:55:37 mgorny Exp $
51
52 EAPI=4
53 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} jython2_5 )
54 inherit python-r1
55
56 DESCRIPTION="A virtual for the Python argparse module"
57 HOMEPAGE=""
58 SRC_URI=""
59
60 LICENSE=""
61 SLOT="0"
62 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"
63 IUSE=""
64
65 setup_globals() {
66 local i
67
68 RDEPEND=
69 for i in "${PYTHON_COMPAT[@]}"; do
70 case "${i}" in
71 python2_5|python2_6|jython2_5)
72 local flag=python_targets_${i}
73 # Note: add USE-deps when dev-python/argparse starts
74 # supporting PYTHON_TARGETS
75 RDEPEND+=" ${flag}? ( dev-python/argparse[${flag}] )"
76 ;;
77 *)
78 ;;
79 esac
80 done
81 }
82 setup_globals