summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-03-25 22:34:33 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-03-25 22:34:33 +0000
commit15226b6f88cf1e68aa91fa386a7cb9d3fa8ef5d1 (patch)
treef0fdfa8bda541a1510b3d1bd096b1647391d167c /app-text/iso-codes
parentBump to 1.5.5. Adds CoverWallpaper, LiveRadio, Magnatune, and Telepathy plugi... (diff)
downloadhistorical-15226b6f88cf1e68aa91fa386a7cb9d3fa8ef5d1.tar.gz
historical-15226b6f88cf1e68aa91fa386a7cb9d3fa8ef5d1.tar.bz2
historical-15226b6f88cf1e68aa91fa386a7cb9d3fa8ef5d1.zip
Version bump, now strip unwanted translations. Clean up old revisions.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-text/iso-codes')
-rw-r--r--app-text/iso-codes/ChangeLog6
-rw-r--r--app-text/iso-codes/Manifest12
-rw-r--r--app-text/iso-codes/iso-codes-3.14.ebuild52
-rw-r--r--app-text/iso-codes/iso-codes-3.8.ebuild26
4 files changed, 63 insertions, 33 deletions
diff --git a/app-text/iso-codes/ChangeLog b/app-text/iso-codes/ChangeLog
index a846004829dc..68b2c857ca63 100644
--- a/app-text/iso-codes/ChangeLog
+++ b/app-text/iso-codes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/iso-codes
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.84 2010/01/15 04:10:04 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/ChangeLog,v 1.85 2010/03/25 22:34:33 eva Exp $
+
+ 25 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org> -iso-codes-3.8.ebuild,
+ +iso-codes-3.14.ebuild:
+ Version bump, now strip unwanted translations. Clean up old revisions.
15 Jan 2010; Jonathan Callen <abcd@gentoo.org> iso-codes-3.11.1.ebuild:
Add prefix keywords
diff --git a/app-text/iso-codes/Manifest b/app-text/iso-codes/Manifest
index 1a3cfd64c4fa..d18d2223c37e 100644
--- a/app-text/iso-codes/Manifest
+++ b/app-text/iso-codes/Manifest
@@ -3,16 +3,16 @@ Hash: SHA1
DIST iso-codes-3.10.tar.bz2 5351303 RMD160 baca11224b8bcf241c59383400d937d3f115c1c3 SHA1 6eba71d4bb19ccd3f9c84cb11e0af708532d00ae SHA256 ae33db43ed7b325754f4887ff53adac1fb2978eae71aadeda511a4c1f9e71274
DIST iso-codes-3.11.1.tar.bz2 5588342 RMD160 738cfca7768e6c1cfd56f02ec39936d2da400fa0 SHA1 62944b6a5a41bfc45e1e340b9723c336b96bc428 SHA256 64ff90a9b96bfdc2e29da1b8431827ab59219b4295d4ff55f529fbe6e1750181
-DIST iso-codes-3.8.tar.bz2 5323027 RMD160 36ca00481e99c28e958ab85ece7cebfe3c332b51 SHA1 8a62219c7c5eafae0b65b58a61ec4a818fb178c3 SHA256 4cc4c3791f8f569af41b40835080b4b8b0c9305efd1ffebacebb576c518007a0
+DIST iso-codes-3.14.tar.bz2 5639840 RMD160 4b65a8ab61b5e48608fd0a1e3875200ebf112ce9 SHA1 48cae1c290db58e3222443cd3f6641317fffb388 SHA256 10ba5426a64970ae8b8da0f9bc837bbb9e69f261197846bd980755814837f83d
EBUILD iso-codes-3.10.ebuild 745 RMD160 231f1f1c5f78bdf42c5bb67757456cf6f6cb04c2 SHA1 d0835b4b5cfa33c42d1a22f0d8886ddfbd6419fc SHA256 d70184fdb3e25e24609bba4c573a401df64f39c66db891b07497d809f92257b7
EBUILD iso-codes-3.11.1.ebuild 852 RMD160 fc6778cc7c9595be6fab1b91b4107f614d626891 SHA1 b80d53c12f2d0f2612b05c3aee8b6e7848cf990d SHA256 d3a704b35f9eafb83b96f2e0429fdfd3f679da9ee951e48cfbbfb337c3efc6f6
-EBUILD iso-codes-3.8.ebuild 747 RMD160 e44e949b1f1b13db6113967709cef2103db573ae SHA1 4b2bb8d186b542cbb9fbbdb828536d1e12cadc7c SHA256 ccb522277ad78254e9b292bbc5db0fd2514b92559bec3f1cf3fe09655750a6ae
-MISC ChangeLog 10814 RMD160 9c70e461588c12a25c5bf286c1e0929f83d45551 SHA1 4fc94f97d29881a8bc22dc1543a0a6d3ed252a9e SHA256 cdb2e12ddea2afed0cfa9cae1f621f41fe5b97bb60256ca650cb0bacceee67e8
+EBUILD iso-codes-3.14.ebuild 1443 RMD160 311527b1ac113cc74680d8994c81975d6c52ac12 SHA1 716ddf794092ce76cfaba32f5f518e6098d00e8b SHA256 dddd87341772f27be2d0b2d594dbf4e2fea81742ddde87737ddb2388c4929946
+MISC ChangeLog 10990 RMD160 babfbe86365bb7f2cbc02fb336393b518f99c4a6 SHA1 dcede3627d9051917318bb402e4e1ac998416764 SHA256 f988e4b76ca1cd7ffa02056ac6ce5937f0e38f379ef9691114ccdc353f980903
MISC metadata.xml 387 RMD160 110fb26a8d959cfaa9ded0d5aaf4f3f26860eb66 SHA1 90b5f3b6d4b059b26db56f689f494a854b79f216 SHA256 d5252ca9dce95b72fa3153d212126bfa4594a1cf6868bff0dc205e46891a05e8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktP6qIACgkQOypDUo0oQOoARgCfUnBrGVwaB7f9K/TaytqqxHDY
-xlAAn0SoYj0ONoQwkBC2ixxAq7lQZLUL
-=HbIE
+iEYEARECAAYFAkur5P8ACgkQ1fmVwcYIWAYONQCg6/nszY/uDfkdaz8lqf1Pyjj1
+f4oAn3mSQRx61xTNEY/nFXd6d47klo+X
+=54N9
-----END PGP SIGNATURE-----
diff --git a/app-text/iso-codes/iso-codes-3.14.ebuild b/app-text/iso-codes/iso-codes-3.14.ebuild
new file mode 100644
index 000000000000..0850cebba1c9
--- /dev/null
+++ b/app-text/iso-codes/iso-codes-3.14.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.14.ebuild,v 1.1 2010/03/25 22:34:33 eva Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Provides the list of country and language names"
+HOMEPAGE="http://alioth.debian.org/projects/pkg-isocodes/"
+SRC_URI="ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-devel/gettext
+ || (
+ >=dev-lang/python-2.3[-build,xml]
+ dev-python/pyxml )"
+
+src_prepare() {
+ local linguas_bak=${LINGUAS}
+ local mylinguas=""
+
+ for norm in iso_15924 iso_3166 iso_3166_2 iso_4217 iso_639 iso_639_3; do
+ einfo "Preparing ${norm}"
+
+ mylinguas=""
+ LINGUAS=${linguas_bak}
+ strip-linguas -i "${S}/${norm}"
+
+ for loc in ${LINGUAS}; do
+ mylinguas="${mylinguas} ${loc}.po"
+ done
+
+ if [ -n "${mylinguas}" ]; then
+ sed -e "s:pofiles =.*:pofiles = ${mylinguas}:" \
+ -e "s:mofiles =.*:mofiles = ${mylinguas//.po/.mo}:" \
+ -i "${S}/${norm}/Makefile.am" "${S}/${norm}/Makefile.in" \
+ die "sed in ${norm} folder failed"
+ fi
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Installation failed"
+
+ dodoc ChangeLog README TODO || die "dodoc failed"
+}
diff --git a/app-text/iso-codes/iso-codes-3.8.ebuild b/app-text/iso-codes/iso-codes-3.8.ebuild
deleted file mode 100644
index 57934b567352..000000000000
--- a/app-text/iso-codes/iso-codes-3.8.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/iso-codes/iso-codes-3.8.ebuild,v 1.7 2009/07/04 18:33:08 ranger Exp $
-
-EAPI="2"
-
-DESCRIPTION="Provides the list of country and language names"
-HOMEPAGE="http://alioth.debian.org/projects/pkg-isocodes/"
-SRC_URI="ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND=""
-DEPEND="sys-devel/gettext
- || (
- >=dev-lang/python-2.3[-build,xml]
- dev-python/pyxml )"
-
-src_install() {
- emake DESTDIR="${D}" install || die "Installation failed"
-
- dodoc ChangeLog README TODO
-}