From: | "Mart Raudsepp (leio)" <leio@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/iso-codes: ChangeLog iso-codes-3.21.ebuild iso-codes-3.16.ebuild |
Date: | Tue, 05 Oct 2010 03:34:11 |
Message-Id: | 20101005033406.165C72004C@flycatcher.gentoo.org |
1 | leio 10/10/05 03:34:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: iso-codes-3.21.ebuild |
5 | Removed: iso-codes-3.16.ebuild |
6 | Log: |
7 | Version bump - ISO-3166-2 and translation updates. Add ~mips, remove old |
8 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.90 app-text/iso-codes/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.90&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.90&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?r1=1.89&r2=1.90 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v |
20 | retrieving revision 1.89 |
21 | retrieving revision 1.90 |
22 | diff -u -r1.89 -r1.90 |
23 | --- ChangeLog 13 Aug 2010 21:13:57 -0000 1.89 |
24 | +++ ChangeLog 5 Oct 2010 03:34:05 -0000 1.90 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-text/iso-codes |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.89 2010/08/13 21:13:57 eva Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.90 2010/10/05 03:34:05 leio Exp $ |
30 | + |
31 | +*iso-codes-3.21 (05 Oct 2010) |
32 | + |
33 | + 05 Oct 2010; Mart Raudsepp <leio@g.o> -iso-codes-3.16.ebuild, |
34 | + +iso-codes-3.21.ebuild: |
35 | + Version bump - ISO-3166-2 and translation updates. Add ~mips, remove old |
36 | |
37 | *iso-codes-3.19 (13 Aug 2010) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 app-text/iso-codes/iso-codes-3.21.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.21.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.21.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: iso-codes-3.21.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.21.ebuild,v 1.1 2010/10/05 03:34:05 leio Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit eutils |
56 | |
57 | DESCRIPTION="Provides the list of country and language names" |
58 | HOMEPAGE="http://alioth.debian.org/projects/pkg-isocodes/" |
59 | SRC_URI="ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${P}.tar.bz2" |
60 | |
61 | LICENSE="LGPL-2.1" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~amd64-linux ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-linux ~x86-macos ~x86-solaris" |
64 | IUSE="" |
65 | |
66 | RDEPEND="" |
67 | DEPEND="sys-devel/gettext" |
68 | |
69 | src_prepare() { |
70 | local linguas_bak=${LINGUAS} |
71 | local mylinguas="" |
72 | |
73 | for norm in iso_15924 iso_3166 iso_3166_2 iso_4217 iso_639 iso_639_3; do |
74 | einfo "Preparing ${norm}" |
75 | |
76 | mylinguas="" |
77 | LINGUAS=${linguas_bak} |
78 | strip-linguas -i "${S}/${norm}" |
79 | |
80 | for loc in ${LINGUAS}; do |
81 | mylinguas="${mylinguas} ${loc}.po" |
82 | done |
83 | |
84 | if [ -n "${mylinguas}" ]; then |
85 | sed -e "s:pofiles =.*:pofiles = ${mylinguas}:" \ |
86 | -e "s:mofiles =.*:mofiles = ${mylinguas//.po/.mo}:" \ |
87 | -i "${S}/${norm}/Makefile.am" "${S}/${norm}/Makefile.in" \ |
88 | || die "sed in ${norm} folder failed" |
89 | fi |
90 | done |
91 | } |
92 | |
93 | src_install() { |
94 | emake DESTDIR="${D}" install || die "Installation failed" |
95 | |
96 | dodoc ChangeLog README TODO || die "dodoc failed" |
97 | } |