From 91232e2fbd531e5f4f76e2386957221596022ae0 Mon Sep 17 00:00:00 2001 From: "Michael G. Schwern" Date: Wed, 18 Nov 2015 19:57:38 -0800 Subject: [PATCH] Update links to point at Github and metacpan. --- README.txt | 2 +- perl/Time-y2038/.gitignore | 1 + perl/Time-y2038/Build.PL | 7 ++++ perl/Time-y2038/INSTALL | 6 +-- perl/Time-y2038/MANIFEST | 1 + perl/Time-y2038/META.json | 62 +++++++++++++++++++++++++++++++ perl/Time-y2038/META.yml | 28 ++++++++------ perl/Time-y2038/lib/Time/y2038.pm | 8 ++-- 8 files changed, 94 insertions(+), 21 deletions(-) create mode 100644 perl/Time-y2038/META.json diff --git a/README.txt b/README.txt index 34f11cb..3bd3662 100644 --- a/README.txt +++ b/README.txt @@ -1,7 +1,7 @@ This is an implementation of POSIX time.h which solves the year 2038 bug on systems where time_t is only 32 bits. It is implemented in bog-standard ANSI C. The latest version can be found at -http://y2038.googlecode.com/ +https://github.com/evalEmpire/y2038 It makes use of the system's native 32 bit functions to perform time zone and daylight savings time calculations and thus does *not* need diff --git a/perl/Time-y2038/.gitignore b/perl/Time-y2038/.gitignore index 9eb20d4..79ef3e6 100644 --- a/perl/Time-y2038/.gitignore +++ b/perl/Time-y2038/.gitignore @@ -2,3 +2,4 @@ check_max lib/Time/y2038.c y2038/time64_config.h y2038/time64_limits.h +MYMETA.* \ No newline at end of file diff --git a/perl/Time-y2038/Build.PL b/perl/Time-y2038/Build.PL index 6b6a441..3f78bed 100644 --- a/perl/Time-y2038/Build.PL +++ b/perl/Time-y2038/Build.PL @@ -35,6 +35,13 @@ my $build = Local::Module::Build->new( requires => { perl => '5.6.1' }, + + meta_merge => { + resources => { + bugtracker => 'https://github.com/evalEmpire/y2038/issues', + repository => 'https://github.com/evalEmpire/y2038', + }, + } ); $build->create_build_script; diff --git a/perl/Time-y2038/INSTALL b/perl/Time-y2038/INSTALL index 72498f5..5a34a20 100644 --- a/perl/Time-y2038/INSTALL +++ b/perl/Time-y2038/INSTALL @@ -1,9 +1,9 @@ This is the Time::y2038 Perl module. It is a wrapper around the y2038 C library to use its functions from Perl. The latest version and -project information can be had from: http://y2038.googlecode.com/ +project information can be had from: https://github.com/evalEmpire/y2038 Run "perldoc Time::y2038" for documentation (before or after installing) or -see http://search.cpan.org/perldoc?Time::y2038. +see http://metacpan.org/pod/Time::y2038. SIMPLE INSTALL @@ -66,7 +66,7 @@ PROBLEMS -------- If you encounter any problems building or testing this module, please -report it at http://rt.cpan.org/Dist/Display.html?Queue=Time-y2038 +report it at https://github.com/evalEmpire/y2038/issues/new Please include the complete output of your build. Don't cut things out to save me trouble, you never know what's important. Also include diff --git a/perl/Time-y2038/MANIFEST b/perl/Time-y2038/MANIFEST index 4020fe8..43a6f87 100644 --- a/perl/Time-y2038/MANIFEST +++ b/perl/Time-y2038/MANIFEST @@ -19,3 +19,4 @@ y2038/time64.c y2038/time64.h y2038/time64_config.h.in y2038/time64_limits.h.in +META.json diff --git a/perl/Time-y2038/META.json b/perl/Time-y2038/META.json new file mode 100644 index 0000000..8a8287d --- /dev/null +++ b/perl/Time-y2038/META.json @@ -0,0 +1,62 @@ +{ + "abstract" : "Versions of Perl's time functions which work beyond 2038", + "author" : [ + "Michael G Schwern " + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.4214", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Time-y2038", + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::CBuilder" : "0.24", + "JSON" : "2.17", + "Module::Build" : "0.36", + "Test::Exception" : "0.27", + "Test::More" : "0.82", + "Test::Warn" : "0.11" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.36" + } + }, + "runtime" : { + "requires" : { + "perl" : "v5.6.1" + } + } + }, + "provides" : { + "Time::y2038" : { + "file" : "lib/Time/y2038.pm", + "version" : "20100403" + }, + "Time::y2038::Everywhere" : { + "file" : "lib/Time/y2038/Everywhere.pm", + "version" : "20100403" + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "https://github.com/evalEmpire/y2038/issues" + }, + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "https://github.com/evalEmpire/y2038" + } + }, + "version" : "20100403", + "x_serialization_backend" : "JSON::PP version 2.27203" +} diff --git a/perl/Time-y2038/META.yml b/perl/Time-y2038/META.yml index eca4787..49c2dd9 100644 --- a/perl/Time-y2038/META.yml +++ b/perl/Time-y2038/META.yml @@ -3,29 +3,33 @@ abstract: "Versions of Perl's time functions which work beyond 2038" author: - 'Michael G Schwern ' build_requires: - ExtUtils::CBuilder: 0.24 - JSON: 2.17 - Module::Build: 0.36 - Test::Exception: 0.27 - Test::More: 0.82 - Test::Warn: 0.11 + ExtUtils::CBuilder: '0.24' + JSON: '2.17' + Module::Build: '0.36' + Test::Exception: '0.27' + Test::More: '0.82' + Test::Warn: '0.11' configure_requires: - Module::Build: 0.36 -generated_by: 'Module::Build version 0.3603' + Module::Build: '0.36' +dynamic_config: 1 +generated_by: 'Module::Build version 0.4214, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Time-y2038 provides: Time::y2038: file: lib/Time/y2038.pm - version: 20100403 + version: '20100403' Time::y2038::Everywhere: file: lib/Time/y2038/Everywhere.pm - version: 20100403 + version: '20100403' requires: perl: v5.6.1 resources: + bugtracker: https://github.com/evalEmpire/y2038/issues license: http://dev.perl.org/licenses/ -version: 20100403 + repository: https://github.com/evalEmpire/y2038 +version: '20100403' +x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff --git a/perl/Time-y2038/lib/Time/y2038.pm b/perl/Time-y2038/lib/Time/y2038.pm index 1a59d87..3b4638a 100644 --- a/perl/Time-y2038/lib/Time/y2038.pm +++ b/perl/Time-y2038/lib/Time/y2038.pm @@ -99,14 +99,14 @@ internally, so accuracy degrates after 2**52. =head1 BUGS & FEEDBACK -See F to report +See F to report and view bugs. If you like the module, please drop the author an email. The latest version of this module can be found at -F and the repository is at -F. +F and the repository is at +F. =head1 AUTHOR @@ -126,8 +126,6 @@ See F L overrides localtime() and gmtime() across the whole program. -The y2038 project at F - L =cut