Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/iso-codes: iso-codes-3.37.ebuild ChangeLog iso-codes-3.24.2.ebuild
Date: Sat, 30 Jun 2012 12:07:35
Message-Id: 20120630120705.0EADE2004B@flycatcher.gentoo.org
1 pacho 12/06/30 12:07:04
2
3 Modified: ChangeLog
4 Added: iso-codes-3.37.ebuild
5 Removed: iso-codes-3.24.2.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.1.11.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.122 app-text/iso-codes/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.122&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.122&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?r1=1.121&r2=1.122
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v
21 retrieving revision 1.121
22 retrieving revision 1.122
23 diff -u -r1.121 -r1.122
24 --- ChangeLog 12 May 2012 16:14:27 -0000 1.121
25 +++ ChangeLog 30 Jun 2012 12:07:04 -0000 1.122
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/iso-codes
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.121 2012/05/12 16:14:27 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.122 2012/06/30 12:07:04 pacho Exp $
31 +
32 +*iso-codes-3.37 (30 Jun 2012)
33 +
34 + 30 Jun 2012; Pacho Ramos <pacho@g.o> +iso-codes-3.37.ebuild,
35 + -iso-codes-3.24.2.ebuild:
36 + Version bump, remove old.
37
38 12 May 2012; Alexis Ballier <aballier@g.o> iso-codes-3.30.ebuild:
39 keyword ~amd64-fbsd
40 @@ -451,4 +457,3 @@
41 First commit to tree. This package contains SO-639 Language code list, the
42 ISO-3166 Territory code list, and ISO-3166-2 sub-territory lists, and all
43 their translations in gettext .po form
44 -
45
46
47
48 1.1 app-text/iso-codes/iso-codes-3.37.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.37.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.37.ebuild?rev=1.1&content-type=text/plain
52
53 Index: iso-codes-3.37.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.37.ebuild,v 1.1 2012/06/30 12:07:04 pacho Exp $
58
59 EAPI="4"
60
61 inherit eutils
62
63 DESCRIPTION="Provides the list of country and language names"
64 HOMEPAGE="http://alioth.debian.org/projects/pkg-isocodes/"
65 SRC_URI="http://pkg-isocodes.alioth.debian.org/downloads/${P}.tar.bz2"
66
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
70 IUSE=""
71
72 RDEPEND=""
73 DEPEND="sys-devel/gettext"
74
75 # This ebuild does not install any binaries
76 RESTRICT="binchecks strip"
77
78 src_prepare() {
79 local linguas_bak=${LINGUAS}
80 local mylinguas=""
81
82 for norm in iso_15924 iso_3166 iso_3166_2 iso_4217 iso_639 iso_639_3; do
83 einfo "Preparing ${norm}"
84
85 mylinguas=""
86 LINGUAS=${linguas_bak}
87 strip-linguas -i "${S}/${norm}"
88
89 for loc in ${LINGUAS}; do
90 mylinguas="${mylinguas} ${loc}.po"
91 done
92
93 if [ -n "${mylinguas}" ]; then
94 sed -e "s:pofiles =.*:pofiles = ${mylinguas}:" \
95 -e "s:mofiles =.*:mofiles = ${mylinguas//.po/.mo}:" \
96 -i "${S}/${norm}/Makefile.am" "${S}/${norm}/Makefile.in" \
97 || die "sed in ${norm} folder failed"
98 fi
99 done
100 }