Commit graph

12 commits

Author SHA1 Message Date
obache
d4d001ed9c Revision bump after updating perl5 to 5.14.1. 2011-08-14 15:28:43 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
sno
113bc55dc9 Updating time/p5-DateTime-Format-Natural from 0.88 to 0.89
Upstream changes:
0.89  2010-08-05  <schubiger@cpan.org>
 - Merged development version to stable.

0.88_02  2010-07-29  <schubiger@cpan.org>
 - Replace calling of _valid_date() in _count_weekday_variant_month()
   with _check_date(), because errors are handled separate.
 - Use more descriptive variable names in _parse_formatted_ymd().
 - Minor indentation and code tweaks.

0.88_01  2010-07-18  <schubiger@cpan.org>
 - Check if suffixes used for ordinal numbers are suitable.
 - Test that invalid ordinal numbers fail and valid ones succeed.
 - Add a test file for the tests expected to succeed.
 - Verify for parse failures their errors emitted.
 - While processing grammar expressions, save all captured values
   in order to pass the extra ones to the extended checks.
 - Improve whitespace of regular expressions handling durations.
2010-08-17 05:52:55 +00:00
sno
6c25c725de Updating time/p5-DateTime-Format-Natural from 0.85 to 0.88
Upstream changes:
0.88  2010-06-16  <schubiger@cpan.org>
 - Merged development version to stable.

0.87_03  2010-06-12  <schubiger@cpan.org>
 - Fix broken use_ok() test for the Calc module.
 - Insert some missing examples in the grammar documentation.

0.87_02  2010-06-09  <schubiger@cpan.org>
 - Strengthen the check for invalid units of prefixed dates.
 - Add a test file for parse asserts.
 - Rename Base.pm to Calc.pm and adjust trace tests.
 - Reword the according abstract and description.
 - Document where arguments to dateparse's switches are required.
 - Allow dateparse to handle the language code in uppercase.

0.87_01  2010-06-06  <schubiger@cpan.org>
 - Match case-insensitively in the language option check.
 - Require (and not use) the grammar class in runtime eval.
 - Purge the remains of the formatted instance data member.
 - Delete some instance data through hash slices.
 - Convert a few non-option identifiers to lowercase.

0.87  2010-05-29  <schubiger@cpan.org>
 - Merged development version to stable.

0.86_02  2010-05-27  <schubiger@cpan.org>
 - Emit an error for 0 AM/PM suggesting to use 12 as zero.
 - Add tests for this extended check failure.
 - Adjust related prefer_future tests to make them pass.
 - When verifying that extended checks fail, call _get_error()
   to see whether it returns an error as expected.
 - Reset in _unset_error() with undef instead of empty string.

