Hello community,
here is the log from the commit of package perl-Test-Manifest for
openSUSE:Factory checked in at 2018-05-29 10:27:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Manifest (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Manifest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Manifest"
Tue May 29 10:27:59 2018 rev:17 rq:606986 version:2.021
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Manifest/perl-Test-Manifest.changes
2015-04-18 10:38:57.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Manifest.new/perl-Test-Manifest.changes
2018-05-29 10:28:07.837688346 +0200
@@ -1,0 +2,6 @@
+Tue May 8 06:04:16 UTC 2018 - [email protected]
+
+- updated to 2.021
+ see /usr/share/doc/packages/perl-Test-Manifest/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-Manifest-2.02.tar.gz
New:
----
Test-Manifest-2.021.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Manifest.spec ++++++
--- /var/tmp/diff_new_pack.GnhSmm/_old 2018-05-29 10:28:08.361668987 +0200
+++ /var/tmp/diff_new_pack.GnhSmm/_new 2018-05-29 10:28:08.361668987 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Manifest
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,20 @@
Name: perl-Test-Manifest
-Version: 2.02
+Version: 2.021
Release: 0
%define cpan_name Test-Manifest
-Summary: interact with a t/test_manifest file
-License: Artistic-1.0 or GPL-1.0+
+Summary: Interact with a T/Test_manifest File
+License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Manifest/
-Source:
http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::More) >= 0.95
-Requires: perl(Test::More) >= 0.95
+BuildRequires: perl(Test::More) >= 0.94
%{perl_requires}
%description
@@ -74,6 +74,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README test_manifest test_manifest_levels
test_manifest_with_include
+%doc Changes examples test_manifest test_manifest_levels
test_manifest_with_include
+%license LICENSE
%changelog
++++++ Test-Manifest-2.02.tar.gz -> Test-Manifest-2.021.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/Changes
new/Test-Manifest-2.021/Changes
--- old/Test-Manifest-2.02/Changes 2014-08-26 19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/Changes 2018-05-08 04:48:08.000000000 +0200
@@ -1,43 +1,49 @@
-Changes for Test::Manifest
+Revision history for Perl module Test::Manifest
-2.02 - Tue Aug 26 13:01:43 2014
- Fix rt.cpan.org #98288: fix a spelling mistake
+2.021 2018-05-08T02:47:56Z
+ * Clarify that it's the Artistic License 2.0
-2.00_001 - Thu Jul 11 20:22:40 2013
+2.02_01 2016-06-07T20:39:40Z
+ * Start tracking down odd get_test_files failures.
+
+2.02 - 2014-08-26
+ * Fix rt.cpan.org #98288: fix a spelling mistake
+
+2.00_001 - 2013-07-11
* Switch back to Makefile.PL—so much simpler
-2.00_01 - Wed Jul 20 01:02:11 2011
+2.00_01 - 2011-07-20
* Work with Module::Build by supplying a subclass.
-1.23 - Fri Jul 17 03:04:38 2009
+1.23 - 2009-07-17
* Move everything to git and finally make a release
-1.22_03 - Tue Jul 29 21:14:49 2008
+1.22_03 - 2008-07-29
* Fixed bug for missing file: previously the missing file
name was passed through to run_t_files, although without
the t/ added to its path. Test::Manifest should only
warn about and skip missing files.
-1.22_02 - Thu Jan 24 06:13:13 2008
+1.22_02 - 2008-01-24
* File path and unlink fixes for VMS (RT #32061). Let's see if this
works.
-1.22_01 - Sun Jan 6 14:18:46 2008
+1.22_01 - 2008-01-06
* Changed test file names to only have one dot in them so they
work on VMS and ODS-2 file systems: RT #32061
* This is a test release.
-1.22 - Sat Oct 27 21:24:10 2007
+1.22 - 2007-10-27
* distro cleanups after moving from CVS to SVN
-1.21 - Wed Sep 19 19:45:27 2007
+1.21 - 2007-09-19
* [BUGFIX] getting rid of Test::More
-1.17 - Thu Feb 22 13:20:23 2007
+1.17 - 2007-02-22
* Updated to Sourceforge's SVN repository
* Dist conforms to META 1.2 spec
* No feature changes, so no big hurry to upgrade
-1.16 - Tue Aug 29 17:43:16 2006
+1.16 - 2006-08-29
* Added an experimental feature to grab file names from additional
files. Just specify which other files to grab file names from:
@@ -47,13 +53,13 @@
* This is an experimental feature. This feature is experimental.
-1.14 - Sat Mar 26 20:55:45 2005
+1.14 - 2005-03-26
* put paths together with File::Spec (so this should work on
Windows
* You can now define levels of testing with TEST_LEVEL (e.g.
make test TEST_LEVEL=2)
-1.13 - Sat Mar 19 12:36:04 2005
+1.13 - 2005-03-19
* Added POD Coverage tests
* No more fooling with ExtUtils::* ---> put things in MY::* to
change behavior.
@@ -62,31 +68,31 @@
you only need to load it. Ensure you require the right version:
eval "use Test::Manifest 1.13";
-1.11 - Sat Sep 25 18:43:38 2004
+1.11 - 2004-09-25
* This is a release version. It's the same code as 0.95
* Some doc updates
-0.95 - Thu Sep 2 15:59:26 2004
-* Test::Manifest is now more tolerant of sloppiness. It strips leading
-and trailing whitespace as it reads lines from test_manifest, and it
-skips comment lines.
-* If you already have Test::Manifest, you don't need to rush to get this
-new version unless you have a problem with whitespace issues.
+0.95 - 2004-09-02
+ * Test::Manifest is now more tolerant of sloppiness. It strips leading
+ and trailing whitespace as it reads lines from test_manifest, and it
+ skips comment lines.
+ * If you already have Test::Manifest, you don't need to rush to get this
+ new version unless you have a problem with whitespace issues.
-0.93 - Fri Feb 20 15:18:23 2004
+0.93 - 2004-02-20
* some minor tweaks for warnings, clarity
- * docs show way to make Test::Manifest optional (should have thought
+ * docs show way to make Test::Manifest optional (should have thought
of it sooner)
-0.92 - Wed Jul 30 14:10:00 2003
- * Made tests run clean under warnings.
+0.92 - 2003-07-30
+ * Made tests run clean under warnings.
* Closed a file that failed when trying to delete it under
Windows. (Thanks Mike O'Regan)
* Added POD tests.
-0.91 - Wed Dec 11 00:48:55 2002
- * require ExtUtils::MakeMaker 6.x so the right run_tests is
+0.91 - 2002-12-11
+ * require ExtUtils::MakeMaker 6.x so the right run_tests is
available
-0.9 - Thu Oct 10 00:27:13 EDT 2002
- + removed as many dependencies as possible
+0.9 - 2002-10-10
+ * removed as many dependencies as possible
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/INSTALL.SKIP
new/Test-Manifest-2.021/INSTALL.SKIP
--- old/Test-Manifest-2.02/INSTALL.SKIP 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Manifest-2.021/INSTALL.SKIP 2018-05-08 04:48:08.000000000
+0200
@@ -0,0 +1,6 @@
+README\.pod
+README.*
+
+# things that might be in local directories after fooling
+# around with them
+\.DS_Store
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/LICENSE
new/Test-Manifest-2.021/LICENSE
--- old/Test-Manifest-2.02/LICENSE 2014-08-26 19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/LICENSE 2018-05-08 04:48:08.000000000 +0200
@@ -1 +1,177 @@
-You can use Test::Manifest under the same terms as Perl itself.
\ No newline at end of file
+The Test::Manifest module is licensed under the same terms as perl
+itself, under the Artistic License 2.0.
+
+
+Artistic License 2.0
+Copyright (c) 2000-2006, The Perl Foundation.
+http://www.perlfoundation.org/artistic_license_2_0
+
+Preamble
+
+This license establishes the terms under which a given free software
+Package may be copied, modified, distributed, and/or redistributed.
+The intent is that the Copyright Holder maintains some artistic
+control over the development of that Package while still keeping the
+Package available as open source and free software.
+
+You are always permitted to make arrangements wholly outside of this
+license directly with the Copyright Holder of a given Package. If the
+terms of this license do not permit the full use that you propose to
+make of the Package, you should contact the Copyright Holder and seek
+a different licensing arrangement.
+
+Definitions
+
+"Copyright Holder" means the individual(s) or organization(s) named in
+the copyright notice for the entire Package.
+
+"Contributor" means any party that has contributed code or other
+material to the Package, in accordance with the Copyright Holder's
+procedures.
+
+"You" and "your" means any person who would like to copy, distribute,
+or modify the Package.
+
+"Package" means the collection of files distributed by the Copyright
+Holder, and derivatives of that collection and/or of those files. A
+given Package may consist of either the Standard Version, or a
+Modified Version.
+
+"Distribute" means providing a copy of the Package or making it
+accessible to anyone else, or in the case of a company or
+organization, to others outside of your company or organization.
+
+"Distributor Fee" means any fee that you charge for Distributing this
+Package or providing support for this Package to another party. It
+does not mean licensing fees.
+
+"Standard Version" refers to the Package if it has not been modified,
+or has been modified only in ways explicitly requested by the
+Copyright Holder.
+
+"Modified Version" means the Package, if it has been changed, and such
+changes were not explicitly requested by the Copyright Holder.
+
+"Original License" means this Artistic License as Distributed with the
+Standard Version of the Package, in its current version or as it may
+be modified by The Perl Foundation in the future.
+
+"Source" form means the source code, documentation source, and
+configuration files for the Package.
+
+"Compiled" form means the compiled bytecode, object code, binary, or
+any other form resulting from mechanical transformation or translation
+of the Source form.
+
+Permission for Use and Modification Without Distribution
+
+(1) You are permitted to use the Standard Version and create and use
+Modified Versions for any purpose without restriction, provided that
+you do not Distribute the Modified Version.
+
+Permissions for Redistribution of the Standard Version
+
+(2) You may Distribute verbatim copies of the Source form of the
+Standard Version of this Package in any medium without restriction,
+either gratis or for a Distributor Fee, provided that you duplicate
+all of the original copyright notices and associated disclaimers. At
+your discretion, such verbatim copies may or may not include a
+Compiled form of the Package.
+
+(3) You may apply any bug fixes, portability changes, and other
+modifications made available from the Copyright Holder. The resulting
+Package will still be considered the Standard Version, and as such
+will be subject to the Original License.
+
+Distribution of Modified Versions of the Package as Source
+
+(4) You may Distribute your Modified Version as Source (either gratis
+or for a Distributor Fee, and with or without a Compiled form of the
+Modified Version) provided that you clearly document how it differs
+from the Standard Version, including, but not limited to, documenting
+any non-standard features, executables, or modules, and provided that
+you do at least ONE of the following:
+
+ (a) make the Modified Version available to the Copyright Holder of the
+ Standard Version, under the Original License, so that the Copyright
+ Holder may include your modifications in the Standard Version.
+
+ (b) ensure that installation of your Modified Version does not prevent
+ the user installing or running the Standard Version. In addition, the
+ Modified Version must bear a name that is different from the name of
+ the Standard Version.
+
+ (c) allow anyone who receives a copy of the Modified Version to make
+ the Source form of the Modified Version available to others under
+
+ (i) the Original License or
+
+ (ii) a license that permits the licensee to freely copy, modify
and
+ redistribute the Modified Version using the same licensing
terms that
+ apply to the copy that the licensee received, and requires that
the
+ Source form of the Modified Version, and of any works derived
from it,
+ be made freely available in that license fees are prohibited but
+ Distributor Fees are allowed.
+
+Distribution of Compiled Forms of the Standard Version or Modified
+Versions without the Source
+
+(5) You may Distribute Compiled forms of the Standard Version without
+the Source, provided that you include complete instructions on how to
+get the Source of the Standard Version. Such instructions must be
+valid at the time of your distribution. If these instructions, at any
+time while you are carrying out such distribution, become invalid, you
+must provide new instructions on demand or cease further distribution.
+If you provide valid instructions or cease distribution within thirty
+days after you become aware that the instructions are invalid, then
+you do not forfeit any of your rights under this license.
+
+(6) You may Distribute a Modified Version in Compiled form without the
+Source, provided that you comply with Section 4 with respect to the
+Source of the Modified Version.
+
+Aggregating or Linking the Package
+
+(7) You may aggregate the Package (either the Standard Version or
+Modified Version) with other packages and Distribute the resulting
+aggregation provided that you do not charge a licensing fee for the
+Package. Distributor Fees are permitted, and licensing fees for other
+components in the aggregation are permitted. The terms of this license
+apply to the use and Distribution of the Standard or Modified Versions
+as included in the aggregation.
+
+(8) You are permitted to link Modified and Standard Versions with
+other works, to embed the Package in a larger work of your own, or to
+build stand-alone binary or bytecode versions of applications that
+include the Package, and Distribute the result without restriction,
+provided the result does not expose a direct interface to the Package.
+
+Items That are Not Considered Part of a Modified Version
+
+(9) Works (including, but not limited to, modules and scripts) that
+merely extend or make use of the Package, do not, by themselves, cause
+the Package to be a Modified Version. In addition, such works are not
+considered parts of the Package itself, and are not subject to the
+terms of this license.
+
+General Provisions
+
+(10) Any use, modification, and distribution of the Standard or
+Modified Versions is governed by this Artistic License. By using,
+modifying or distributing the Package, you accept this license. Do not
+use, modify, or distribute the Package, if you do not accept this
+license.
+
+(11) If your Modified Version has been derived from a Modified Version
+made by someone other than you, you are nevertheless required to
+ensure that your Modified Version complies with the requirements of
+this license.
+
+(12) This license does not grant you the right to use any trademark,
+service mark, tradename, or logo of the Copyright Holder.
+
+(13) This license includes the non-exclusive, worldwide,
+free-of-charge patent license to make, have made, use, offer to sell,
+sell, import and otherwise transfer the Package with respect to any
+patent claims licensable by the Copyright Holder that are necessarily
+infringed by the Package. If you institute patent litigation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/MANIFEST
new/Test-Manifest-2.021/MANIFEST
--- old/Test-Manifest-2.02/MANIFEST 2014-08-26 19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/MANIFEST 2018-05-08 04:48:08.000000000 +0200
@@ -1,5 +1,6 @@
Changes
examples/README
+INSTALL.SKIP
lib/Test/Manifest.pm
LICENSE
Makefile.PL
@@ -7,7 +8,7 @@
MANIFEST.SKIP
META.json
META.yml
-README
+README.pod
t/00load.t
t/01get_test_files.t
t/01make_test_manifest.t
@@ -21,3 +22,4 @@
test_manifest
test_manifest_levels
test_manifest_with_include
+xt/changes.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/MANIFEST.SKIP
new/Test-Manifest-2.021/MANIFEST.SKIP
--- old/Test-Manifest-2.02/MANIFEST.SKIP 2014-08-26 19:02:00.000000000
+0200
+++ new/Test-Manifest-2.021/MANIFEST.SKIP 2018-05-08 04:48:08.000000000
+0200
@@ -57,8 +57,9 @@
^MYMETA\.
#!end included /usr/local/perls/perl-5.18.1/lib/5.18.1/ExtUtils/MANIFEST.SKIP
-.travis.yml
-.releaserc
-.lwpcookies
+\.travis\.yml
+\.?appveyor.yml
+\.releaserc
+\.lwpcookies
Test-Manifest-.*
hacks/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/META.json
new/Test-Manifest-2.021/META.json
--- old/Test-Manifest-2.02/META.json 2014-08-26 19:02:02.000000000 +0200
+++ new/Test-Manifest-2.021/META.json 2018-05-08 04:48:09.000000000 +0200
@@ -1,17 +1,12 @@
{
- "abstract" : "Interact with a t/test_manifest file",
+ "abstract" : "interact with a t/test_manifest file",
"author" : [
"brian d foy <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter
version 2.120921",
- "keywords" : [
- "module",
- "distribution",
- "test"
- ],
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
"license" : [
- "perl_5"
+ "artistic_2"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
@@ -26,30 +21,40 @@
},
"prereqs" : {
"build" : {
- "requires" : {
- "ExtUtils::MakeMaker" : "0"
- }
+ "requires" : {}
},
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "ExtUtils::MakeMaker" : "6.64",
+ "File::Spec::Functions" : "0"
}
},
"runtime" : {
"requires" : {
- "Test::More" : "0.95",
- "perl" : "5.006"
+ "File::Spec" : "0",
+ "File::Spec::Functions" : "0",
+ "Test::Harness" : "0",
+ "perl" : "5.008"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0.94"
}
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Manifest"
+ "web" : "https://github.com/briandfoy/test-manifest/issues"
},
+ "homepage" : "https://github.com/briandfoy/test-manifest",
"repository" : {
- "url" : "git://github.com/briandfoy/test-manifest.git"
+ "type" : "git",
+ "url" : "https://github.com/briandfoy/test-manifest.git",
+ "web" : "https://github.com/briandfoy/test-manifest"
}
},
- "version" : "2.02"
+ "version" : "2.021",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/META.yml
new/Test-Manifest-2.021/META.yml
--- old/Test-Manifest-2.02/META.yml 2014-08-26 19:02:02.000000000 +0200
+++ new/Test-Manifest-2.021/META.yml 2018-05-08 04:48:09.000000000 +0200
@@ -1,30 +1,31 @@
---
-abstract: 'Interact with a t/test_manifest file'
+abstract: 'interact with a t/test_manifest file'
author:
- 'brian d foy <[email protected]>'
build_requires:
- ExtUtils::MakeMaker: 0
+ Test::More: '0.94'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '6.64'
+ File::Spec::Functions: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version
2.120921'
-keywords:
- - module
- - distribution
- - test
-license: perl
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
+license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Manifest
no_index:
directory:
- t
- inc
requires:
- Test::More: 0.95
- perl: 5.006
+ File::Spec: '0'
+ File::Spec::Functions: '0'
+ Test::Harness: '0'
+ perl: '5.008'
resources:
- bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Manifest
- repository: git://github.com/briandfoy/test-manifest.git
-version: 2.02
+ bugtracker: https://github.com/briandfoy/test-manifest/issues
+ homepage: https://github.com/briandfoy/test-manifest
+ repository: https://github.com/briandfoy/test-manifest.git
+version: '2.021'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/Makefile.PL
new/Test-Manifest-2.021/Makefile.PL
--- old/Test-Manifest-2.02/Makefile.PL 2014-08-26 19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/Makefile.PL 2018-05-08 04:48:08.000000000 +0200
@@ -1,31 +1,114 @@
-use ExtUtils::MakeMaker 6.48;
+package Test::Manifest;
use strict;
use warnings;
-require 5.006;
+=encoding utf8
-eval "use Test::Manifest 1.21";
+=head1 The build file for Test::Manifest
-WriteMakefile(
- 'NAME' => 'Test::Manifest',
- 'AUTHOR' => 'brian d foy <[email protected]>',
- 'ABSTRACT' => 'Interact with a t/test_manifest file',
- 'VERSION_FROM' => "lib/Test/Manifest.pm",
- 'LICENSE' => 'perl',
+This build file is a modulino; it works as both a build script and
+a module.
- 'PREREQ_PM' => {
- 'Test::More' => '0.95',
+To build the distribution, run this file normally:
+
+ % perl Makefile.PL
+
+But, it's more interesting than that. You can load it with C<require>
+and call C<arguments> to get the data structure it passes to
+C<WriteMakefile>:
+
+ my $package = require '/path/to/Makefile.PL';
+ my $arguments = $package->arguments;
+
+Note that C<require>-ing a file makes an entry in C<%INC> for exactly
+that name. If you try to C<require> another file with the same name,
+even from a different path, C<require> thinks it has already loaded
+the file. As such, I recommend you always require the full path to the
+file.
+
+The return value of the C<require> is a package name (in this case,
+the name of the main module. Use that to call the C<arguments> method.
+
+Even if this distribution needs a higher version of Perl, this bit
+only needs v5.8. You can play with the data structure with a primitive
+Perl.
+
+=cut
+
+use File::Spec::Functions qw(catfile);
+
+my $module = __PACKAGE__;
+( my $dist = $module ) =~ s/::/-/g;
+
+my $github = 'https://github.com/briandfoy/test-manifest';
+my $main_file = catfile( 'lib', split /::/, "$module.pm" );
+
+my %WriteMakefile = (
+ 'MIN_PERL_VERSION' => 5.008,
+
+ 'NAME' => $module,
+ 'AUTHOR' => 'brian d foy <[email protected]>',
+ 'ABSTRACT_FROM' => $main_file,
+ 'VERSION_FROM' => $main_file,
+ 'LICENSE' => 'artistic_2',
+
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.64',
+ 'File::Spec::Functions' => '0',
},
- MIN_PERL_VERSION => 5.006,
+ 'BUILD_REQUIRES' => {
+ },
+
+ 'TEST_REQUIRES' => {
+ 'Test::More' => '0.94',
+ },
- META_MERGE => {
- resources => {
- bugtracker =>
'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Manifest',
- repository =>
'git://github.com/briandfoy/test-manifest.git',
+ 'PREREQ_PM' => {
+ 'File::Spec::Functions' => '0',
+ 'Test::Harness' => '0',
+ 'File::Spec' => '0',
+ },
+
+ 'META_MERGE' => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ repository => {
+ type => 'git',
+ url => "$github.git",
+ web => $github,
+ },
+ bugtracker => {
+ web => "$github/issues",
},
- keywords => [ 'module', 'distribution', 'test' ],
- },
+ homepage => $github,
+ },
+ },
- clean => { FILES => '*.bak release-* Test-*' },
+ clean => { FILES => "$dist-*" },
);
+
+sub arguments { \%WriteMakefile }
+
+do_it() unless caller;
+sub do_it {
+ require File::Spec;
+ my $MM ='ExtUtils::MakeMaker';
+ my $MM_version =
+ eval{ "$MM " .
$WriteMakefile{'CONFIGURE_REQUIRES'}{'ExtUtils::MakeMaker'} }
+ ||
+ "$MM 6.64";
+ eval "use $MM_version; 1" or die "Could not load $MM_version: $@";
+ eval "use Test::Manifest 1.21"
+ if -e File::Spec->catfile( qw(t test_manifest) );
+
+ my $arguments = arguments();
+ my $minimum_perl = $arguments->{MIN_PERL_VERSION} || '5.008';
+ eval "require $minimum_perl;" or die $@;
+
+ WriteMakefile( %$arguments );
+ }
+
+
+no warnings;
+__PACKAGE__;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/README
new/Test-Manifest-2.021/README
--- old/Test-Manifest-2.02/README 2014-08-26 19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-You can install this using in the usual Perl fashion:
-
- perl Makefile.PL
- make
- make test
- make install
-
-The documentation is in the module file. Once you install
-the file, you can read it with perldoc.
-
- perldoc Test::Manifest
-
-If you want to read it before you install it, you can use
-perldoc directly on the module file.
-
- perldoc lib/Manifest.pm
-
-This module is also in Github
-
- http://github.com/briandfoy/Test-Manifest/tree/master
-
-
-Enjoy,
-
-brian d foy, [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/README.pod
new/Test-Manifest-2.021/README.pod
--- old/Test-Manifest-2.02/README.pod 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Manifest-2.021/README.pod 2018-05-08 04:48:08.000000000 +0200
@@ -0,0 +1,124 @@
+=pod
+
+=encoding utf8
+
+=for HTML <a href="https://travis-ci.org/briandfoy/test-manifest"><img
src="https://travis-ci.org/briandfoy/test-manifest.svg?branch=master" /></a>
+
+=for HTML <a
href='https://ci.appveyor.com/project/briandfoy/test-manifest'><img
src='https://ci.appveyor.com/api/projects/status/b7p6yw0qdflonms6' /></a>
+
+=for HTML <a
href='https://coveralls.io/github/briandfoy/test-manifest?branch=master'><img
src='https://coveralls.io/repos/github/briandfoy/test-manifest/badge.svg?branch=master'
alt='Coverage Status' /></a>
+
+=for HTML <a
href="https://github.com/briandfoy/test-manifest/blob/master/LICENSE"><img
src="https://img.shields.io/cpan/l/Test-Manifest.svg" /></a>
+
+=for HTML <a href="http://www.metacpan.org/module/Test::Manifest"><img
src="https://img.shields.io/cpan/v/Test-Manifest.svg" /></A>
+
+=head1 The Test::Manifest module
+
+This is the I<README> for the L<Test::Manifest> Perl module. You're probably
+looking at this because you don't know where else to find what you're
+looking for. Read this once and you might never have to read one again
+for any Perl module.
+
+=head2 Documentation
+
+To read about L<Test::Manifest>, look at the embedded documentation
+in the module itself. Inside the distribution, you can format it
+with L<perldoc|http://perldoc.perl.org/perldoc.html>:
+
+ % perldoc lib/Test/Manifest.pm
+
+If you have already installed the module, you can specify the module
+name instead of the file location:
+
+ % perldoc Test::Manifest
+
+You can read the documentation and inspect the meta data on one of the
+CPAN web interfaces, such as L<CPAN
Search|http://search.cpan.org/dist/Test-Manifest> or
+L<MetaCPAN|http://www.metacpan.org/module/Test::Manifest>:
+
+=over 4
+
+=item * L<http://search.cpan.org/dist/Test-Manifest>
+
+=item * L<http://www.metacpan.org/module/Test::Manifest>
+
+=back
+
+The standard module documentation has example uses in the SYNOPSIS
+section, but you can also look in the I<examples/> directory (if it's
+there), or look at the test files in I<t/>.
+
+=head2 Installation
+
+You can install this module with a CPAN client, which will resolve
+and install the dependencies:
+
+ % cpan Test::Manifest
+ % cpanm Test::Manifest
+
+You can also install directly from the distribution directory, which
+will also install the dependencies:
+
+ % cpan .
+ % cpanm .
+
+You could install just this module manually:
+
+ % perl Makefile.PL
+ % make
+ % make test
+ % make install
+
+You probably don't want to do that unless you're fiddling with the
+module and only want to run the tests without installing anything.
+
+=head2 Source location
+
+The meta data, such as the source repository and bug tracker, is in
+I<Makefile.PL> or the I<META.*> files it creates. You can find that on
+those CPAN web interfaces, but you can also look at files directly in
+the source repository:
+
+=over 4
+
+=item * L<https://github.com/briandfoy/test-manifest>
+
+=back
+
+If you find a problem, file a ticket in the L<issue
+tracker|https://github.com/briandfoy/test-manifest/issues>:
+
+=over 4
+
+=item * L<https://github.com/briandfoy/test-manifest/issues>
+
+=back
+
+=head2 Getting help
+
+Although I'm happy to hear from module users in private email,
+that's the best way for me to forget to do something.
+
+Besides the issue trackers, you can find help at
+L<Perlmonks|http://www.perlmonks.org> or
+L<Stackoverflow|http://www.stackoverflow.com>, both of which have many
+competent Perlers who can answer your question, almost in real time.
+They might not know the particulars of this module, but they can help
+you diagnose your problem.
+
+You might like to read L<brian's Guide to Solving Any Perl
+Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>.
+
+=head2 Copyright and License
+
+You should have received a I<LICENSE> file, but the license is also noted
+in the module files. About the only thing you can't do is pretend that
+you wrote code that you didn't.
+
+=head2 Good luck!
+
+Enjoy,
+
+brian d foy, [email protected]
+
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/lib/Test/Manifest.pm
new/Test-Manifest-2.021/lib/Test/Manifest.pm
--- old/Test-Manifest-2.02/lib/Test/Manifest.pm 2014-08-26 19:02:00.000000000
+0200
+++ new/Test-Manifest-2.021/lib/Test/Manifest.pm 2018-05-08
04:48:08.000000000 +0200
@@ -4,16 +4,15 @@
use warnings;
no warnings;
-use base qw(Exporter);
-use vars qw(@EXPORT_OK @EXPORT $VERSION);
+use Exporter qw(import);
use Carp qw(carp);
use File::Spec::Functions qw(catfile);
-@EXPORT = qw(run_t_manifest);
-@EXPORT_OK = qw(get_t_files make_test_manifest manifest_name);
+our @EXPORT = qw(run_t_manifest);
+our @EXPORT_OK = qw(get_t_files make_test_manifest manifest_name);
-$VERSION = '2.02';
+our $VERSION = '2.021';
my %SeenInclude = ();
my %SeenTest = ();
@@ -28,6 +27,8 @@
qq|'\$(INST_ARCHLIB)', \$(TEST_LEVEL) )"\n|;
};
+=encoding utf8
+
=head1 NAME
Test::Manifest - interact with a t/test_manifest file
@@ -39,7 +40,7 @@
# in Build.PL
my $class = do {
- if( eval "Test::Manifest 2.00" ) {
+ if( eval 'use Test::Manifest 2.00; 1' ) {
Test::Manifest->get_module_build_subclass;
}
else {
@@ -78,9 +79,9 @@
Optionally, you can add a number after the test name in test_manifest
to define sets of tests. See C<get_t_files> for more information.
-=head2 ExtUtils::Makemaker
+=head2 ExtUtils::MakeMaker
-To override the test order behaviour in C<Makemaker>, C<Test::Manifest>
+To override the test order behaviour in C<MakeMaker>, C<Test::Manifest>
inserts itself in the C<test_via_harness> step by providing its own
test runner. In C<Makefile.PL>, all you have to do is load C<Test::Manifest>
before you call C<WriteMakefile>. To make it optional, load it in an eval:
@@ -95,7 +96,7 @@
create the subclass for you.
my $class = do {
- if( eval 'Test::Manifest 2.00; 1' ) {
+ if( eval 'use Test::Manifest 2.00; 1' ) {
Test::Manifest->get_module_build_subclass;
}
else {
@@ -110,7 +111,7 @@
C<Test::Manifest> overrides C<find_test_files>, so you can get just
that code to add to your own subclass code string:
- my $code = eval 'Test::Manifest 2.00; 1'
+ my $code = eval 'use Test::Manifest 2.00; 1'
?
Test::Manifest->get_module_build_code_string
:
@@ -194,7 +195,7 @@
=item run_t_manifest( TEST_VERBOSE, INST_LIB, INST_ARCHLIB, TEST_LEVEL )
-For C<Makemaker> only. You don't have to mess with this at the user
+For C<MakeMaker> only. You don't have to mess with this at the user
level.
Run all of the files in F<t/test_manifest> through C<Test::Harness:runtests>
@@ -314,7 +315,7 @@
next unless $_;
- my( $command, $arg ) = split/\s+/, $_, 2;
+ my( $command, $arg ) = split /\s+/, $_, 2;
if( ';' eq substr( $command, 0, 1 ) ) {
if( $command eq ';include' ) {
my $result = _include_file( $arg, $.,
$upper_bound );
@@ -340,9 +341,10 @@
unless $level =~ m/^\d+(?:.\d+)?$/;
carp( "test file begins with t/ [$test]" ) if m|^t/|;
- $test = catfile( "t", $test ) if -e catfile( "t", $test );
-
- unless( -e $test ) {
+ if( -e catfile( "t", $test ) ) {
+ $test = catfile( "t", $test )
+ }
+ else {
carp( "test file [$test] does not exist! Skipping!" );
next;
}
@@ -435,16 +437,18 @@
Matt Vanderpol suggested and supplied a patch for the C<;include>
feature.
+Olivier Mengué supplied a documentation patch.
+
=head1 AUTHOR
brian d foy, C<< <[email protected]> >>
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2002-2014 brian d foy. All rights reserved.
+Copyright © 2002-2018, brian d foy <[email protected]>. All rights reserved.
This program is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+it under the terms of the Artistic License 2.0.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/t/01get_test_files.t
new/Test-Manifest-2.021/t/01get_test_files.t
--- old/Test-Manifest-2.02/t/01get_test_files.t 2014-08-26 19:02:00.000000000
+0200
+++ new/Test-Manifest-2.021/t/01get_test_files.t 2018-05-08
04:48:08.000000000 +0200
@@ -1,80 +1,95 @@
use strict;
-use Test::More tests => 13;
+use Test::More 0.95;
use File::Copy qw(copy);
use File::Spec;
use Test::Manifest qw(get_t_files manifest_name);
-copy( 'test_manifest', manifest_name() );
-
-# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
my $expected = join " ", map { File::Spec->catfile( "t", $_ ) } qw(
- 00load.t 01get_test_files.t 01make_test_manifest.t
- leading_space.t trailing_space.t
- );
+ 00load.t 01get_test_files.t 01make_test_manifest.t
+ leading_space.t trailing_space.t
+ );
my @tests = split /\s+/, $expected;
-my $string = get_t_files();
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+subtest setup => sub {
+ my $in_name = 'test_manifest';
+ my $manifest_name = manifest_name();
+
+ open my $in, '<:utf8', $in_name or fail( "Could not read
$in_name: $!" );
+ open my $out, '>:utf8', $manifest_name or fail( "Could not write
$manifest_name: $!" );
+
+ print {$out} $_ while( <$in> );
+
+ ok( -e $in_name, "$in_name exists in top level directory" );
+ ok( -e $manifest_name, "$manifest_name exists" );
+ };
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+subtest scalar_version => sub {
+ my $string = get_t_files();
-is( $string, $expected, "Single string version of tests is right" );
+ is( $string, $expected, "Single string version of tests is right" );
+ };
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-my @array = get_t_files();
+subtest array_version => sub {
+ my @array = get_t_files();
-foreach my $i ( 0 .. $#array )
- {
- is( $array[$i], $tests[$i], "Test file $i has expected name" );
- }
+ foreach my $i ( 0 .. $#array ) {
+ is( $array[$i], $tests[$i], "Test file $i has expected name" );
+ }
+ };
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-{
-local $SIG{__WARN__} = sub { 1 };
+subtest remove_manifest => sub {
+ local $SIG{__WARN__} = sub { 1 };
+
+ if( $^O eq 'VMS' ) { #
http://perldoc.perl.org/perlvms.html#unlink-LIST
+ 1 while ( unlink manifest_name() );
+ }
+ else {
+ unlink manifest_name();
+ }
-if( $^O eq 'VMS' ) # http://perldoc.perl.org/perlvms.html#unlink-LIST
- {
- 1 while ( unlink manifest_name() );
- }
-else
- {
- unlink manifest_name();
- }
-
--e manifest_name() ?
- fail( "test_manifest still around after unlink!") :
- pass( "test_manifest unlinked") ;
+ -e manifest_name() ?
+ fail( "test_manifest still around after unlink!" ) :
+ pass( "test_manifest unlinked" ) ;
-my $string = get_t_files();
+ my $string = get_t_files();
-ok( ! $string, "Nothing returned when test_manifest does not exist (scalar)" );
+ ok( ! $string, "Nothing returned when test_manifest does not exist
(scalar)" );
-my @array = get_t_files();
+ my @array = get_t_files();
-ok( ! $string, "Nothing returned when test_manifest does not exist (list)" );
-}
+ ok( ! $string, "Nothing returned when test_manifest does not exist
(list)" );
+ };
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-{
-local $Test::Harness::verbose = 1;
-copy( 'test_manifest_levels', manifest_name() );
-
-my @expected = ( [] );
-$expected[1] = [ qw( 00load.t 01get_test_files.t pod_coverage.t) ];
-$expected[2] = [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
- pod_coverage.t ) ];
-$expected[3] = [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
- leading_space.t pod_coverage.t trailing_space.t ) ];
-$expected[0] = [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
- leading_space.t pod_coverage.t trailing_space.t 99pod.t ) ];
-
-foreach my $level ( 0 .. 3 )
- {
- my $string = get_t_files( $level );
- my $expected = join ' ', map { File::Spec->catfile( 't', $_ ) }
- @{ $expected[$level] };
- is( $string, $expected, "Level $level version of tests is right" );
- }
+subtest levels => sub {
+ local $Test::Harness::verbose = 1;
+ copy( 'test_manifest_levels', manifest_name() );
+
+ my @expected = (
+ [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
+ leading_space.t pod_coverage.t trailing_space.t 99pod.t
) ],
+ [ qw( 00load.t 01get_test_files.t pod_coverage.t) ],
+ [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
+ pod_coverage.t ) ],
+ [ qw( 00load.t 01get_test_files.t 01make_test_manifest.t
+ leading_space.t pod_coverage.t trailing_space.t ) ],
+ );
+
+ foreach my $level ( 0 .. 3 ) {
+ my $string = get_t_files( $level );
+ my $expected = join ' ', map { File::Spec->catfile( 't', $_ ) }
+ @{ $expected[$level] };
+ is( $string, $expected, "Level $level version of tests is
right" );
+ }
+
+ };
-}
+done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/t/01make_test_manifest.t
new/Test-Manifest-2.021/t/01make_test_manifest.t
--- old/Test-Manifest-2.02/t/01make_test_manifest.t 2014-08-26
19:02:00.000000000 +0200
+++ new/Test-Manifest-2.021/t/01make_test_manifest.t 2018-05-08
04:48:08.000000000 +0200
@@ -1,20 +1,26 @@
-use Test::More tests => 2;
+use Test::More 0.98;
-use Test::Manifest qw(make_test_manifest);
+use Test::Manifest qw(make_test_manifest manifest_name);
-my $test_manifest = File::Spec->catfile( qw(t test_manifest) );
+my $test_manifest = manifest_name();
+diag( "manifest name is $test_manifest" );
-if($^O eq 'VMS') # http://perldoc.perl.org/perlvms.html#unlink-LIST
- {
- 1 while ( unlink $test_manifest );
- }
-else
- {
- unlink $test_manifest;
- }
+subtest remove_manifest => sub {
+ if($^O eq 'VMS') { #
http://perldoc.perl.org/perlvms.html#unlink-LIST
+ state $n = 0;
+ $n++ while ( $n < 10 && unlink $test_manifest );
+ }
+ else {
+ unlink $test_manifest;
+ }
+
+ ok( ! -e $test_manifest, "$test_manifest does not exist" );
+ };
+
+subtest make_manifest => sub {
+ my $count = make_test_manifest();
+ diag( "count of test files is $count" );
+ ok( -e $test_manifest, "$test_manifest exists" );
+ };
-ok( ! -e $test_manifest, 'test_manifest does not exit' );
-
-make_test_manifest();
-
-ok( -e $test_manifest, 'test_manifest exists' );
+done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Manifest-2.02/xt/changes.t
new/Test-Manifest-2.021/xt/changes.t
--- old/Test-Manifest-2.02/xt/changes.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Manifest-2.021/xt/changes.t 2018-05-08 04:48:08.000000000
+0200
@@ -0,0 +1,4 @@
+use Test::More;
+eval 'use Test::CPAN::Changes';
+plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
+changes_ok();
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module