summaryrefslogtreecommitdiff
path: root/misc/p5-Locale-Codes
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-05-28 20:52:33 +0000
committerabs <abs@pkgsrc.org>2008-05-28 20:52:33 +0000
commit7d297b82c6e4465e1cb27cae5d65c0af9dd83c66 (patch)
treea66abcbdda2fb1eabcdacf111c0ae88e16f1bdaa /misc/p5-Locale-Codes
parent97e83fc774563f9f157082806a4383099ec2558a (diff)
downloadpkgsrc-7d297b82c6e4465e1cb27cae5d65c0af9dd83c66.tar.gz
Update misc/p5-Locale-Codes from 1.06 to 2.07
2.07 2004-06-10 neilb * made $_ local in the initialisation code for each module change back-propagated from Perl distribution * removed two non ISO-8859-1 characters from language names change back-propagated from Perl distribution * added the following aliases, with a test case for each - Burma added to Myanmar - French Southern and Antarctic Lands to French Southern Territories patch from TJ Mather * "Canadian Dollar" was mis-spelled as "Candian Dollar" - noted by Nick Cabatoff, patch from Michael Hennecke * Changes to Locale::Country reflecting changes in ISO 3166 - added Aland Islands (ax, ala, 248) - YUGOSLAVIA is now SERBIA AND MONTENEGRO YU => CS YUG => SCG 891 => 891 (unchanged) (YUGOSLAVIA retained as an alias) - EAST TIMOR changed to TIMOR-LESTE (old name retained as an alias) - three letter code for Romania changed from ROM to ROU * ZAIRE is now CONGO, THE DEMOCRATIC REPUBLIC OF THE ZR => CD ZAR => COD 180 => 180 (unchanged) (ZAIRE retained as alias) 2.06 2002-07-15 neilb * The four modules which have data after __DATA__ weren't closing the DATA filehandle after reading from it, which they should. Bug and patch from Steve Hay. 2.05 2002-07-08 neilb * Added three letter codes for the countries that were missing them. Patch from TJ Mather. * Documentation bug: one of the examples used => where the lvalue was a constant, which isn't allowed, unless you put the () with the constant to force the right interpretation. Pointed out by TJ Mather and MYT. * Updated the URL for the appendix in the CIA world factbook. Patch from TJ Mather. 2.04 2002-05-23 neilb * updated according to changes in ISO 3166-1 described in ISO 3166-1 newsletters V-4 and V-5, dated 2002-05-20: - Kazakstan is now "Kazakhstan" - Macau is now "Macao" The old names are retained as aliases. The alpha-2 and alpha-3 codes for East Timor have changed: tp -> tl tmp -> tls the numeric code stays 626. If you want to support the old codes, you can use the semi-private function alias_code(). 2.03 2002-03-24 neilb * Fixed a typo in the alias for the Vatican, reported (with patch) by Philip Newton. * Added "Moldova" as an alias for "Moldova, Republic of" * Updated Makefile.PL to include AUTHOR and ABSTRACT 2.02 2002-03-09 neilb * added semi-private routine rename_country() to Locale::Country, based on a patch from Iain Chalmers. * added test rename.t for the above function. * renamed _alias_code to be alias_code. Have retained the old name for backwards compatibility. Will remove it when the major version number next changes. 2.01 2002-02-18 neilb * Split the documentation for all modules into separate pod files. * Made sure all =over were =over 4; some were other values. * The code2code() methods had one more shift than was needed. 2.00 2002-02-17 neilb * Created Locale::Script which provides an interface to the ISO codes for identification of scripts (writing scripts, rather than perl style scripts). The codes are defined by ISO 15924, which is currently in final draft. Thanks to Jarkko for pointing out this new standard. All three code sets are supported, and a test-suite added. * Added support for country name variants to Locale::Country, so that country2code('USA') country2code('United States') country2code('United States of America') will all return 'us'. This had been in the LIMITATIONS section since the first version. Patch from TJ Mather <tjmather@tjmather.com> with additional variants from me. Added test-cases for these. * Added VERSION to Locale::Constants. Thanks to Jarkko for pointing that it was missing. * Should really have bumped major version with previous release, since there was a change to the API.
Diffstat (limited to 'misc/p5-Locale-Codes')
-rw-r--r--misc/p5-Locale-Codes/Makefile26
-rw-r--r--misc/p5-Locale-Codes/distinfo8
2 files changed, 19 insertions, 15 deletions
diff --git a/misc/p5-Locale-Codes/Makefile b/misc/p5-Locale-Codes/Makefile
index f99f0bc4944..59758499e2e 100644
--- a/misc/p5-Locale-Codes/Makefile
+++ b/misc/p5-Locale-Codes/Makefile
@@ -1,17 +1,21 @@
-# $NetBSD: Makefile,v 1.23 2006/03/04 21:30:12 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2008/05/28 20:52:33 abs Exp $
-DISTNAME= Locale-Codes-1.06
-PKGNAME= p5-${DISTNAME}
-SVR4_PKGNAME= p5lco
-PKGREVISION= 2
-CATEGORIES= misc perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
+DISTNAME= Locale-Codes-2.07
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5lco
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Locale-Codes/Locale/Country.html
-COMMENT= Perl5 module providing access to ISO3166 and ISO639 Country Codes
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Locale-Codes/
+COMMENT= Perl5 module for ISO 3166, 639, 4217 and 15924 codes
-PERL5_PACKLIST= auto/Locale/.packlist
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Locale-Codes/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/p5-Locale-Codes/distinfo b/misc/p5-Locale-Codes/distinfo
index 3596b5088cb..e3e782c9b64 100644
--- a/misc/p5-Locale-Codes/distinfo
+++ b/misc/p5-Locale-Codes/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 11:02:57 agc Exp $
+$NetBSD: distinfo,v 1.5 2008/05/28 20:52:33 abs Exp $
-SHA1 (Locale-Codes-1.06.tar.gz) = d14f24035012456059bdc31840b96fd97211cb5f
-RMD160 (Locale-Codes-1.06.tar.gz) = 8d38d8f8269164a3c15d4a811f9f1f08ca3b0c42
-Size (Locale-Codes-1.06.tar.gz) = 17654 bytes
+SHA1 (Locale-Codes-2.07.tar.gz) = 1dc5c131a3892a92fc62e8961ad4c72d4d19f232
+RMD160 (Locale-Codes-2.07.tar.gz) = 63b170437b1ace1bf249d8c3fb24e1b4614e768b
+Size (Locale-Codes-2.07.tar.gz) = 25886 bytes