diff options
author | wiz <wiz@pkgsrc.org> | 2015-11-08 08:33:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-11-08 08:33:17 +0000 |
commit | be258456d8152dd4239907db3f9e5c9380a977e5 (patch) | |
tree | c695da4bd7e65fee5c15d42fad7b79e233f7d748 /time | |
parent | 8e8244a7c53ff44402ab2276c3b5213c8e3b7104 (diff) | |
download | pkgsrc-be258456d8152dd4239907db3f9e5c9380a977e5.tar.gz |
Update p5-DateTime-Locale to 1.01.
Remove duplicate depends, add test dependencies.
1.01 2015-11-07
- Prevent CPAN from indexing the tools directory, which is just for the
author's use.
1.00 2015-11-07
* All of these changes were originally released in previous trial releases,
but I'm repeating them here for clarity.
[ENHANCEMENTS]
- This release uses the locale data from CLDR version 28. The last major
update of the locale data used CLDR 1.7.1, released in 2009, so this is a
big change. Many things have changed in terms of locale data.
- Some locales are no longer available because they are not in the CLDR data.
- The CLDR data no longer includes default date and time format lengths. This
is now "medium" for every locale, simply to provide some level of backwards
compatibility.
- Loading DateTime::Locale itself is now quite a bit faster. The whole locale
registration system has been removed entirely, except for custom
locales. This fixes RT #78794. Requested by Michael Conrad.
- A long-standing issue with the Austrian locale not using the Austrian name
for January has been fixed. RT #52337. Reported by Thomas Klausner.
[BACKWARDS INCOMPATIBILITIES]
- This is a big new release, and includes a number of backwards-incompatible
changes. However, most users should be unaffected by this change. If you
only use this module via DateTime.pm, you are unlikely to notice any changes
other than changes to the locale data.
- The old API deprecated since 0.40 has been removed (almost) entirely.
- We now refer to things as "code" in the docs and method names where we used
to call them ids. This includes locale, language, script, territory, and
variant codes. This is more in line with the various ISO standards and the
CLDR packages.
- All the $locale->*_id methods (including $locale->id) are deprecated. Use
the relevant $locale->*_code method instead.
- The canonical form of the locale codes now uses dashes (-) instead of
underscores (_). Loading a locale with an underscore in the name
(e.g. en_US) still works.
- The way that locale data is packaged has changed quite a bit. We no longer
package each locale in its own class. Instead, all locale data is in a
single module (mostly in a __DATA__ section) and loaded into memory as
needed. If you have any code that checks $locale->isa, that code may
break.
- Locales are no longer subclasses of DateTime::Locale::Base. This module is
still included in the distribution in case someone has a custom locale that
inherits from this module. However, this module will go away in a future
release.
z
- The "ii-*" aliases for the "he-*" locales have been removed.
- The "no-*" aliases for the "nn-*" locales have been removed.
- The value of $locale->code no longer reflects the value passed to
DateTime::Locale->load. This only affects aliases and non-canonical forms of
the code. For example, if you load "en_US" then $locale->code will return
"en-US". If you load "C" or "POSIX" the returned code will be "en-US-POSIX".
- All of the documentation related to creating aliases and registering custom
locales has been removed. All of these methods still work, but I don't think
this system got much use, so I don't want to emphasize it in the docs. (But
let me know if you are using this and want to see these docs restored).
0.96 2015-10-04 (TRIAL RELEASE)
- Locale data with characters in the 0x80-0xFF range was not marked as UTF-8
by Perl. This could cause all sorts of weirdness and was generally bad.
0.95 2015-09-30 (TRIAL RELEASE)
- Added .pod files for each locale that document the data for that locale.
0.94 2015-09-30 (TRIAL RELEASE)
- Restored the datetime_format method to individual locale objects for
backwards compatibility.
0.93 2015-09-28 (TRIAL RELEASE)
- Really release a trial release this time. I'm not kidding. See 0.90 for the
interesting changes.
Diffstat (limited to 'time')
-rw-r--r-- | time/p5-DateTime-Locale/Makefile | 7 | ||||
-rw-r--r-- | time/p5-DateTime-Locale/distinfo | 10 |
2 files changed, 9 insertions, 8 deletions
diff --git a/time/p5-DateTime-Locale/Makefile b/time/p5-DateTime-Locale/Makefile index a663d31d1a7..48821dfa654 100644 --- a/time/p5-DateTime-Locale/Makefile +++ b/time/p5-DateTime-Locale/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2015/09/30 20:20:49 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2015/11/08 08:33:17 wiz Exp $ -DISTNAME= DateTime-Locale-0.92 +DISTNAME= DateTime-Locale-1.01 PKGNAME= p5-${DISTNAME} CATEGORIES= time perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/} @@ -12,8 +12,9 @@ LICENSE= ${PERL5_LICENSE} DEPENDS+= p5-Dist-CheckConflicts-[0-9]*:../../devel/p5-Dist-CheckConflicts DEPENDS+= p5-Params-Validate>=0.91:../../devel/p5-Params-Validate -DEPENDS+= p5-Params-Validate>=0.91:../../devel/p5-Params-Validate DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils +BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires +BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings USE_LANGUAGES= # empty PERL5_PACKLIST= auto/DateTime/Locale/.packlist diff --git a/time/p5-DateTime-Locale/distinfo b/time/p5-DateTime-Locale/distinfo index 1ea690a39db..dba1a75cad8 100644 --- a/time/p5-DateTime-Locale/distinfo +++ b/time/p5-DateTime-Locale/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.15 2015/11/02 23:31:40 agc Exp $ +$NetBSD: distinfo,v 1.16 2015/11/08 08:33:17 wiz Exp $ -SHA1 (DateTime-Locale-0.92.tar.gz) = be4843f7f861efde6ac1db50eeeabfe9a03b88c8 -RMD160 (DateTime-Locale-0.92.tar.gz) = 299651dba35add124b662dd56590aaea86e8f123 -SHA512 (DateTime-Locale-0.92.tar.gz) = 5d5555abc25fe0c962882c90cdbb272c1ae14f4d9756cb5539889de93663d9527b6267ac91a183e57eaaef860c49a41f1ec9f751c1fae119a57d1c01740eca2b -Size (DateTime-Locale-0.92.tar.gz) = 2575785 bytes +SHA1 (DateTime-Locale-1.01.tar.gz) = ca1657d217e0d3dc77b2ec393a0e8cb3131c22dc +RMD160 (DateTime-Locale-1.01.tar.gz) = b43968eb81e4988dded414ee2d5a2303b067db80 +SHA512 (DateTime-Locale-1.01.tar.gz) = 2bf5058aa9bce43c76ece1c84747ad881671bc63d7ac0ca34dd5793137d3642d07ca64e76f6179ebc358ed877b5997ffc63da0651c0620e61d463dc682d64016 +Size (DateTime-Locale-1.01.tar.gz) = 929822 bytes |