New Upstream Snapshot - libany-template-processdir-perl

Ready changes

Summary

Merged new upstream version: 0.08+git20150207.1.05d63ed (was: 0.08).

Resulting package

Built on 2022-12-16T15:00 (took 10m0s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots libany-template-processdir-perl

Lintian Result

Diff

diff --git a/INSTALL b/INSTALL
index f704567..57f44da 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,3 @@
-
 This is the Perl distribution Any-Template-ProcessDir.
 
 Installing Any-Template-ProcessDir is straightforward.
@@ -9,10 +8,10 @@ If you have cpanm, you only need one line:
 
     % cpanm Any::Template::ProcessDir
 
-If you are installing into a system-wide directory, you may need to pass the
-"-S" flag to cpanm, which uses sudo to install the module:
-
-    % cpanm -S Any::Template::ProcessDir
+If it does not have permission to install modules to the current perl, cpanm
+will automatically set up and install to a local::lib in your home directory.
+See the local::lib documentation (https://metacpan.org/pod/local::lib) for
+details on enabling it in your environment.
 
 ## Installing with the CPAN shell
 
@@ -22,8 +21,11 @@ Alternatively, if your CPAN shell is set up, you should just be able to do:
 
 ## Manual installation
 
-As a last resort, you can manually install it. Download the tarball, untar it,
-then build it:
+As a last resort, you can manually install it. If you have not already
+downloaded the release tarball, you can find the download link on the module's
+MetaCPAN page: https://metacpan.org/pod/Any::Template::ProcessDir
+
+Untar the tarball, install configure prerequisites (see below), then build it:
 
     % perl Makefile.PL
     % make && make test
@@ -32,13 +34,42 @@ Then install it:
 
     % make install
 
-If you are installing into a system-wide directory, you may need to run:
+On Windows platforms, you should use `dmake` or `nmake`, instead of `make`.
+
+If your perl is system-managed, you can create a local::lib in your home
+directory to install modules to. For details, see the local::lib documentation:
+https://metacpan.org/pod/local::lib
+
+The prerequisites of this distribution will also have to be installed manually. The
+prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated
+by running the manual build process described above.
+
+## Configure Prerequisites
 
-    % sudo make install
+This distribution requires other modules to be installed before this
+distribution's installer can be run.  They can be found under the
+"configure_requires" key of META.yml or the
+"{prereqs}{configure}{requires}" key of META.json.
+
+## Other Prerequisites
+
+This distribution may require additional modules to be installed after running
+Makefile.PL.
+Look for prerequisites in the following phases:
+
+* to run make, PHASE = build
+* to use the module code itself, PHASE = runtime
+* to run tests, PHASE = test
+
+They can all be found in the "PHASE_requires" key of MYMETA.yml or the
+"{prereqs}{PHASE}{requires}" key of MYMETA.json.
 
 ## Documentation
 
 Any-Template-ProcessDir documentation is available as POD.
-You can run perldoc from a shell to read the documentation:
+You can run `perldoc` from a shell to read the documentation:
 
     % perldoc Any::Template::ProcessDir
+
+For more information on installing Perl modules via CPAN, please see:
+https://www.cpan.org/modules/INSTALL.html
diff --git a/LICENSE b/LICENSE
index 273584e..0e4e915 100644
--- a/LICENSE
+++ b/LICENSE
@@ -292,21 +292,21 @@ Definitions:
 
   - "Package" refers to the collection of files distributed by the Copyright
     Holder, and derivatives of that collection of files created through
-    textual modification. 
+    textual modification.
   - "Standard Version" refers to such a Package if it has not been modified,
     or has been modified in accordance with the wishes of the Copyright
-    Holder. 
+    Holder.
   - "Copyright Holder" is whoever is named in the copyright or copyrights for
-    the package. 
+    the package.
   - "You" is you, if you're thinking about copying or distributing this Package.
   - "Reasonable copying fee" is whatever you can justify on the basis of media
     cost, duplication charges, time of people involved, and so on. (You will
     not be required to justify it to the Copyright Holder, but only to the
-    computing community at large as a market that must bear the fee.) 
+    computing community at large as a market that must bear the fee.)
   - "Freely Available" means that no fee is charged for the item itself, though
     there may be fees involved in handling the item. It also means that
     recipients of the item may redistribute it under the same conditions they
-    received it. 
+    received it.
 
 1. You may make and give away verbatim copies of the source form of the
 Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@ products derived from this software without specific prior written permission.
 
 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
 The End
 
diff --git a/MANIFEST b/MANIFEST
index 7cfdb9a..2f83a63 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025.
 Changes
 INSTALL
 LICENSE
@@ -11,13 +11,12 @@ git/config
 lib/Any/Template/ProcessDir.pm
 t/00-load.t
 t/author-critic.t
+t/author-pod-syntax.t
 t/process-multiple-dirs.t
 t/process-single-dir.t
-t/release-pod-syntax.t
 t/source/bar/bap.txt
 t/source/bar/baz.src
 t/source/bar/blargh.txt
 t/source/foo.src
 t/source/fop.txt
-tidyall.ini
 weaver.ini
diff --git a/META.json b/META.json
index 2dcc5ef..d645022 100644
--- a/META.json
+++ b/META.json
@@ -4,13 +4,13 @@
       "Jonathan Swartz <swartz@pobox.com>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.120921",
+   "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Any-Template-ProcessDir",
    "prereqs" : {
@@ -22,6 +22,7 @@
       },
       "develop" : {
          "requires" : {
+            "Test::Perl::Critic" : "0",
             "Test::Pod" : "1.41"
          }
       },
@@ -56,6 +57,9 @@
          "web" : "https://github.com/jonswar/perl-any-template-processdir"
       }
    },
