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.42.ebuild ChangeLog iso-codes-3.37.ebuild
Date: Mon, 03 Jun 2013 20:00:11
Message-Id: 20130603200004.DC6192171D@flycatcher.gentoo.org
1 pacho 13/06/03 20:00:04
2
3 Modified: ChangeLog
4 Added: iso-codes-3.42.ebuild
5 Removed: iso-codes-3.37.ebuild
6 Log:
7 Version bump, drop old (#471954 by Ivan Atienza)
8
9 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.145 app-text/iso-codes/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.145&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.145&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?r1=1.144&r2=1.145
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v
21 retrieving revision 1.144
22 retrieving revision 1.145
23 diff -u -r1.144 -r1.145
24 --- ChangeLog 10 May 2013 22:14:20 -0000 1.144
25 +++ ChangeLog 3 Jun 2013 20:00:04 -0000 1.145
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/iso-codes
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.144 2013/05/10 22:14:20 eva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.145 2013/06/03 20:00:04 pacho Exp $
31 +
32 +*iso-codes-3.42 (03 Jun 2013)
33 +
34 + 03 Jun 2013; Pacho Ramos <pacho@g.o> +iso-codes-3.42.ebuild,
35 + -iso-codes-3.37.ebuild:
36 + Version bump, drop old (#471954 by Ivan Atienza)
37
38 10 May 2013; Gilles Dartiguelongue <eva@g.o> iso-codes-3.40.ebuild:
39 Fix linguas stripping logic, bug #463958.
40
41
42
43 1.1 app-text/iso-codes/iso-codes-3.42.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.42.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.42.ebuild?rev=1.1&content-type=text/plain
47
48 Index: iso-codes-3.42.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.42.ebuild,v 1.1 2013/06/03 20:00:04 pacho Exp $
53
54 EAPI="5"
55 inherit eutils
56
57 DESCRIPTION="ISO language, territory, currency, script codes and their translations"
58 HOMEPAGE="http://pkg-isocodes.alioth.debian.org/"
59 SRC_URI="http://pkg-isocodes.alioth.debian.org/downloads/${P}.tar.xz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 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 ~x64-macos ~x86-macos ~x86-solaris"
64 IUSE=""
65
66 RDEPEND=""
67 DEPEND="
68 app-arch/xz-utils
69 sys-devel/gettext
70 "
71
72 # This ebuild does not install any binaries
73 RESTRICT="binchecks strip"
74
75 src_prepare() {
76 local linguas_bak=${LINGUAS}
77 local mylinguas=""
78
79 [[ -z ${LINGUAS} ]] && return
80
81 for norm in iso_15924 iso_3166 iso_3166_2 iso_4217 iso_639 iso_639_3; do
82 einfo "Preparing ${norm}"
83
84 mylinguas=""
85 LINGUAS=${linguas_bak}
86 strip-linguas -i "${S}/${norm}"
87
88 for loc in ${LINGUAS}; do
89 mylinguas="${mylinguas} ${loc}.po"
90 done
91
92 sed -e "s:pofiles =.*:pofiles = ${mylinguas} ${NULL}:" \
93 -e "s:mofiles =.*:mofiles = ${mylinguas//.po/.mo} ${NULL}:" \
94 -i "${S}/${norm}/Makefile.am" "${S}/${norm}/Makefile.in" \
95 || die "sed in ${norm} folder failed"
96 done
97 }