diff -Nru libvcs-lite-perl-0.10/Changes libvcs-lite-perl-0.12/Changes --- libvcs-lite-perl-0.10/Changes 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/Changes 2015-01-17 16:46:39.000000000 +0000 @@ -1,9 +1,18 @@ -Revision history for Perl extension VCS::Lite. +Revision history for VCS-Lite +============================= + +0.12 2015-01-21 + - fixed license fields in META.json to be lists. + - extended META test suite. + +0.11 2014-03-25 + - added new git repo links. + - META file updates. 0.10 2013-01-20 - change file dates changed to meet W3CDTF standards. - License updated to Artistic License v2.0. - - added minimum perl version (5.006). + - added minimum perl version (5.006). - reworked Makefile.PL for clarity. - added LICENSE & META.json files. - updated test suite. diff -Nru libvcs-lite-perl-0.10/debian/changelog libvcs-lite-perl-0.12/debian/changelog --- libvcs-lite-perl-0.10/debian/changelog 2014-02-15 17:51:03.000000000 +0000 +++ libvcs-lite-perl-0.12/debian/changelog 2018-04-02 23:01:36.000000000 +0000 @@ -1,3 +1,14 @@ +libvcs-lite-perl (0.12-1) unstable; urgency=medium + + * Move maintenance to pkg-perl team + * Update Vcs-* fields + * Update Homepage to metacpan + * Update debhelper compat to 10 + * Update Standards-Version (no changes) + * New upstream release + + -- Dominic Hargreaves Tue, 03 Apr 2018 00:01:35 +0100 + libvcs-lite-perl (0.10-1) unstable; urgency=medium * Add Vcs-* URLs diff -Nru libvcs-lite-perl-0.10/debian/compat libvcs-lite-perl-0.12/debian/compat --- libvcs-lite-perl-0.10/debian/compat 2014-02-15 17:51:03.000000000 +0000 +++ libvcs-lite-perl-0.12/debian/compat 2018-04-02 22:58:32.000000000 +0000 @@ -1 +1 @@ -8 +10 diff -Nru libvcs-lite-perl-0.10/debian/control libvcs-lite-perl-0.12/debian/control --- libvcs-lite-perl-0.10/debian/control 2014-02-15 17:51:03.000000000 +0000 +++ libvcs-lite-perl-0.12/debian/control 2018-04-02 22:58:54.000000000 +0000 @@ -1,13 +1,14 @@ Source: libvcs-lite-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 10) Build-Depends-Indep: perl (>= 5.8.0-7), libalgorithm-diff-perl (>= 1.13) -Maintainer: Dominic Hargreaves -Standards-Version: 3.9.5 -Homepage: http://search.cpan.org/dist/VCS-Lite/ -Vcs-Git: git://anonscm.debian.org/users/dom/libvcs-lite-perl.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/dom/libvcs-lite-perl.git +Maintainer: Debian Perl Group +Uploaders: Dominic Hargreaves +Standards-Version: 4.1.3 +Homepage: https://metacpan.org/release/VCS-Lite/ +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libvcs-lite-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libvcs-lite-perl.git Package: libvcs-lite-perl Architecture: all diff -Nru libvcs-lite-perl-0.10/lib/VCS/Lite/Delta.pm libvcs-lite-perl-0.12/lib/VCS/Lite/Delta.pm --- libvcs-lite-perl-0.10/lib/VCS/Lite/Delta.pm 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/lib/VCS/Lite/Delta.pm 2015-01-17 16:46:39.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '0.10'; +our $VERSION = '0.12'; #---------------------------------------------------------------------------- @@ -563,12 +563,12 @@ =head1 AUTHOR Original Author: Ivor Williams (RIP) 2002-2009 - Current Maintainer: Barbie 2009-2013 + Current Maintainer: Barbie 2009-2015 =head1 COPYRIGHT Copyright (c) Ivor Williams, 2002-2006 - Copyright (c) Barbie, 2009-2013 + Copyright (c) Barbie, 2009-2015 =head1 LICENCE @@ -576,4 +576,3 @@ modify it under the Artistic Licence v2. =cut - diff -Nru libvcs-lite-perl-0.10/lib/VCS/Lite.pm libvcs-lite-perl-0.12/lib/VCS/Lite.pm --- libvcs-lite-perl-0.10/lib/VCS/Lite.pm 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/lib/VCS/Lite.pm 2015-01-17 16:46:39.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '0.10'; +our $VERSION = '0.12'; #---------------------------------------------------------------------------- @@ -611,12 +611,12 @@ =head1 AUTHOR Original Author: Ivor Williams (RIP) 2002-2009 - Current Maintainer: Barbie 2009-2013 + Current Maintainer: Barbie 2009-2015 =head1 COPYRIGHT Copyright (c) Ivor Williams, 2002-2006 - Copyright (c) Barbie, 2009-2013 + Copyright (c) Barbie, 2009-2015 =head1 LICENCE diff -Nru libvcs-lite-perl-0.10/LICENSE libvcs-lite-perl-0.12/LICENSE --- libvcs-lite-perl-0.10/LICENSE 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/LICENSE 2015-01-17 16:31:28.000000000 +0000 @@ -1,7 +1,7 @@ LICENSE FOR VCS::Lite Copyright © 2002-2009 Ivor Williams -Copyright © 2009-2013 Barbie for Miss Barbell Productions. +Copyright © 2009-2015 Barbie for Miss Barbell Productions. This distribution is free software; you can redistribute it and/or modify it under the Artistic Licence v2. diff -Nru libvcs-lite-perl-0.10/META.json libvcs-lite-perl-0.12/META.json --- libvcs-lite-perl-0.10/META.json 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/META.json 2015-01-17 16:46:39.000000000 +0000 @@ -1,17 +1,17 @@ { "name": "VCS-Lite", - "version": "0.10", + "version": "0.12", "abstract": "A minimal version control system", "author": ["Barbie "], - "license": "artistic_2", + "license": [ "artistic_2" ], "dynamic_config" : 0, "release_status" : "stable", "meta-spec": { "version": "2", "url": "http://search.cpan.org/dist/CPAN-Meta/lib/CPAN/Meta/Spec.pm" }, - "generated_by": "Hand 1.0", + "generated_by": "The Hand of Barbie 1.0", "keywords" : [ "version control" ], @@ -42,11 +42,11 @@ "provides": { "VCS::Lite": { "file": "lib/VCS/Lite.pm", - "version": "0.10" + "version": "0.12" }, "VCS::Lite::Delta": { "file": "lib/VCS/Lite/Delta.pm", - "version": "0.10" + "version": "0.12" } }, "no_index": { @@ -54,7 +54,12 @@ }, "resources": { - "license": "http://dev.perl.org/licenses/", - "bugtracker": { "web": "http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite" } + "license": [ "http://www.perlfoundation.org/artistic_license_2_0" ], + "bugtracker": { "web": "http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite" }, + "repository": { + "url": "git://github.com/barbie/vcs-lite.git", + "web": "http://github.com/barbie/vcs-lite", + "type": "git" + } } } diff -Nru libvcs-lite-perl-0.10/META.yml libvcs-lite-perl-0.12/META.yml --- libvcs-lite-perl-0.10/META.yml 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/META.yml 2015-01-17 16:46:39.000000000 +0000 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: VCS-Lite -version: 0.10 +version: 0.12 abstract: A minimal version control system author: - Barbie @@ -26,17 +26,21 @@ provides: VCS::Lite: file: lib/VCS/Lite.pm - version: 0.10 + version: 0.12 VCS::Lite::Delta: file: lib/VCS/Lite/Delta.pm - version: 0.10 + version: 0.12 no_index: directory: - t - examples +resources: + license: http://www.perlfoundation.org/artistic_license_2_0 + bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite + repository: http://github.com/barbie/vcs-lite + meta-spec: version: 1.4 url: http://module-build.sourceforge.net/META-spec-v1.4.html -generated_by: Hand 1.0 - +generated_by: The Hand of Barbie 1.0 diff -Nru libvcs-lite-perl-0.10/README libvcs-lite-perl-0.12/README --- libvcs-lite-perl-0.10/README 2013-01-20 12:10:37.000000000 +0000 +++ libvcs-lite-perl-0.12/README 2015-01-17 16:31:28.000000000 +0000 @@ -58,17 +58,17 @@ be forthcoming, please feel free to (politely) remind me by sending an email to barbie@cpan.org . -RT: http://rt.cpan.org/Public/Dist/Display.html?Name=Template-Plugin-WikiFormat +RT: http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite AUTHOR Original Author: Ivor Williams (RIP) 2002-2009 - Current Maintainer: Barbie 2009-2013 + Current Maintainer: Barbie 2009-2015 COPYRIGHT AND LICENSE Copyright © 2002-2009 Ivor Williams - Copyright © 2009-2013 Barbie for Miss Barbell Productions. + Copyright © 2009-2015 Barbie for Miss Barbell Productions. This distribution is free software; you can redistribute it and/or modify it under the Artistic License v2. diff -Nru libvcs-lite-perl-0.10/t/94metatest.t libvcs-lite-perl-0.12/t/94metatest.t --- libvcs-lite-perl-0.10/t/94metatest.t 2013-01-20 12:10:38.000000000 +0000 +++ libvcs-lite-perl-0.12/t/94metatest.t 2015-01-17 16:25:13.000000000 +0000 @@ -23,6 +23,14 @@ if($meta->{provides}) { for my $mod (keys %{$meta->{provides}}) { is($meta->{provides}{$mod}{version},$version, - "META.yml entry [$mod] version matches"); + "META.yml entry [$mod] version matches distribution version"); + + eval "require $mod"; + my $VERSION = '$' . $mod . '::VERSION'; + my $v = eval "$VERSION"; + is($meta->{provides}{$mod}{version},$v, + "META.yml entry [$mod] version matches module version"); + + isnt($meta->{provides}{$mod}{version},0); } } diff -Nru libvcs-lite-perl-0.10/t/96metatest.t libvcs-lite-perl-0.12/t/96metatest.t --- libvcs-lite-perl-0.10/t/96metatest.t 2013-01-20 12:10:38.000000000 +0000 +++ libvcs-lite-perl-0.12/t/96metatest.t 2015-01-17 16:25:13.000000000 +0000 @@ -23,6 +23,14 @@ if($meta->{provides}) { for my $mod (keys %{$meta->{provides}}) { is($meta->{provides}{$mod}{version},$version, - "META.json entry [$mod] version matches"); + "META.json entry [$mod] version matches distribution version"); + + eval "require $mod"; + my $VERSION = '$' . $mod . '::VERSION'; + my $v = eval "$VERSION"; + is($meta->{provides}{$mod}{version},$v, + "META.json entry [$mod] version matches module version"); + + isnt($meta->{provides}{$mod}{version},0); } }