diff -Nru libregexp-common-time-perl-0.07/Changes libregexp-common-time-perl-0.14/Changes --- libregexp-common-time-perl-0.07/Changes 2014-09-08 16:52:48.000000000 +0000 +++ libregexp-common-time-perl-0.14/Changes 2017-08-07 10:18:11.000000000 +0000 @@ -1,37 +1,53 @@ Revision history for Perl module Regexp::Common::time. -0.07 2014-09-08 - - Update tests. - - Add use warnings; +0.14 2017-08-07 MANWAR + - Added MIN_PERL_VERSION to Makefile.PL script. -0.06 2014-08-26 +0.13 2017-07-22 MANWAR + - Added author only test (t/meta-json.t and t/meta-yml.t). + - Tidied up test (t/1-load.t). - - Remove Build.PL and keep only Makefile.PL - - Add resources to META files. +0.12 2017-07-19 MANWAR + - Added key 'provides' to the Makefile.PL script. -0.05 2013-11-20 +0.11 2017-07-14 MANWAR + - Added key 'dist' to the Makefile.PL script. - - Fix test RT #87476 +0.10 2017-07-08 MANWAR + - Added key 'clean' to the Makefile.PL script. +0.09 2017-06-28 MANWAR + - Added section LICENSE as suggested by CPANTS. -0.04 2008-05-29 +0.08 2017-06-20 MANWAR + - Fixed issue raised PR #4, thanks @yanick. + - Updated github repo info in the Makefile.PL script. + - POSIX is no longer pre-reqs but nice to have. + - Added MANIFEST file to the distribution. + - Updated README file. + - Tidied up Changes file. - - Possible fix for Taiwanese locale test failures. - Thanks to CPAN tester "imacat". +0.07 2014-09-08 + - Update tests. + - Add use warnings; +0.06 2014-08-26 + - Remove Build.PL and keep only Makefile.PL + - Add resources to META files. -0.03 2008-05-25 +0.05 2013-11-20 + - Fix test RT #87476 - - Bug fix: Makefile.PL had a syntax error. +0.04 2008-05-29 + - Possible fix for Taiwanese locale test failures. + Thanks to CPAN tester "imacat". +0.03 2008-05-25 + - Bug fix: Makefile.PL had a syntax error. -0.02 2008-05-23 - - - Add mail, MAIL, and american formats. - - Fix many broken test cases. - - -0.01 2005-12-04 - - - First version +0.02 2008-05-23 + - Add mail, MAIL, and american formats. + - Fix many broken test cases. +0.01 2005-12-04 + - First version diff -Nru libregexp-common-time-perl-0.07/debian/changelog libregexp-common-time-perl-0.14/debian/changelog --- libregexp-common-time-perl-0.07/debian/changelog 2014-10-11 23:07:13.000000000 +0000 +++ libregexp-common-time-perl-0.14/debian/changelog 2017-11-15 19:35:54.000000000 +0000 @@ -1,3 +1,20 @@ +libregexp-common-time-perl (0.14-1) unstable; urgency=medium + + * Team upload. + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * Add debian/upstream/metadata. + * Import upstream version 0.14. + * Update years of packaging copyright. + * Declare compliance with Debian Policy 4.1.1. + * Bump debhelper compatibility level to 9. + + -- gregor herrmann Wed, 15 Nov 2017 20:35:54 +0100 + libregexp-common-time-perl (0.07-1) unstable; urgency=low * Team upload diff -Nru libregexp-common-time-perl-0.07/debian/compat libregexp-common-time-perl-0.14/debian/compat --- libregexp-common-time-perl-0.07/debian/compat 2014-10-11 22:25:38.000000000 +0000 +++ libregexp-common-time-perl-0.14/debian/compat 2017-11-15 19:35:54.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru libregexp-common-time-perl-0.07/debian/control libregexp-common-time-perl-0.14/debian/control --- libregexp-common-time-perl-0.07/debian/control 2014-10-11 23:05:00.000000000 +0000 +++ libregexp-common-time-perl-0.14/debian/control 2017-11-15 19:35:54.000000000 +0000 @@ -2,15 +2,15 @@ Maintainer: Debian Perl Group Uploaders: Ernesto Hernández-Novich (USB) Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 9) Build-Depends-Indep: perl, libregexp-common-perl -Standards-Version: 3.9.6 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libregexp-common-time-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libregexp-common-time-perl.git +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libregexp-common-time-perl.git Homepage: https://metacpan.org/release/Regexp-Common-time -Testsuite: autopkgtest-pkg-perl Package: libregexp-common-time-perl Architecture: all @@ -20,4 +20,3 @@ Description: Regexp::Common extension for date and time matching Regexp::Common::time extends Regexp::Common with regular expressions that can be used for parsing dates and times. - diff -Nru libregexp-common-time-perl-0.07/debian/copyright libregexp-common-time-perl-0.14/debian/copyright --- libregexp-common-time-perl-0.07/debian/copyright 2014-10-11 22:25:38.000000000 +0000 +++ libregexp-common-time-perl-0.14/debian/copyright 2017-11-15 19:35:54.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Regexp-Common-time Source: https://metacpan.org/release/Regexp-Common-time Upstream-Contact: Eric J. Roode @@ -14,7 +14,7 @@ derivative (not dependent) works. Files: debian/* -Copyright: 2008, 2013, gregor herrmann +Copyright: 2008-2017, gregor herrmann 2008, Ernesto Hernández-Novich (USB) 2008, Roberto C. Sanchez License: Artistic or GPL-1+ diff -Nru libregexp-common-time-perl-0.07/debian/upstream/metadata libregexp-common-time-perl-0.14/debian/upstream/metadata --- libregexp-common-time-perl-0.07/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ libregexp-common-time-perl-0.14/debian/upstream/metadata 2017-11-15 19:35:54.000000000 +0000 @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Contact: Eric J. Roode +Name: Regexp-Common-time +Repository: https://github.com/manwar/Regexp-Common-time.git +Repository-Browse: https://github.com/manwar/Regexp-Common-time diff -Nru libregexp-common-time-perl-0.07/lib/Regexp/Common/time.pm libregexp-common-time-perl-0.14/lib/Regexp/Common/time.pm --- libregexp-common-time-perl-0.07/lib/Regexp/Common/time.pm 2014-09-08 16:56:48.000000000 +0000 +++ libregexp-common-time-perl-0.14/lib/Regexp/Common/time.pm 2017-08-07 10:17:17.000000000 +0000 @@ -8,9 +8,8 @@ use warnings; package Regexp::Common::time; -$Regexp::Common::time::VERSION = '0.07'; +$Regexp::Common::time::VERSION = '0.14'; use Regexp::Common qw(pattern); -use POSIX; sub _croak { require Carp; goto &Carp::croak} @@ -1389,7 +1388,11 @@ L is required for the test suite. -=head1 AUTHOR / COPYRIGHT +=head1 AUTHOR + +Eric J. Roode, ROODE I<-at-> cpan I<-dot-> org + +=head1 LICENSE AND COPYRIGHT Copyright (c) 2005-2008 by Eric J. Roode, ROODE I<-at-> cpan I<-dot-> org @@ -1415,6 +1418,4 @@ can offer only my sincere sympathy and apologies, and promise to endeavor to improve the software. - =cut - diff -Nru libregexp-common-time-perl-0.07/Makefile.PL libregexp-common-time-perl-0.14/Makefile.PL --- libregexp-common-time-perl-0.07/Makefile.PL 2014-08-26 06:43:07.000000000 +0000 +++ libregexp-common-time-perl-0.14/Makefile.PL 2017-08-07 10:08:23.000000000 +0000 @@ -6,23 +6,27 @@ NAME => 'Regexp::Common::time', VERSION_FROM => 'lib/Regexp/Common/time.pm', LICENSE => 'unrestricted', + MIN_PERL_VERSION => 5.006, BUILD_REQUIRES => { 'Test::More' => '0.40', }, PREREQ_PM => { 'Regexp::Common' => 0, - 'POSIX' => 0, }, - PL_FILES => {}, ABSTRACT_FROM => 'lib/Regexp/Common/time.pm', AUTHOR => 'Eric J. Roode ', + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'Regexp-Common-time-*' }, META_MERGE => { "meta-spec" => { version => 2 }, + provides => { + 'Regexp::Common::time' => { file => 'lib/Regexp/Common/time.pm', version => '0.14' }, + }, resources => { repository => { type => 'git', - url => 'git://github.com/szabgab/Regexp-Common-time.git', - web => 'https://github.com/szabgab/Regexp-Common-time', + url => 'git://github.com/manwar/Regexp-Common-time.git', + web => 'https://github.com/manwar/Regexp-Common-time', }, }, }, diff -Nru libregexp-common-time-perl-0.07/MANIFEST libregexp-common-time-perl-0.14/MANIFEST --- libregexp-common-time-perl-0.07/MANIFEST 2014-09-08 17:00:44.000000000 +0000 +++ libregexp-common-time-perl-0.14/MANIFEST 2017-08-07 10:18:50.000000000 +0000 @@ -1,7 +1,7 @@ Changes lib/Regexp/Common/time.pm Makefile.PL -MANIFEST +MANIFEST This list of files MANIFEST.SKIP README t/1-load.t @@ -16,5 +16,7 @@ t/tf.t t/ymd.t t/zone.t +t/meta-json.t +t/meta-yml.t META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) diff -Nru libregexp-common-time-perl-0.07/META.json libregexp-common-time-perl-0.14/META.json --- libregexp-common-time-perl-0.07/META.json 2014-09-08 17:00:44.000000000 +0000 +++ libregexp-common-time-perl-0.14/META.json 2017-08-07 10:18:50.000000000 +0000 @@ -4,7 +4,7 @@ "Eric J. Roode " ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060", + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005", "license" : [ "unrestricted" ], @@ -32,18 +32,25 @@ }, "runtime" : { "requires" : { - "POSIX" : "0", - "Regexp::Common" : "0" + "Regexp::Common" : "0", + "perl" : "5.006" } } }, + "provides" : { + "Regexp::Common::time" : { + "file" : "lib/Regexp/Common/time.pm", + "version" : "0.14" + } + }, "release_status" : "stable", "resources" : { "repository" : { "type" : "git", - "url" : "git://github.com/szabgab/Regexp-Common-time.git", - "web" : "https://github.com/szabgab/Regexp-Common-time" + "url" : "git://github.com/manwar/Regexp-Common-time.git", + "web" : "https://github.com/manwar/Regexp-Common-time" } }, - "version" : "0.07" + "version" : "0.14", + "x_serialization_backend" : "JSON::PP version 2.27400" } diff -Nru libregexp-common-time-perl-0.07/META.yml libregexp-common-time-perl-0.14/META.yml --- libregexp-common-time-perl-0.07/META.yml 2014-09-08 17:00:44.000000000 +0000 +++ libregexp-common-time-perl-0.14/META.yml 2017-08-07 10:18:50.000000000 +0000 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060' +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005' license: unrestricted meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,9 +17,14 @@ directory: - t - inc +provides: + Regexp::Common::time: + file: lib/Regexp/Common/time.pm + version: '0.14' requires: - POSIX: '0' Regexp::Common: '0' + perl: '5.006' resources: - repository: git://github.com/szabgab/Regexp-Common-time.git -version: '0.07' + repository: git://github.com/manwar/Regexp-Common-time.git +version: '0.14' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -Nru libregexp-common-time-perl-0.07/README libregexp-common-time-perl-0.14/README --- libregexp-common-time-perl-0.07/README 2008-05-29 16:23:08.000000000 +0000 +++ libregexp-common-time-perl-0.14/README 2017-06-28 11:19:51.000000000 +0000 @@ -1,4 +1,4 @@ -Regexp::Common::time v0.04 +Regexp::Common::time v0.09 ========================== This is a Regexp::Common plugin that provides regular expressions for @@ -33,13 +33,6 @@ To install this module type the following: - perl Build.PL - perl Build - perl Build test - perl Build install - -If you do not have Module::Build, you can use the older steps: - perl Makefile.PL make make test @@ -53,7 +46,7 @@ This module requires this other modules and libraries: Regexp::Common - POSIX + POSIX (optional) I18N::Langinfo (optional, but needed for internationalization) Also, Time::Normalize is likely to be useful to you. diff -Nru libregexp-common-time-perl-0.07/t/1-load.t libregexp-common-time-perl-0.14/t/1-load.t --- libregexp-common-time-perl-0.07/t/1-load.t 2014-09-08 16:58:39.000000000 +0000 +++ libregexp-common-time-perl-0.14/t/1-load.t 2017-07-22 03:46:58.000000000 +0000 @@ -1,7 +1,9 @@ - +use strict; +use warnings; use Test::More tests => 1; BEGIN { use_ok('Regexp::Common::time') }; +diag( "Testing Regexp::Common::time $Regexp::Common::time::VERSION, Perl $], $^X" ); # code taken from the module itself: my $can_posix = 0; @@ -21,4 +23,3 @@ }; diag "POSIX: $can_posix"; diag "I18N: $can_locale"; - diff -Nru libregexp-common-time-perl-0.07/t/meta-json.t libregexp-common-time-perl-0.14/t/meta-json.t --- libregexp-common-time-perl-0.07/t/meta-json.t 1970-01-01 00:00:00.000000000 +0000 +++ libregexp-common-time-perl-0.14/t/meta-json.t 2017-07-22 03:45:21.000000000 +0000 @@ -0,0 +1,23 @@ +#!/usr/bin/perl + +use 5.006; +use strict; use warnings; +use Regexp::Common::time; +use Test::More; + +eval "use Test::CPAN::Meta::JSON"; +plan skip_all => "Test::CPAN::Meta::JSON required for testing MYMETA.json" if $@; +plan skip_all => "Author test only." unless ($ENV{AUTHOR_TESTING}); + +my $meta = meta_spec_ok('MYMETA.json'); +my $version = $Regexp::Common::time::VERSION; + +is($meta->{version}, $version, 'MYMETA.json distribution version matches'); + +if ($meta->{provides}) { + foreach my $mod (keys %{$meta->{provides}}) { + is($meta->{provides}{$mod}{version}, $version, "MYMETA.json entry [$mod] version matches"); + } +} + +done_testing(); diff -Nru libregexp-common-time-perl-0.07/t/meta-yml.t libregexp-common-time-perl-0.14/t/meta-yml.t --- libregexp-common-time-perl-0.07/t/meta-yml.t 1970-01-01 00:00:00.000000000 +0000 +++ libregexp-common-time-perl-0.14/t/meta-yml.t 2017-07-22 03:45:35.000000000 +0000 @@ -0,0 +1,23 @@ +#!/usr/bin/perl + +use 5.006; +use strict; use warnings; +use Regexp::Common::time; +use Test::More; + +eval "use Test::CPAN::Meta"; +plan skip_all => "Test::CPAN::Meta required for testing MYMETA.yml" if $@; +plan skip_all => "Author test only." unless ($ENV{AUTHOR_TESTING}); + +my $meta = meta_spec_ok('MYMETA.yml'); +my $version = $Regexp::Common::time::VERSION; + +is($meta->{version}, $version, 'MYMETA.yml distribution version matches'); + +if ($meta->{provides}) { + foreach my $mod (keys %{$meta->{provides}}) { + is($meta->{provides}{$mod}{version}, $version, "MYMETA.yml entry [$mod] version matches"); + } +} + +done_testing();