base: prepare to make a new CPAN release
authorRicardo Signes <rjbs@cpan.org>
Mon, 9 Nov 2015 22:40:51 +0000 (17:40 -0500)
committerRicardo Signes <rjbs@cpan.org>
Tue, 10 Nov 2015 13:21:48 +0000 (08:21 -0500)
...eliminates some unneeded files, adds a Makefile.PL (for the
INSTALLDIRS-picking behavior).

MANIFEST
dist/base/Changes
dist/base/MANIFEST [deleted file]
dist/base/META.yml [deleted file]
dist/base/Makefile.PL [new file with mode: 0644]

index f07488f..bf2414b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -3010,8 +3010,7 @@ dist/autouse/t/lib/MyTestModule.pm        Test module for autouse
 dist/base/Changes              base.pm changelog
 dist/base/lib/base.pm          Establish IS-A relationship at compile time
 dist/base/lib/fields.pm                Set up object field names for pseudo-hash-using classes
-dist/base/MANIFEST             base.pm manifest
-dist/base/META.yml             base.pm META.yml file
+dist/base/Makefile.PL  base.pm Makefile.PL
 dist/base/t/base-open-chunk.t  See if base works
 dist/base/t/base-open-line.t   See if base works
 dist/base/t/base.t             See if base works
index b24ba05..2de35bb 100644 (file)
@@ -1,3 +1,7 @@
+2.22
+    - Better handling of attempts to load non-existent modules
+    - Improvements to fields.pm documentation
+
 2.18
     - Backport from bleadperl before 5.16.0 release
     - base no longer sets a module's $VERSION to "-1" when a module it
diff --git a/dist/base/MANIFEST b/dist/base/MANIFEST
deleted file mode 100644 (file)
index cdf1fdb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Changes
-lib/base.pm
-lib/fields.pm
-Makefile.PL
-MANIFEST
-META.yml                       Module meta-data (added by MakeMaker)
-t/base.t
-t/compile-time.t
-t/fields-5_6_0.t
-t/fields-5_8_0.t
-t/fields-base.t
-t/fields.t
-t/isa.t
-t/lib/Broken.pm
-t/lib/Dummy.pm
-t/lib/HasSigDie.pm
-t/sigdie.t
-t/version.t
-t/warnings.t
diff --git a/dist/base/META.yml b/dist/base/META.yml
deleted file mode 100644 (file)
index bec1303..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- #YAML:1.0
-name:               base
-version:            2.15
-abstract:           ~
-author:  []
-license:            unknown
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
-build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    Test::More:  0.4
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.55_02
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
diff --git a/dist/base/Makefile.PL b/dist/base/Makefile.PL
new file mode 100644 (file)
index 0000000..a62b968
--- /dev/null
@@ -0,0 +1,11 @@
+use strict;
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+    NAME            => 'base',
+    VERSION_FROM    => "lib/base.pm", # finds $VERSION
+    PREREQ_PM       => { 'Test::More' => 0.40 },
+    ($] > 5.011) ? () : ( INSTALLDIRS => 'perl' ), # CPAN sourced versions should now install to site
+
+);
+