-   "version" : "0.08"
+   "version" : "0.08",
+   "x_generated_by_perl" : "v5.36.0",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
+   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
diff --git a/META.yml b/META.yml
index 9aac8ae..20465b1 100644
--- a/META.yml
+++ b/META.yml
@@ -10,7 +10,7 @@ configure_requires:
   ExtUtils::MakeMaker: '0'
   perl: '5.006'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -28,3 +28,6 @@ resources:
   bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Any-Template-ProcessDir
   repository: git://github.com/jonswar/perl-any-template-processdir.git
 version: '0.08'
+x_generated_by_perl: v5.36.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff --git a/Makefile.PL b/Makefile.PL
index 3a5bd90..d1f2479 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,13 +1,10 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.025.
 use strict;
 use warnings;
 
 use 5.006;
 
-use ExtUtils::MakeMaker ;
-
-
+use ExtUtils::MakeMaker;
 
 my %WriteMakefileArgs = (
   "ABSTRACT" => "Process a directory of templates",
@@ -16,8 +13,8 @@ my %WriteMakefileArgs = (
     "ExtUtils::MakeMaker" => 0
   },
   "DISTNAME" => "Any-Template-ProcessDir",
-  "EXE_FILES" => [],
   "LICENSE" => "perl",
+  "MIN_PERL_VERSION" => "5.006",
   "NAME" => "Any::Template::ProcessDir",
   "PREREQ_PM" => {
     "File::Find::Wanted" => 0,
@@ -60,6 +57,3 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
 
 WriteMakefile(%WriteMakefileArgs);
-
-
-
diff --git a/README b/README
deleted file mode 100644
index 6de58d9..0000000
--- a/README
+++ /dev/null
@@ -1,112 +0,0 @@
-NAME
-    Any::Template::ProcessDir -- Process a directory of templates
-
-VERSION
-    version 0.08
-
-SYNOPSIS
-        use Any::Template::ProcessDir;
-
-        # Process templates and generate result files in a single directory
-        #
-        my $pd = Any::Template::ProcessDir->new(
-            dir => '/path/to/dir',
-            process_text => sub {
-                my $template = Any::Template->new( Backend => '...', String => $_[0] );
-                $template->process({ ... });
-            }
-        );
-        $pd->process_dir();
-
-        # Process templates and generate result files to a separate directory
-        #
-        my $pd = Any::Template::ProcessDir->new(
-            source_dir => '/path/to/source/dir',
-            dest_dir   => '/path/to/dest/dir',
-            process_file => sub {
-                my $file = $_[0];
-                # do something with $file, return content
-            }
-        );
-        $pd->process_dir();
-
-DESCRIPTION
-    Recursively processes a directory of templates, generating a set of
-    result files in the same directory or in a parallel directory. Each file
-    in the source directory may be template-processed, copied, or ignored
-    depending on its pathname.
-
-CONSTRUCTOR
-  Specifying directory/directories
-    *   If you want to generate the result files in the same directory as
-        the templates, just specify *dir*.
-
-            my $pd = Any::Template::ProcessDir->new(
-                dir => '/path/to/dir',
-                ...
-            );
-
-    *   If you want to generate the result files in a separate directory
-        from the templates, specify *source_dir* and *dest_dir*.
-
-            my $pd = Any::Template::ProcessDir->new(
-                source_dir => '/path/to/source/dir',
-                dest_dir => '/path/to/dest/dir',
-                ...
-            );
-
-  Specifying how to process templates
-    process_file
-        A code reference that takes the full template filename and the
-        `Any::Template::ProcessDir' object as arguments, and returns the
-        result string. This can use Any::Template or another method
-        altogether. By default it calls process_text on the contents of the
-        file.
-
-    process_text
-        A code reference that takes the template text and the
-        `Any::Template::ProcessDir' object as arguments, and returns the
-        result string. This can use Any::Template or another method
-        altogether.
-
-  Optional parameters
-    dir_create_mode
-        Permissions mode to use when creating destination directories.
-        Defaults to 0775. No effect if you are using a single directory.
-
-    file_create_mode
-        Permissions mode to use when creating destination files. Defaults to
-        0444 (read-only), so that destination files are not accidentally
-        edited.
-
-    ignore_files
-        Coderef which takes a full pathname and returns true if the file
-        should be ignored. By default, all files will be considered.
-
-    readme_filename
-        Name of a README file to generate in the destination directory -
-        defaults to "README". No file will be generated if you pass undef or
-        if you are using a single directory.
-
-    template_file_suffix
-        Suffix of template files in source directory. Defaults to ".src".
-        This will be removed from the destination file name.
-
-        Any file in the source directory that does not have this suffix (or
-        ignore_file_suffix) will simply be copied to the destination.
-
-METHODS
-    process_dir
-        Process the directory. If using multiple directories, the
-        destination directory will be removed completely and recreated, to
-        eliminate any old files from previous processing.
-
-SEE ALSO
-    Any::Template
-
-COPYRIGHT AND LICENSE
-    This software is copyright (c) 2011 by Jonathan Swartz.
-
-    This is free software; you can redistribute it and/or modify it under
-    the same terms as the Perl 5 programming language system itself.
-
diff --git a/debian/changelog b/debian/changelog
index 0c42e97..c10cfdc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libany-template-processdir-perl (0.08+git20150207.1.05d63ed-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 16 Dec 2022 14:56:20 -0000
+
 libany-template-processdir-perl (0.08-4) unstable; urgency=medium
 
   [ Salvatore Bonaccorso ]
diff --git a/t/author-critic.t b/t/author-critic.t
index af7f7ea..22becf1 100644
--- a/t/author-critic.t
+++ b/t/author-critic.t
@@ -2,8 +2,8 @@
 
 BEGIN {
   unless ($ENV{AUTHOR_TESTING}) {
-    require Test::More;
-    Test::More::plan(skip_all => 'these tests are for testing by the author');
+    print qq{1..0 # SKIP these tests are for testing by the author\n};
+    exit
   }
 }
 
@@ -11,10 +11,5 @@ BEGIN {
 use strict;
 use warnings;
 
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
 all_critic_ok();
diff --git a/t/release-pod-syntax.t b/t/author-pod-syntax.t
similarity index 52%
rename from t/release-pod-syntax.t
rename to t/author-pod-syntax.t
index cdd6a6c..2233af0 100644
--- a/t/release-pod-syntax.t
+++ b/t/author-pod-syntax.t
@@ -1,13 +1,14 @@
 #!perl
 
 BEGIN {
-  unless ($ENV{RELEASE_TESTING}) {
-    require Test::More;
-    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  unless ($ENV{AUTHOR_TESTING}) {
+    print qq{1..0 # SKIP these tests are for testing by the author\n};
+    exit
   }
 }
 
 # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
 use Test::More;
 use Test::Pod 1.41;
 
diff --git a/tidyall.ini b/tidyall.ini
deleted file mode 100644
index e69de29..0000000

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details