Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/mirrorselect: ChangeLog mirrorselect-2.1.0-r3.ebuild
Date: Sun, 02 Jan 2011 20:40:32
Message-Id: 20110102204022.1D50C20054@flycatcher.gentoo.org
1 idl0r 11/01/02 20:40:22
2
3 Modified: ChangeLog
4 Added: mirrorselect-2.1.0-r3.ebuild
5 Log:
6 Use python_convert_shebangs, bug 350366
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.105 app-portage/mirrorselect/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/ChangeLog?rev=1.105&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/ChangeLog?rev=1.105&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/ChangeLog?r1=1.104&r2=1.105
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/ChangeLog,v
20 retrieving revision 1.104
21 retrieving revision 1.105
22 diff -u -r1.104 -r1.105
23 --- ChangeLog 29 Dec 2010 15:18:29 -0000 1.104
24 +++ ChangeLog 2 Jan 2011 20:40:22 -0000 1.105
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-portage/mirrorselect
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/ChangeLog,v 1.104 2010/12/29 15:18:29 ranger Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/ChangeLog,v 1.105 2011/01/02 20:40:22 idl0r Exp $
31 +
32 +*mirrorselect-2.1.0-r3 (02 Jan 2011)
33 +
34 + 02 Jan 2011; Christian Ruppert <idl0r@g.o>
35 + +mirrorselect-2.1.0-r3.ebuild:
36 + Use python_convert_shebangs, bug 350366
37
38 29 Dec 2010; Brent Baude <ranger@g.o> mirrorselect-2.1.0-r2.ebuild:
39 stable ppc64, bug 344599
40
41
42
43 1.1 app-portage/mirrorselect/mirrorselect-2.1.0-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/mirrorselect-2.1.0-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/mirrorselect-2.1.0-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mirrorselect-2.1.0-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/mirrorselect-2.1.0-r3.ebuild,v 1.1 2011/01/02 20:40:22 idl0r Exp $
53
54 EAPI="3"
55 SUPPORT_PYTHON_ABIS="1"
56
57 inherit eutils python
58
59 DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
60 HOMEPAGE="http://www.gentoo.org/"
61 SRC_URI="mirror://gentoo/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
66 IUSE=""
67
68 RDEPEND="dev-lang/python[xml]
69 dev-util/dialog
70 net-analyzer/netselect"
71
72 RESTRICT_PYTHON_ABIS="3*"
73
74 src_prepare() {
75 # bug 312753
76 epatch "${FILESDIR}/0001-Fix-rsync-mirror-selectection.patch"
77 # bug 330611
78 epatch "${FILESDIR}/0002-Check-for-a-valid-mirrorselect-test-file.patch"
79
80 python_convert_shebangs 2 main.py mirrorselect/mirrorparser3.py
81 }
82
83 src_install() {
84 newsbin main.py ${PN} || die
85
86 installation() {
87 insinto $(python_get_sitedir)
88 doins -r ${PN}/
89 }
90 python_execute_function installation
91
92 doman ${PN}.8 || die
93 }
94
95 pkg_postinst() {
96 python_mod_optimize ${PN}
97 }
98
99 pkg_postrm() {
100 python_mod_cleanup ${PN}
101 }