pkgsrc/devel/p5-Date-Manip/Makefile

28 lines
844 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.40 2012/10/31 11:17:57 asau Exp $
Update to 6.34: VERSION 6.34 (2012-09-04) ^ This is a bug fix so that the PATH won't break non-unix installs. Bug fixes Put the PATH inside the Unix section so it doesn't affect non-unix envvironments. Geoff Rowell VERSION 6.33 (2012-09-01) ^ Improvements to Date::Manip::Delta Added convert method. This had been planned since 6.30, but based on a discussion with Henrique Martins, I moved it up in priority. Cleaned up handling of delta field lengths (they are now only calculated once. Added cmp method. Henrique Martins Bug fixes The language modules read from the DATA section, but I never closed the filehandle. This is fixed now. Patch by Doru Theodor Petrescu Added better loading of DM5/DM6 modules. RT 78512 Added a secure PATH to TZ.pm for taint reasons. In response to RT 78566 Time zone fixes Now supports timezones in files with spaces where there should be underscores. This occurs in RHEL desktop. RT 78566 Newest zoneinfo data (tzdata 2012e) Documentation fixes Minor fix. Henrique Martins VERSION 6.32 (2012-06-01) ^ Modified Build.PL Build.PL now has better support for building (or not building) HTML files. Apparently this is slow on Windows. Patch provide in RT 75118. Bug fixes Fixed a bug in business day calculations. RT 76336 Fixed a bug where Delta/Recur objects weren't correctly created. Zsban Ambrus Fixed a bug where SetDate/ForceDate config variables could not be included in a file. Jerry Wilcox Time zone fixes Newest zoneinfo data (tzdata 2012c). Documentation fixes Better support for UTF-8 in autogenerated language module pod files.
2012-10-22 00:40:50 +02:00
DISTNAME= Date-Manip-6.34
Updated to version 5.48 Pkgsrc changes: - DISTNAME adapted to new name of archive file. - The package supports installation to DESTDIR. Changes since version 5.44: ===================================== Version 5.45 DEVELOPMENT Fixed bug in parsing ISO 8601 dates. Paul Schinder <schinder@leprss.gsfc.nasa.gov> Language fix for Danish. <claus.just.rasmussen@get2net.dk> Added "overmorrow". Ed Avis <avised@kbcfp.com> Language fix for German. Andreas Dembach <ad@dg-i.net> Fixed a bug in UnixDate for years before 1000 AD. Joaquin Ferrero <explorer@aprosi.net> Fixed a bug where "today" wasn't case insensitive. Pedro Rodrigues <pedro.ruano@gmail.com> New timezones. Khairil Yusof <khairil.yusof@gmail.com>, Andy Spiegel <debian.Andy@spiegl.de>, Ernesto Rapetti <erapetti@item.org.uy> Fixed a bug where business/approximate mode wasn't correctly used in DateCalc. Mark T. Kennedy <mkennedy@diamondbackcap.com> Minor documentation improvement. Caminati Carlo <C.Caminati@selta.it> Bug in DateCalc where you couldn't pass undef as the errref. Alex Howansky <alex@howansky.org> Bug where cygwin wasn't using the date command. Rafael Kitover <rkitover@cpan.org> New timezones. Robin Norwood <rnorwood@redhat.com> Fixed russian timezones. Yuri Kovalenko <Yu.V.Kovalenko@inp.nsk.su> Lots of spelling fixes. Asaf Bartov <ijon@forum2.org> Version 5.46 2007-02-21 Released Version 5.47 DEVELOPMENT Revised some of the docs about Y2K (given that it's in the past) and the 2007 US daylight saving time rule changes. Suggested by Fixed a problem in the WEST timezone. Cristina Nunes <cristina.nunes@segula.pt> Added timzezone. Kimmo R. M. Hovi <kimmo.hovi@kronodoc.com> Fixed the version number. John R. Daily <jdaily@apparatus.net> Fixed a warning when the date command not present. Daniel Hahler <daniel@thequod.de> Fixed a bug where recurrences of the form 0:1*, 0:0:1*, etc., incorrectly required a base date. Gerry Lawrence <gwl@ufl.edu> Fixed a bug where "substring" was used instead of "substr". <lbenton@csu.edu.au> Version 5.48 2007-11-27 Released
2008-01-05 23:57:22 +01:00
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5dma
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Date/}
MAINTAINER= pkgsrc-users@NetBSD.org
2008-01-19 14:06:07 +01:00
HOMEPAGE= http://search.cpan.org/dist/Date-Manip/
COMMENT= Perl5 module for date calculations
2010-01-20 16:13:16 +01:00
LICENSE= ${PERL5_LICENSE}
PKG_INSTALLATION_TYPES= overwrite pkgviews
Update to 6.05: Version 5.55 DEVELOPMENT Typo fix. ddascalescu Version 6.00 2009-11-23 Date::Manip 6.00 is a total rethink of the module, and a nearly complete rewrite. Please refer to the Date::Manip::Changes5to6 document for a list of incompatible changes. *** Massive reorganization and near total rewrite. *** Broke into several smaller modules *** Full timezone support Several config variables deprecated Added some functionality (suggested by James Elson to improve setting the "current time". Done with the ForceDate config variable. *** Converted languages to YAML for much easier maintenance. Patch and suggestion provided by Evan Carroll Added much better formats for deltas. Suggested by Jim Hranicky. Borrowed the _FindWindowsTZName function from the DateTime-TimeZone module. Added SetDate config variable (based on a suggestion by Christian Campbell). Added parse_format which was first suggested by Kim Ryan. Thanks to Jonathan Hogue for helping test Windows additions. It also contains a few bug fixes correcting problems in the 5.xx releases: Fixed a bug where "YYtoYYYY=c" wouldn't work. VMS bugfix to not call `date` command. Lane Fixed typo in turkish translation. Spelling fix in dutch. Bart Van Loon New Year's Day defined using a recurrence which might push the observed day to the previous year was broken. Reported by Alan Burlison I have received many suggestions over time which were automatically handled during the 6.00 rewrite. Although the changes weren't made because of the suggestions specifically, I wanted to acknowledge them since I appreciate the suggestions. Delta_Format initialization done outside of the function. Eric Boehm Added $subtract to calculation routines. First suggested by Steve Berlage. Version 6.01 2009-11-23 *** Fixed a bug where dates were sometimes getting the wrong timezone when SetDate/ForceDate in effect. Version 6.02 2009-11-24 A quick fix to make sure that the tests run correctly in other timezones. Disabled curr_zone_methods when taint checking on. I believe that Date::Manip is completely taint friendly at this point. Version 6.03 2009-11-24 Corrects a backward incompatibility with UnixDate. Rene Schickbauer A couple more corrections to the tests. Version 6.04 2009-11-25 Fixed a bug where events were not interpreted in the correct timezone if SetDate/ForceDate used. Version 6.05 Significant speedups. Thanks to Moritz Lenz and BrowserUK on perlmonks for suggestions (and a number of other people on perlmonks for suggestions that I did not end up using, but which provided a great discussion). Reduced the precision of 1 test to avoid a rounding difference when using a perl compiled with uselongdouble. Andreas Koenig Fixed a bug in parse_date where the current time was getting used instead of the documented 00:00:00 Bug fix where DateCalc didn't work with $mode in some cases. Fixed Makefile.PL/Build.PL to hanle Win32::TieRegistry requirement. Changed %z printf behavior back to 5.xx and added %N format. Gilles Lamiral Fixed bug where non-English Windows versions didn't get the timezone. Thanks to Rene Schickbauer for testing.
2010-01-20 16:12:13 +01:00
DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage
DEPENDS+= p5-YAML-Syck-[0-9]*:../../textproc/p5-YAML-Syck
# only needed for tests
BUILD_DEPENDS+= p5-Test-Inter-[0-9]*:../../devel/p5-Test-Inter
Update to 6.05: Version 5.55 DEVELOPMENT Typo fix. ddascalescu Version 6.00 2009-11-23 Date::Manip 6.00 is a total rethink of the module, and a nearly complete rewrite. Please refer to the Date::Manip::Changes5to6 document for a list of incompatible changes. *** Massive reorganization and near total rewrite. *** Broke into several smaller modules *** Full timezone support Several config variables deprecated Added some functionality (suggested by James Elson to improve setting the "current time". Done with the ForceDate config variable. *** Converted languages to YAML for much easier maintenance. Patch and suggestion provided by Evan Carroll Added much better formats for deltas. Suggested by Jim Hranicky. Borrowed the _FindWindowsTZName function from the DateTime-TimeZone module. Added SetDate config variable (based on a suggestion by Christian Campbell). Added parse_format which was first suggested by Kim Ryan. Thanks to Jonathan Hogue for helping test Windows additions. It also contains a few bug fixes correcting problems in the 5.xx releases: Fixed a bug where "YYtoYYYY=c" wouldn't work. VMS bugfix to not call `date` command. Lane Fixed typo in turkish translation. Spelling fix in dutch. Bart Van Loon New Year's Day defined using a recurrence which might push the observed day to the previous year was broken. Reported by Alan Burlison I have received many suggestions over time which were automatically handled during the 6.00 rewrite. Although the changes weren't made because of the suggestions specifically, I wanted to acknowledge them since I appreciate the suggestions. Delta_Format initialization done outside of the function. Eric Boehm Added $subtract to calculation routines. First suggested by Steve Berlage. Version 6.01 2009-11-23 *** Fixed a bug where dates were sometimes getting the wrong timezone when SetDate/ForceDate in effect. Version 6.02 2009-11-24 A quick fix to make sure that the tests run correctly in other timezones. Disabled curr_zone_methods when taint checking on. I believe that Date::Manip is completely taint friendly at this point. Version 6.03 2009-11-24 Corrects a backward incompatibility with UnixDate. Rene Schickbauer A couple more corrections to the tests. Version 6.04 2009-11-25 Fixed a bug where events were not interpreted in the correct timezone if SetDate/ForceDate used. Version 6.05 Significant speedups. Thanks to Moritz Lenz and BrowserUK on perlmonks for suggestions (and a number of other people on perlmonks for suggestions that I did not end up using, but which provided a great discussion). Reduced the precision of 1 test to avoid a rounding difference when using a perl compiled with uselongdouble. Andreas Koenig Fixed a bug in parse_date where the current time was getting used instead of the documented 00:00:00 Bug fix where DateCalc didn't work with $mode in some cases. Fixed Makefile.PL/Build.PL to hanle Win32::TieRegistry requirement. Changed %z printf behavior back to 5.xx and added %N format. Gilles Lamiral Fixed bug where non-English Windows versions didn't get the timezone. Thanks to Rene Schickbauer for testing.
2010-01-20 16:12:13 +01:00
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Date/Manip/.packlist
PERL5_MODULE_TYPE= Module::Build
2002-10-14 00:22:45 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"