summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2015-11-09 17:40:51 -0500
committerRicardo Signes <rjbs@cpan.org>2015-11-10 08:21:48 -0500
commitfc9a9443cb9edf6f5607176e09aebe85d00da5fe (patch)
treeff44d8d1ad39c0601c1bb36a8660d7bdbe562f9b
parent6cae08a8be145bcb838b49a6de6051e08d4e25a5 (diff)
downloadperl-fc9a9443cb9edf6f5607176e09aebe85d00da5fe.tar.gz
base: prepare to make a new CPAN release
...eliminates some unneeded files, adds a Makefile.PL (for the INSTALLDIRS-picking behavior).
-rw-r--r--MANIFEST3
-rw-r--r--dist/base/Changes4
-rw-r--r--dist/base/MANIFEST19
-rw-r--r--dist/base/META.yml21
-rw-r--r--dist/base/Makefile.PL11
5 files changed, 16 insertions, 42 deletions
diff --git a/MANIFEST b/MANIFEST
index f07488f8d3..bf2414b91d 100644
--- 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
diff --git a/dist/base/Changes b/dist/base/Changes
index b24ba05e1e..2de35bb4d7 100644
--- a/dist/base/Changes
+++ b/dist/base/Changes
@@ -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
index cdf1fdbc80..0000000000
--- a/dist/base/MANIFEST
+++ /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
index bec1303a2a..0000000000
--- a/dist/base/META.yml
+++ /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
index 0000000000..a62b968cb3
--- /dev/null
+++ b/dist/base/Makefile.PL
@@ -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
+
+);
+