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.51.ebuild ChangeLog iso-codes-3.42.ebuild
Date: Sun, 09 Feb 2014 13:29:47
Message-Id: 20140209132944.4AF822004C@flycatcher.gentoo.org
1 pacho 14/02/09 13:29:44
2
3 Modified: ChangeLog
4 Added: iso-codes-3.51.ebuild
5 Removed: iso-codes-3.42.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.150 app-text/iso-codes/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.150&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?rev=1.150&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/ChangeLog?r1=1.149&r2=1.150
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v
21 retrieving revision 1.149
22 retrieving revision 1.150
23 diff -u -r1.149 -r1.150
24 --- ChangeLog 22 Dec 2013 15:27:56 -0000 1.149
25 +++ ChangeLog 9 Feb 2014 13:29:44 -0000 1.150
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.149 2013/12/22 15:27:56 jer Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.150 2014/02/09 13:29:44 pacho Exp $
32 +
33 +*iso-codes-3.51 (09 Feb 2014)
34 +
35 + 09 Feb 2014; Pacho Ramos <pacho@g.o> +iso-codes-3.51.ebuild,
36 + -iso-codes-3.42.ebuild:
37 + Version bump, drop old
38
39 22 Dec 2013; Jeroen Roovers <jer@g.o> iso-codes-3.45.ebuild:
40 Stable for HPPA (bug #478252).
41
42
43
44 1.1 app-text/iso-codes/iso-codes-3.51.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.51.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/iso-codes/iso-codes-3.51.ebuild?rev=1.1&content-type=text/plain
48
49 Index: iso-codes-3.51.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.51.ebuild,v 1.1 2014/02/09 13:29:44 pacho Exp $
54
55 EAPI="5"
56 inherit eutils
57
58 DESCRIPTION="ISO language, territory, currency, script codes and their translations"
59 HOMEPAGE="http://pkg-isocodes.alioth.debian.org/"
60 SRC_URI="http://pkg-isocodes.alioth.debian.org/downloads/${P}.tar.xz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 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"
65 IUSE=""
66
67 RDEPEND=""
68 DEPEND="
69 app-arch/xz-utils
70 sys-devel/gettext
71 "
72
73 # This ebuild does not install any binaries
74 RESTRICT="binchecks strip"
75
76 src_prepare() {
77 local linguas_bak=${LINGUAS}
78 local mylinguas=""
79
80 [[ -z ${LINGUAS} ]] && return
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 sed -e "s:pofiles =.*:pofiles = ${mylinguas} ${NULL}:" \
94 -e "s:mofiles =.*:mofiles = ${mylinguas//.po/.mo} ${NULL}:" \
95 -i "${S}/${norm}/Makefile.am" "${S}/${norm}/Makefile.in" \
96 || die "sed in ${norm} folder failed"
97 done
98 }