0.86_01  2010-05-18  <schubiger@cpan.org>
 - Introduce and use two flag handlers for AM/PM time values.
   [rt #56955 - Andrew Sterling Hanenkamp]
 - Assert that these values pass the extended meridiem check.
 - Split implicit matching of time only from grammar entries
   with an optional AM suffix.
 - Add tests for 12 AM/PM and the splitted grammar entries
   (including prefer_future ones).
 - Test that invalid meridiem time values fail.
 - Remove addition of 12 hours for PM time values in _at_time()
   and _time_full().
 - Dispatch to _at() for AM/PM time, to _time() for time only.
 - Comment the purpose of the wrappers _at() and _time().

0.86  2010-04-20  <schubiger@cpan.org>
 - Merged development version to stable.

0.85_02  2010-04-11  <schubiger@cpan.org>
 - Extract both caller and sub in ::Lang::Base's AUTOLOAD() at once.
 - Correct the indentation of the same subroutine.

0.85_01  2010-04-08  <schubiger@cpan.org>
 - New supported format: <time full> AM/PM. [Wes Morgan]
 - Make _time_full() capable of working with an hours option.
 - Initialize the hours option in _at_time() after having processed
   the arguments.
2010-08-04 16:47:08 +00:00
sno
9b2c3d51b0 Updating time/p5-DateTime-Format-Natural from 0.84 to 0.85
pkgsrc changes:
- Adjust HOMEPAGE to CPAN "Permalink"
- Adjust dependencies according to module's META.yml

Upstream changes:
0.85  2010-03-13  <schubiger@cpan.org>
 - Merged development version to stable.

0.84_03  2010-03-11  <schubiger@cpan.org>
 - Resolve short aliases only if preceded by a digit.
 - Don't capture the date separator for matching with the format.

0.84_02  2010-03-09  <schubiger@cpan.org>
 - Guess the format of dates with a dot or hyphen as separator.
 - Check for separator mismatch when not in lax mode.

0.84_01  2010-02-24  <schubiger@cpan.org>
 - Use the format parameter case-insensitively and test it.
 - Don't bless into a reference within the metadata base constructor.
 - Add some missing commas to the grammar description.
2010-03-16 17:16:44 +00:00
sno
fa09cb7976 Updating time/p5-DateTime-Format-Natural from 0.83 to 0.84
Upstream changes:
0.84  2010-02-22  <schubiger@cpan.org>
 - Merged development version to stable.

0.83_04  2010-02-16  <schubiger@cpan.org>
 - Enhance the regular expression matching a non-word alias.
 - Correct the indentation of _Nth_Weekday_of_Month_Year().

0.83_03  2010-02-14  <schubiger@cpan.org>
 - Introduce short name aliases. [rt #53976 - Kevin Field]
 - Support shortened relative dates with a +/- prefix.
   [rt #53976 - Kevin Field]
 - Add according tests for aliases and prefixed dates.
 - Test for case-insensitive processing of input strings.
 - Test compile-time loading of Aliases.pm.

0.83_02 Wed Jan 27 10:42:41 CET 2010
 - New supported formats: <time> <weekday> and <time> on <weekday>.
   [rt #53979 - Kevin Field]

0.83_01 Mon Jan 18 10:28:42 CET 2010
 - Pass the time zone object instead of name to the final DateTime
   constructor. [rt #53268 - Eric Wilhelm]
2010-02-23 19:13:06 +00:00
sno
bef6a030f5 Updating time/p5-DateTime-Format-Natural from 0.79 to 0.83
Upstream changes:
0.83 Wed Jan 13 15:51:11 CET 2010
 - Merged development version to stable.

0.82_02 Wed Jan  6 10:57:43 CET 2010
 - New supported format: M/D. [rt #53187 - Shawn M. Moore]
 - Handle the new format with prefer-future semantics.
 - Add tests for the new format and also for related durations.
 - Document the new format and variations of it.
 - Restrict counting of format separators to the formatted substring.
 - Move the code processing formatted dates to a separate class.
 - Fix the checking for an invalid format parameter.
 - Complete <date> <time> to <time> type of durations.
 - Split the duration string at word boundary of the separator.
 - Restore the datetime object for each parse when running tests.
 - Test compile-time loading of Formatted.pm.

0.82_01 Thu Dec 31 12:10:30 CET 2009
 - Save the trace of each parse while processing a duration.
 - Call for formatted dates the wrapper _set() instead of set()
   in order to alter the modified counters.
 - dateparse: when printing traces, print a trace for each object
   returned.
 - Add tests for the trace method and improve its documentation.
 - Document possible bugs and caveats.
 - Rename some variables with method name strings to be more
   descriptive and also interpolate their strings initially.
 - Substitute an expression for a block as used by 'map'.

0.82 Mon Dec 21 10:15:52 CET 2009
 - Merged development version to stable.

0.81_04 Wed Dec 16 13:32:35 CET 2009
 - dateparse: use the same class instance for each parse run;
   match case-insensitively for commands that quit.

0.81_03 Fri Dec 11 10:32:08 CET 2009
 - Use string interpolation instead of concatenation for symbolic
   references in __new().

0.81_02 Wed Dec  9 20:07:19 CET 2009
 - Reduce the common logic of _valid_date() and _valid_time()
   by moving most of it to a method.
 - Store the daytime option internally with a less nested name.

0.81_01 Mon Dec  7 11:14:19 CET 2009
 - Place the common body of _add() and _subtract() in a single method.
 - Comment the inverse use of _add() within _add_or_subtract().
 - Set values at once within _check_time().
 - Initialize tokens with an anonymous array reference.
 - Purge last unneeded occurrence of 'scalar'.

0.81 Sat Nov 21 12:59:17 CET 2009
 - Merged development version to stable.

0.80_02 Wed Nov 18 10:53:05 CET 2009
 - Move utility and wrapper methods to separate classes.
 - Test compile-time loading of Utils.pm and Wrappers.pm.
 - Don't force explicit scalar context where an implicit one exists.

0.80_01 Mon Nov  2 10:59:46 CET 2009
 - Invoke _valid_date() in _day_month_year() to assert the
   validity of the date before setting it.
 - Separate fixed time data for testing purpose from code.

0.80 Fri Oct 30 10:15:53 CET 2009
 - Merged development version to stable.

0.79_02 Mon Oct 26 10:11:09 CET 2009
 - Improve wording and formatting of the documentation.
 - Update broken license links.
2010-01-29 10:45:46 +00:00
sno
9f484f3fd3 Updating time/p5-DateTime-Format-Natural from 0.78 to 0.79
pkgsrc changes:
  - reorder dependencies

Upstream changes:
0.79 Sat Sep 19 12:23:20 CEST 2009
 - Merged development version to stable.

0.78_03 Thu Sep 17 12:13:08 CEST 2009
 - Relocate the formatted string printing of result strings
   used within the tests to the Test class.

0.78_02 Mon Sep 14 17:18:40 CEST 2009
 - Add support for ranges representing the first and last day
   of a month or year. [rt #44067 - Michael Reddick]
 - Move the insertion code in parse_datetime_duration() to the
   Duration class and the checks to the english metadata class.
 - Quote for parsing failures with duration strings the entire
   input string instead of a partial date string.
 - Save and restore state for parse_datetime_duration().
 - Test compile-time loading of Duration.pm.

0.78_01 Tue Sep  1 15:51:59 CEST 2009
 - Set units at once within _check_date() when Date::Calc is
   not available and add a test. [rt #49326 - Clayton L. Scott]
2009-09-19 22:51:37 +00:00
sno
e857877b8c Updating package for p5 module DateTime::Format::Natural from 0.77 to 0.78
pkgsrc changes:
  - Fixing dependency from time/p5-Date-Calc to devel/p5-Date-Calc

Upstream changes:
0.78 Fri Aug  7 11:32:31 CEST 2009
 - Merged development version to stable.

0.77_01 Thu Jun 25 16:00:27 CEST 2009
 - Add a handful of new formats. [rt #43468 - Clayton L. Scott]
 - Don't eventually try to guess the century.
 - Introduce and use a class for common test routines.
 - Test compile-time loading of Test.pm.
 - Rename the misnamed 'hour' metadata option to 'hours'.
 - _daytime() does not use the 'hours' metadata option when
   it is set and hence remove such existing entries.
 - For base methods which use the 'hours' metadata option,
   assume a zero when no value is provided.
2009-08-09 07:31:59 +00:00
sno
ac3f11d712 pkgsrc changes:
- Updating package of p5 module DateTime::Format::Natural from 0.76 to
    0.77
  - Adjusting license according to META.yaml

Upstream changes:
0.77 Sun Jun 14 20:46:53 CEST 2009
 - Merged development version to stable.

0.76_04 Sat Jun 13 14:04:21 CEST 2009
 - Remove comment in code about the legacy debug option.
 - Use '\s+' instead of the ambiguous ' ' as token split pattern.
 - Add some whitespace to the regexp which recognizes additional
   tokens for formatted dates.

0.76_03 Wed Jun 10 11:50:42 CEST 2009
 - The current "now" can be overridden through the 'datetime'
   option. [rt #45127 - Giovanni Pensa]
 - parse_datetime_duration() handles durations where the second
   part is relative to the first one. [rt #45127 - Giovanni Pensa]
 - New supported relative duration: for <count> <unit>.
   [rt #45127 - Giovanni Pensa]

0.76_02 Sat Jun  6 13:24:58 CEST 2009
 - When using prefer_future, also allow for weekdays combined with
   the time of day to be parsed correctly. [rt #46689 - Jason May]
 - New supported format: <weekday> <time>. [rt #46689 - Jason May]

0.76_01 Mon Jun  1 21:34:06 CEST 2009
 - Change in default behavior: Use DateTime's truncate method
   to reset time components. Inspired by [rt #43468 - Clayton
   L. Scott] and suggestions from others.
2009-06-15 23:23:43 +00:00
sno
63a7e18fdf PkgSrc changes:
- Updating package for p5 module DateTime::Format::Natural from 0.74 to 0.76
  - Setting license to gnu-gpl-v2
  - Adjusting dependencies

Upstream changes:
0.76 Thu Apr  9 12:08:32 CEST 2009
 - Merged development version to stable.

0.75_05 Mon Apr  6 12:42:26 CEST 2009
 - New supported format: final <weekday> in <month>.
   [rt #44810 - Christian Brink]
 - Wrap Days_in_Month() in Compat.pm.

0.75_04 Fri Apr  3 15:13:36 CEST 2009
 - New supported formats: some suggested by [rt #44067 - Michael
   Reddick], while others have been independently added.
 - Fix a regression [rt #44691 - Jason May].
 - Shift common conversion logic within base calculation methods
   to the grammar class.
 - Introduce a helper class for handling actions related to
   metadata flags and to serve as container for setter/checker
   methods.
 - Wrap Decode_Month() in Compat.pm.
 - Test both implementations within each method in Compat.pm.
 - Preserve order of tests.
 - Add a test-file for regressions.
 - Remove the obsoleted internal use of a total-modified counter.

0.75_03 Wed Mar  4 13:39:08 CET 2009
 - Enhance the extended checks mechanism further to have it set
   an error message when a check fails.
 - Run tests without sorting the input strings first.
 - Test compile-time loading of Compat.pm.

0.75_02 Thu Feb 26 11:01:11 CET 2009
 - Date::Calc is no longer a prerequisite; use it when available
   for calculations, otherwise fall back to using DateTime.
   [rt #43521 - Jesse Vincent <jesse@bestpractical.com>]

0.75_01 Sun Feb 22 12:09:32 CET 2009
 - When prefer_future is set: Advance the day if the time
   specified is noticeable in the past. [rt #43417 - Jason May]
 - New supported format: <month> <monthday> <year>.
   [rt #43467 - Clayton L. Scott <clscott@cpan.org>]

0.75 Thu Feb 19 16:50:19 CET 2009
 - Merged development version to stable.

0.74_04 Son Feb 15 20:59:28 CET 2009
 - Refrain from adding leading zeros to unit values via
   sprintf() when constructing the final DateTime object.
 - Do not import Date_to_Days(), it's no longer required.

0.74_03 Fri Feb 13 13:15:11 CET 2009
 - Guard against invalid expressions with a 's' suffix,
   but no multiple unit count.
 - Work around the segmentation fault taking place in 0.74_02
   on perl 5.8.9 and 5.10.0.

0.74_02 Sun Feb  8 11:47:50 CET 2009
 - New supported format: <count> <weekday>(s) from now.
   [rt #43088 - Anirvan Chatterjee]
 - Add a new field to the language grammar entries to handle
   extended checks of captured regex data.

0.74_01 Thu Jan  8 16:06:17 CET 2009
 - When a four digit year is found, also allow for mm/dd/yyyy
   kind of formats. [Elliot Shank <perl@galumph.com>]
2009-05-02 21:26:36 +00:00
abs
1ab51dd112 Added time/p5-DateTime-Format-Natural version 0.74
DateTime::Format::Natural takes a string with a human readable
date/time and creates a machine readable one by applying natural
parsing logic.
2009-02-13 23:48:50 +00:00