Hello community,
here is the log from the commit of package perl-Module-Install for
openSUSE:Factory checked in at 2016-11-10 13:28:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Install (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Install.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Install"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Install/perl-Module-Install.changes
2015-05-02 16:15:47.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Module-Install.new/perl-Module-Install.changes
2016-11-10 13:28:40.000000000 +0100
@@ -1,0 +2,12 @@
+Tue Oct 25 05:48:58 UTC 2016 - [email protected]
+
+- updated to 1.17
+ see /usr/share/doc/packages/perl-Module-Install/Changes
+
+ 1.17 2016-10-24
+ - fix issue with mkpath with empty path
+ - removed irrelevant code for Perl < v5.6
+ - VMS fixes (RT#79858, Craig A. Berry)
+ - documentation updated to reflect current discouraged state
+
+-------------------------------------------------------------------
Old:
----
Module-Install-1.16.tar.gz
New:
----
Module-Install-1.17.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Install.spec ++++++
--- /var/tmp/diff_new_pack.UFOPS3/_old 2016-11-10 13:28:41.000000000 +0100
+++ /var/tmp/diff_new_pack.UFOPS3/_new 2016-11-10 13:28:41.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Install
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,7 +17,7 @@
Name: perl-Module-Install
-Version: 1.16
+Version: 1.17
Release: 0
%define cpan_name Module-Install
Summary: Standalone, extensible Perl module installer
@@ -66,8 +66,8 @@
%description
*Module::Install* is a package for writing installers for CPAN (or
CPAN-like) distributions that are clean, simple, minimalist, act in a
-strictly correct manner with the ExtUtils::MakeMaker manpage, and will run
-on any Perl installation version 5.005 or newer.
+strictly correct manner with ExtUtils::MakeMaker, and will run on any Perl
+installation version 5.005 or newer.
The intent is to make it as easy as possible for CPAN authors (and
especially for first-time CPAN authors) to have installers that follow all
@@ -91,6 +91,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes README
+%doc Changes README TODO
%changelog
++++++ Module-Install-1.16.tar.gz -> Module-Install-1.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/.ackrc
new/Module-Install-1.17/.ackrc
--- old/Module-Install-1.16/.ackrc 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Install-1.17/.ackrc 2015-05-09 00:55:20.000000000 +0200
@@ -0,0 +1,3 @@
+--ignore-dir=Module-Install-1.14
+--ignore-dir=Module-Install-1.15
+--ignore-dir=Module-Install-1.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/Changes
new/Module-Install-1.17/Changes
--- old/Module-Install-1.16/Changes 2015-05-02 02:56:16.000000000 +0200
+++ new/Module-Install-1.17/Changes 2016-10-24 03:58:19.000000000 +0200
@@ -1,5 +1,11 @@
Changes for Perl programming language extension Module-Install
+1.17 2016-10-24
+ - fix issue with mkpath with empty path
+ - removed irrelevant code for Perl < v5.6
+ - VMS fixes (RT#79858, Craig A. Berry)
+ - documentation updated to reflect current discouraged state
+
1.16 Sat 2 May 2015
- add missing test prereq on autodie
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/MANIFEST
new/Module-Install-1.17/MANIFEST
--- old/Module-Install-1.16/MANIFEST 2015-05-02 03:05:52.000000000 +0200
+++ new/Module-Install-1.17/MANIFEST 2016-10-24 03:59:28.000000000 +0200
@@ -1,3 +1,4 @@
+.ackrc
.travis.yml
Changes
lib/inc/Module/Install.pm
@@ -82,4 +83,5 @@
t/34_readwrite.t
t/lib/Test.pm
t/recursive/test.t
+TODO
xt/licenses.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/MANIFEST.SKIP
new/Module-Install-1.17/MANIFEST.SKIP
--- old/Module-Install-1.16/MANIFEST.SKIP 2015-05-02 03:03:43.000000000
+0200
+++ new/Module-Install-1.17/MANIFEST.SKIP 2016-10-24 04:00:27.000000000
+0200
@@ -1,70 +1,4 @@
-
-#!start included
/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.11/lib/5.21.11/ExtUtils/MANIFEST.SKIP
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-\bSCCS\b
-,v$
-\B\.svn\b
-\B\.git\b
-\B\.gitignore\b
-\b_darcs\b
-\B\.cvsignore$
-
-# Avoid VMS specific MakeMaker generated files
-\bDescrip.MMS$
-\bDESCRIP.MMS$
-\bdescrip.mms$
-
-# Avoid Makemaker generated and utility files.
-\bMANIFEST\.bak
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib\.ts$
-\bpm_to_blib$
-\bblibdirs\.ts$ # 6.18 through 6.25 generated this
-\b_eumm/ # 7.05_05 and above
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-\bBuild.bat$
-\bBuild.COM$
-\bBUILD.COM$
-\bbuild.com$
-
-# and Module::Build::Tiny generated files
-\b_build_params$
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-\.tmp$
-\.#
-\.rej$
-\..*\.sw.?$
-
-# Avoid OS-specific files/dirs
-# Mac OSX metadata
-\B\.DS_Store
-# Mac OSX SMB mount metadata files
-\B\._
-
-# Avoid Devel::Cover and Devel::CoverX::Covered files.
-\bcover_db\b
-\bcovered\b
-
-# Avoid prove files
-\B\.prove$
-
-# Avoid MYMETA files
-^MYMETA\.
-#!end included
/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/21.11/lib/5.21.11/ExtUtils/MANIFEST.SKIP
-
+#!include_default
\.tar\.gz$
^Module-Install-\d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/META.yml
new/Module-Install-1.17/META.yml
--- old/Module-Install-1.16/META.yml 2015-05-02 03:05:51.000000000 +0200
+++ new/Module-Install-1.17/META.yml 2016-10-24 03:58:27.000000000 +0200
@@ -12,7 +12,7 @@
YAML::Tiny: '1.33'
distribution_type: module
dynamic_config: 0
-generated_by: 'Module::Install version 1.16'
+generated_by: 'Module::Install version 1.17'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -47,7 +47,7 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/Perl-Toolchain-Gang/Module-Install.git
-version: '1.16'
+version: '1.17'
x_contributors:
- 'Adam Kennedy <[email protected]>'
- 'Kenichi Ishigaki <[email protected]>'
@@ -57,26 +57,30 @@
- 'bowtie <[email protected]>'
- 'Matt S Trout <[email protected]>'
- 'Karen Etheridge <[email protected]>'
- - "Chris \\BinGOs' Williams <[email protected]>"
+ - 'Alberto Simoes <[email protected]>'
- 'Christian Walde <[email protected]>'
- 'Ricardo Signes <[email protected]>'
- 'Ingy <[email protected]>'
- 'Hans Dieter Pearcey <[email protected]>'
- - 'Olivier Mengue <[email protected]>'
- 'Curtis Jewell <[email protected]>'
+ - 'Olivier Mengue <[email protected]>'
- 'Rafael Kitover <[email protected]>'
- 'Avar Arnfjord Bjarmason <[email protected]>'
- - 'Dan Brook <[email protected]>'
- - 'Leo Lapworth <[email protected]>'
- - 'Marcel Grunauer <[email protected]>'
- 'Alex Vandiver <[email protected]>'
- - 'Joshua ben Jore <[email protected]>'
- 'Ash Berlin <[email protected]>'
- - 'gregor herrmann <[email protected]>'
+ - 'Craig A. Berry <[email protected]>'
+ - 'Dan Book <[email protected]>'
+ - 'Dan Brook <[email protected]>'
+ - 'David Golden <[email protected]>'
- 'Gabor Szabo <[email protected]>'
+ - 'Graham Knop <[email protected]>'
+ - 'Joshua ben Jore <[email protected]>'
+ - 'Kang-min Liu <[email protected]>'
+ - 'Kent Fredric <[email protected]>'
+ - 'Leo Lapworth <[email protected]>'
+ - 'Marcel Grunauer <[email protected]>'
+ - 'Peter Rabbitson <[email protected]>'
- 'Thomas Sibley <[email protected]>'
- 'Tokuhiro Matsuno <[email protected]>'
- 'Tom Wyant <[email protected]>'
- - 'Kang-min Liu <[email protected]>'
- - 'David Golden <[email protected]>'
- - 'Kent Fredric <[email protected]>'
+ - 'gregor herrmann <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/Makefile.PL
new/Module-Install-1.17/Makefile.PL
--- old/Module-Install-1.16/Makefile.PL 2015-05-02 02:56:58.000000000 +0200
+++ new/Module-Install-1.17/Makefile.PL 2016-10-24 03:50:34.000000000 +0200
@@ -68,29 +68,38 @@
'bowtie <[email protected]>',
'Matt S Trout <[email protected]>',
'Karen Etheridge <[email protected]>',
- 'Chris \BinGOs\' Williams <[email protected]>',
+ 'Alberto Simoes <[email protected]>',
'Christian Walde <[email protected]>',
'Ricardo Signes <[email protected]>',
'Ingy <[email protected]>', # 'Ingy döt Net <[email protected]>',
'Hans Dieter Pearcey <[email protected]>',
- 'Olivier Mengue <[email protected]>', # 'Olivier Mengué <[email protected]>',
'Curtis Jewell <[email protected]>',
+ 'Olivier Mengue <[email protected]>', # 'Olivier Mengué <[email protected]>',
'Rafael Kitover <[email protected]>',
'Avar Arnfjord Bjarmason <[email protected]>', # 'Ævar Arnfjörð Bjarmason
<[email protected]>',
- 'Dan Brook <[email protected]>',
- 'Leo Lapworth <[email protected]>',
- 'Marcel Grunauer <[email protected]>', # 'Marcel Grünauer
<[email protected]>',
'Alex Vandiver <[email protected]>',
- 'Joshua ben Jore <[email protected]>',
'Ash Berlin <[email protected]>',
- 'gregor herrmann <[email protected]>',
+ 'Craig A. Berry <[email protected]>',
+ 'Dan Book <[email protected]>',
+ 'Dan Brook <[email protected]>',
+ 'David Golden <[email protected]>',
'Gabor Szabo <[email protected]>',
+ 'Graham Knop <[email protected]>',
+ 'Joshua ben Jore <[email protected]>',
+ 'Kang-min Liu <[email protected]>',
+ 'Kent Fredric <[email protected]>',
+ 'Leo Lapworth <[email protected]>',
+ 'Marcel Grunauer <[email protected]>', # 'Marcel Grünauer
<[email protected]>',
+ 'Peter Rabbitson <[email protected]>',
'Thomas Sibley <[email protected]>',
'Tokuhiro Matsuno <[email protected]>',
'Tom Wyant <[email protected]>',
- 'Kang-min Liu <[email protected]>',
- 'David Golden <[email protected]>',
- 'Kent Fredric <[email protected]>',
+ 'gregor herrmann <[email protected]>',
];
WriteAll;
+
+my $readme_from = 'lib/Module/Install.pod';
+# pod2text is in https://metacpan.org/release/podlators
+system("pod2text $readme_from > README")
+ if -f '.gitignore' and (not -e 'README' or (stat('README'))[9] <
(stat($readme_from))[9]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/README
new/Module-Install-1.17/README
--- old/Module-Install-1.16/README 2015-04-16 22:28:28.000000000 +0200
+++ new/Module-Install-1.17/README 2016-10-24 03:57:22.000000000 +0200
@@ -5,18 +5,18 @@
In your Makefile.PL: (Recommended Usage)
use inc::Module::Install;
-
+
# Define metadata
name 'Your-Module';
all_from 'lib/Your/Module.pm';
-
+
# Specific dependencies
requires 'File::Spec' => '0.80';
test_requires 'Test::More' => '0.42';
recommends 'Text::CSV_XS'=> '0.50';
no_index 'directory' => 'demos';
install_script 'myscript';
-
+
WriteAll;
Quickly upgrade a legacy ExtUtil::MakeMaker installer:
@@ -24,6 +24,19 @@
use inc::Module::Install;
WriteMakefile( ... );
+WARNING
+ Please note that while Module::Install pioneered many great ideas in its
+ time, its primary benefits have been better achieved by the authoring
+ tool Dist::Zilla, and its spinoffs Dist::Milla and Minilla. These tools
+ allow the author to build and maintain distributions with DWIM
+ convenience, while the distribution is installed directly by
+ ExtUtils::MakeMaker or similar installation tools, avoiding the
+ complexity of bundling the installer. Dist::Zilla additionally has a
+ more robust plugin system which makes it easier to keep up with changes
+ to the CPAN::Meta::Spec and add other new functionality. Use of
+ Module::Install for new distributions is therefore discouraged by the
+ maintainers.
+
DESCRIPTION
Module::Install is a package for writing installers for CPAN (or
CPAN-like) distributions that are clean, simple, minimalist, act in a
@@ -74,7 +87,8 @@
For more information, see Brian's *Creating Module Distributions with
Module::Install* in June 2003 issue of The Perl Journal
- (<http://www.tpj.com/issues/>).
+ (<http://www.drdobbs.com/web-development/creating-module-distributions-w
+ ith-modul/184416018>)
For a lot more information, and some personal opinions on the module and
its creation, see Module::Install::Philosophy.
@@ -254,7 +268,7 @@
Note that the dependency is on a module and not a distribution. This is
to ensure that your dependency stays correct, even if the module is
- moved or merged into a different distribtion, as is occasionally the
+ moved or merged into a different distribution, as is occasionally the
case.
A dependency on version zero indicates any version of module is
@@ -303,7 +317,7 @@
configure_requires: key in the distribution's META.yml file.
Although most of META.yml is considered advisory only, a CPAN client
- will treat the contents of configure_requires: as authorative, and
+ will treat the contents of configure_requires: as authoritive, and
install the listed modules before it executes the Makefile.PL (from
which it then determines the other dependencies).
@@ -348,7 +362,7 @@
> scriptname
Running scriptname 0.01...
-
+
>
By convention, scripts should be placed in a /script directory within
@@ -363,18 +377,18 @@
no_index directory => 'examples';
no_index package => 'DB';
- Quite often a distrubition will provide example scripts or testing
+ Quite often a distribution will provide example scripts or testing
modules (.pm files) as well as the actual library modules.
In almost all situations, you do not want these indexed in the CPAN
- index, the master Perl packages list, or displayed on the
- <http://search.cpan.org/> website, you just want them along for the
- ride.
+ index, the master Perl packages list, or displayed on
+ <https://metacpan.org/> or <http://search.cpan.org/> websites, you just
+ want them along for the ride.
The "no_index" command is used to indicate directories or files where
there might be non-library .pm files or other files that the CPAN
- indexer and websites such as <http://search.cpan.org/> should explicitly
- ignore.
+ indexer and websites such as <https://metacpan.org/> or
+ <http://search.cpan.org/> should explicitly ignore.
The most common situation is to ignore example or demo directories, but
a variety of different situations may require a "no_index" entry.
@@ -390,8 +404,9 @@
automatically "no_index"'ed for you if found and do not require an
explicit command.
- To summarize, if you can see it on <http://search.cpan.org/> and you
- shouldn't be able to, you need a "no_index" entry to remove it.
+ To summarize, if you can see it on <https://metacpan.org/> or
+ <http://search.cpan.org/> and you shouldn't be able to, you need a
+ "no_index" entry to remove it.
installdirs, install_as_*
installdirs 'site'; # the default
@@ -614,7 +629,7 @@
smallest possible Makefile.PL.
use inc::Module::Install;
-
+
name 'Method-Alias';
all_from 'lib/Method/Alias.pm';
test_requires 'Test::More' => '0.42';
@@ -624,22 +639,22 @@
installer that can handle different dependencies on different platforms.
use inc::Module::Install;
-
+
name 'File-HomeDir';
all_from 'lib/File/HomeDir.pm';
requires 'File::Spec' => '0.80';
test_requires 'Test::More' => '0.47';
-
+
if ( $MacPerl::Version ) {
# Needed on legacy Mac OS 9
requires 'Mac::Files' => 0;
}
-
+
if ( $^O eq 'MXWin32' ) {
# Needed on Windows platforms
requires 'Win32::TieRegistry' => 0;
}
-
+
WriteAll;
TO DO
@@ -701,7 +716,7 @@
Brian Ingerson <[email protected]>
COPYRIGHT
- Copyright 2002 - 2011 Brian Ingerson, Audrey Tang and Adam Kennedy.
+ Copyright 2002 - 2012 Brian Ingerson, Audrey Tang and Adam Kennedy.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/TODO new/Module-Install-1.17/TODO
--- old/Module-Install-1.16/TODO 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Install-1.17/TODO 2016-10-24 04:00:03.000000000 +0200
@@ -0,0 +1,21 @@
+
+http://cpants.cpanauthors.org/dist/Module-Install
+- "use warnings" everywhere
+- no LICENSE (see proposed changes in other dists for how to add one -- or
MI's own license provider plugin, assuming there is one)
+- missing dependency on CPANPLUS?
+
+- no need to 'use vars', since we require perl 5.6 -- but be careful that the
+ difference between vars and 'our' isn't important somewhere.
+
+
+weird test results:
+http://www.cpantesters.org/cpan/report/326ca640-e74d-11e4-92fe-3843e14af301
+http://www.cpantesters.org/cpan/report/0ff78e10-f60f-11e4-a1d1-8536eb4f9f07
+
+
+modules such as Module::Install::Base::FakeAdmin shouldn't be in the index.
+mark their package declarations as # hide from PAUSE -- but search
+grep.cpan.me first just in case something breaks
+
+
+- create Test::DistManifest test to verify stuff... and a makefile.pl thingy
to add xt/ to tests if -e .git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/AutoInstall.pm
new/Module-Install-1.17/lib/Module/AutoInstall.pm
--- old/Module-Install-1.16/lib/Module/AutoInstall.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/AutoInstall.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
}
# special map on pre-defined feature sets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/API.pod
new/Module-Install-1.17/lib/Module/Install/API.pod
--- old/Module-Install-1.16/lib/Module/Install/API.pod 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/API.pod 2016-10-24
03:56:01.000000000 +0200
@@ -267,8 +267,7 @@
features(
'JSON support', [
-default => 0,
- 'JSON' => '2.00',
- 'JSON::XS' => '2.00',
+ 'JSON::MaybeXS' => '1.003003',
],
'YAML support', [
'YAML' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Bundle.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Bundle.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Bundle.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Bundle.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Compiler.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Compiler.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Compiler.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Compiler.pm
2016-10-24 03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Admin/Find.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Find.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Find.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Find.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use Module::Install::Base ();
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw(Module::Install::Base);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Include.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Include.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Include.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Include.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Makefile.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Makefile.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Makefile.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Makefile.pm
2016-10-24 03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Manifest.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Manifest.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Manifest.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Manifest.pm
2016-10-24 03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/Metadata.pm
new/Module-Install-1.17/lib/Module/Install/Admin/Metadata.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/Metadata.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/Metadata.pm
2016-10-24 03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/ScanDeps.pm
new/Module-Install-1.17/lib/Module/Install/Admin/ScanDeps.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/ScanDeps.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/ScanDeps.pm
2016-10-24 03:56:01.000000000 +0200
@@ -4,7 +4,7 @@
use Module::Install::Base ();
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw(Module::Install::Base);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/Admin/WriteAll.pm
new/Module-Install-1.17/lib/Module/Install/Admin/WriteAll.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin/WriteAll.pm
2015-05-02 02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin/WriteAll.pm
2016-10-24 03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Admin.pm
new/Module-Install-1.17/lib/Module/Install/Admin.pm
--- old/Module-Install-1.16/lib/Module/Install/Admin.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Admin.pm 2016-10-24
03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install';
}
@@ -129,7 +129,8 @@
my ($self, $from, $to) = @_;
my @parts = split('/', $to);
- File::Path::mkpath([ join('/', @parts[ 0 .. $#parts-1 ])]);
+ File::Path::mkpath([ join('/', @parts[ 0 .. $#parts-1 ])])
+ if @parts > 1;
chomp $to;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Install-1.16/lib/Module/Install/AutoInstall.pm
new/Module-Install-1.17/lib/Module/Install/AutoInstall.pm
--- old/Module-Install-1.16/lib/Module/Install/AutoInstall.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/AutoInstall.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Base.pm
new/Module-Install-1.17/lib/Module/Install/Base.pm
--- old/Module-Install-1.16/lib/Module/Install/Base.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Base.pm 2016-10-24
03:56:01.000000000 +0200
@@ -3,7 +3,7 @@
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
}
# Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Bundle.pm
new/Module-Install-1.17/lib/Module/Install/Bundle.pm
--- old/Module-Install-1.16/lib/Module/Install/Bundle.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Bundle.pm 2016-10-24
03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Can.pm
new/Module-Install-1.17/lib/Module/Install/Can.pm
--- old/Module-Install-1.16/lib/Module/Install/Can.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Can.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -120,6 +120,15 @@
# Can we locate a (the) C compiler
sub can_cc {
my $self = shift;
+
+ if ($^O eq 'VMS') {
+ require ExtUtils::CBuilder;
+ my $builder = ExtUtils::CBuilder->new(
+ quiet => 1,
+ );
+ return $builder->have_compiler;
+ }
+
my @chunks = split(/ /, $Config::Config{cc}) or return;
# $Config{cc} may contain args; try to find out the program part
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Compiler.pm
new/Module-Install-1.17/lib/Module/Install/Compiler.pm
--- old/Module-Install-1.16/lib/Module/Install/Compiler.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Compiler.pm 2016-10-24
03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/DSL.pm
new/Module-Install-1.17/lib/Module/Install/DSL.pm
--- old/Module-Install-1.16/lib/Module/Install/DSL.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/DSL.pm 2016-10-24
03:56:01.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use vars qw{$VERSION $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
$ISCORE = 1;
*inc::Module::Install::DSL::VERSION = *VERSION;
@inc::Module::Install::DSL::ISA = __PACKAGE__;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Deprecated.pm
new/Module-Install-1.17/lib/Module/Install/Deprecated.pm
--- old/Module-Install-1.16/lib/Module/Install/Deprecated.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Deprecated.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/External.pm
new/Module-Install-1.17/lib/Module/Install/External.pm
--- old/Module-Install-1.16/lib/Module/Install/External.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/External.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Fetch.pm
new/Module-Install-1.17/lib/Module/Install/Fetch.pm
--- old/Module-Install-1.16/lib/Module/Install/Fetch.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Fetch.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Include.pm
new/Module-Install-1.17/lib/Module/Install/Include.pm
--- old/Module-Install-1.16/lib/Module/Install/Include.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Include.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Inline.pm
new/Module-Install-1.17/lib/Module/Install/Inline.pm
--- old/Module-Install-1.16/lib/Module/Install/Inline.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Inline.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/MakeMaker.pm
new/Module-Install-1.17/lib/Module/Install/MakeMaker.pm
--- old/Module-Install-1.16/lib/Module/Install/MakeMaker.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/MakeMaker.pm 2016-10-24
03:56:01.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Makefile.pm
new/Module-Install-1.17/lib/Module/Install/Makefile.pm
--- old/Module-Install-1.16/lib/Module/Install/Makefile.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Makefile.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Metadata.pm
new/Module-Install-1.17/lib/Module/Install/Metadata.pm
--- old/Module-Install-1.16/lib/Module/Install/Metadata.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Metadata.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/PAR.pm
new/Module-Install-1.17/lib/Module/Install/PAR.pm
--- old/Module-Install-1.16/lib/Module/Install/PAR.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/PAR.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Run.pm
new/Module-Install-1.17/lib/Module/Install/Run.pm
--- old/Module-Install-1.16/lib/Module/Install/Run.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Run.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Scripts.pm
new/Module-Install-1.17/lib/Module/Install/Scripts.pm
--- old/Module-Install-1.16/lib/Module/Install/Scripts.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Scripts.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Share.pm
new/Module-Install-1.17/lib/Module/Install/Share.pm
--- old/Module-Install-1.16/lib/Module/Install/Share.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Share.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/Win32.pm
new/Module-Install-1.17/lib/Module/Install/Win32.pm
--- old/Module-Install-1.16/lib/Module/Install/Win32.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/Win32.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/With.pm
new/Module-Install-1.17/lib/Module/Install/With.pm
--- old/Module-Install-1.16/lib/Module/Install/With.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/With.pm 2016-10-24
03:56:01.000000000 +0200
@@ -7,7 +7,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install/WriteAll.pm
new/Module-Install-1.17/lib/Module/Install/WriteAll.pm
--- old/Module-Install-1.16/lib/Module/Install/WriteAll.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install/WriteAll.pm 2016-10-24
03:56:01.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install.pm
new/Module-Install-1.17/lib/Module/Install.pm
--- old/Module-Install-1.16/lib/Module/Install.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install.pm 2016-10-24
03:56:01.000000000 +0200
@@ -30,7 +30,7 @@
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.16';
+ $VERSION = '1.17';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -243,6 +243,8 @@
}
return $args{_self} if $args{_self};
+ $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS';
+
$args{dispatch} ||= 'Admin';
$args{prefix} ||= 'inc';
$args{author} ||= ($^O eq 'VMS' ? '_author' : '.author');
@@ -321,7 +323,7 @@
my ($self, $path) = @_;
my @found;
- File::Find::find( sub {
+ File::Find::find( {no_chdir => 1, wanted => sub {
my $file = $File::Find::name;
return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is;
my $subpath = $1;
@@ -335,7 +337,7 @@
# correctly. Otherwise, root through the file to locate the
case-preserved
# version of the package name.
if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
- my $content = Module::Install::_read($subpath . '.pm');
+ my $content = Module::Install::_read($File::Find::name);
my $in_pod = 0;
foreach ( split /\n/, $content ) {
$in_pod = 1 if /^=\w/;
@@ -350,7 +352,7 @@
}
push @found, [ $file, $pkg ];
- }, $path ) if -d $path;
+ }}, $path ) if -d $path;
@found;
}
@@ -372,8 +374,6 @@
return $call;
}
-# Done in evals to avoid confusing Perl::MinimumVersion
-eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@;
sub _read {
local *FH;
open( FH, '<', $_[0] ) or die "open($_[0]): $!";
@@ -382,16 +382,6 @@
close FH or die "close($_[0]): $!";
return $string;
}
-END_NEW
-sub _read {
- local *FH;
- open( FH, "< $_[0]" ) or die "open($_[0]): $!";
- binmode FH;
- my $string = do { local $/; <FH> };
- close FH or die "close($_[0]): $!";
- return $string;
-}
-END_OLD
sub _readperl {
my $string = Module::Install::_read($_[0]);
@@ -412,8 +402,6 @@
return $string;
}
-# Done in evals to avoid confusing Perl::MinimumVersion
-eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@;
sub _write {
local *FH;
open( FH, '>', $_[0] ) or die "open($_[0]): $!";
@@ -423,17 +411,6 @@
}
close FH or die "close($_[0]): $!";
}
-END_NEW
-sub _write {
- local *FH;
- open( FH, "> $_[0]" ) or die "open($_[0]): $!";
- binmode FH;
- foreach ( 1 .. $#_ ) {
- print FH $_[$_] or die "print($_[0]): $!";
- }
- close FH or die "close($_[0]): $!";
-}
-END_OLD
# _version is for processing module versions (eg, 1.03_05) not
# Perl versions (eg, 5.8.1).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/Module/Install.pod
new/Module-Install-1.17/lib/Module/Install.pod
--- old/Module-Install-1.16/lib/Module/Install.pod 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/Module/Install.pod 2016-10-24
03:56:01.000000000 +0200
@@ -28,6 +28,19 @@
use inc::Module::Install;
WriteMakefile( ... );
+=head1 WARNING
+
+Please note that while B<Module::Install> pioneered many great ideas in its
+time, its primary benefits have been better achieved by the authoring tool
+L<Dist::Zilla>, and its spinoffs L<Dist::Milla> and L<Minilla>. These tools
+allow the author to build and maintain distributions with DWIM convenience,
+while the distribution is installed directly by L<ExtUtils::MakeMaker> or
+similar installation tools, avoiding the complexity of bundling the installer.
+L<Dist::Zilla> additionally has a more robust plugin system which makes it
+easier to keep up with changes to the L<CPAN::Meta::Spec> and add other new
+functionality. Use of B<Module::Install> for new distributions is therefore
+discouraged by the maintainers.
+
=head1 DESCRIPTION
B<Module::Install> is a package for writing installers for CPAN (or
@@ -391,7 +404,7 @@
no_index directory => 'examples';
no_index package => 'DB';
-Quite often a distribition will provide example scripts or testing
+Quite often a distribution will provide example scripts or testing
modules (.pm files) as well as the actual library modules.
In almost all situations, you do B<not> want these indexed in the CPAN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/inc/Module/Install/DSL.pm
new/Module-Install-1.17/lib/inc/Module/Install/DSL.pm
--- old/Module-Install-1.16/lib/inc/Module/Install/DSL.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/inc/Module/Install/DSL.pm 2016-10-24
03:56:01.000000000 +0200
@@ -18,7 +18,7 @@
# version an author currently has installed.
# This allows it to implement any back-compatibility features
# it may want or need to.
- $VERSION = '1.16';
+ $VERSION = '1.17';
}
if ( -d './inc' ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/lib/inc/Module/Install.pm
new/Module-Install-1.17/lib/inc/Module/Install.pm
--- old/Module-Install-1.16/lib/inc/Module/Install.pm 2015-05-02
02:58:30.000000000 +0200
+++ new/Module-Install-1.17/lib/inc/Module/Install.pm 2016-10-24
03:56:01.000000000 +0200
@@ -18,7 +18,7 @@
# version an author currently has installed.
# This allows it to implement any back-compatibility features
# it may want or need to.
- $VERSION = '1.16';
+ $VERSION = '1.17';
}
if ( -d './inc' ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/t/03_autoinstall.t
new/Module-Install-1.17/t/03_autoinstall.t
--- old/Module-Install-1.16/t/03_autoinstall.t 2015-04-16 22:28:28.000000000
+0200
+++ new/Module-Install-1.17/t/03_autoinstall.t 2016-10-17 04:06:10.000000000
+0200
@@ -22,7 +22,7 @@
use ExtUtils::MakeMaker;
sub ExtUtils::MakeMaker::WriteMakefile { $mm_args = {@_} }
-sub ExtUtils::MakeMaker::prompt { return 'n' }
+sub ExtUtils::MakeMaker::prompt ($;$) { return 'n' }
# tiehandle trick to intercept STDOUT.
sub PRINT { my $self = shift; $$self .= join '', @_; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Install-1.16/t/lib/Test.pm
new/Module-Install-1.17/t/lib/Test.pm
--- old/Module-Install-1.16/t/lib/Test.pm 2015-05-02 02:59:17.000000000
+0200
+++ new/Module-Install-1.17/t/lib/Test.pm 2016-10-24 03:58:19.000000000
+0200
@@ -9,7 +9,7 @@
use vars qw{$VERSION @ISA @EXPORT $DIST};
BEGIN {
- $VERSION = '1.16';
+ $VERSION = '1.17';
@ISA = 'Exporter';
@EXPORT = qw{
create_dist