[libclass-virtual-perl] 02/05: Update the Makefile.PL and metadata.
dom at earth.li
dom at earth.li
Wed Aug 23 14:00:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
dom pushed a commit to tag v0.07
in repository libclass-virtual-perl.
commit 0a8dd3641ad824566a752b7686ea08a3dbfe1c8c
Author: Michael G. Schwern <schwern at pobox.com>
Date: Sun Mar 1 12:29:36 2015 -0800
Update the Makefile.PL and metadata.
---
Makefile.PL | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index d286d9f..369b1fc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,17 +1,11 @@
-# A template for Makefile.PL used by Arena Networks.
-# - Set the $PACKAGE variable to the name of your module.
-# - Set $LAST_API_CHANGE to reflect the last version you changed the API
-# of your module.
-# - Fill in your dependencies in PREREQ_PM
-# Alternatively, you can say the hell with this and use h2xs.
+#!/usr/bin/perl -w
use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
$PACKAGE = 'Class::Virtual';
($PACKAGE_FILE = $PACKAGE) =~ s|::|/|g;
$LAST_API_CHANGE = 0;
+$LAST_MAJOR_BUG = 0;
eval "require $PACKAGE";
@@ -23,15 +17,32 @@ than version $LAST_API_CHANGE! Please read the Changes file if you
are upgrading from a version older than $LAST_API_CHANGE.
CHANGE_WARN
+
+ print <<"BUG_WARN" if ${$PACKAGE.'::VERSION'} < $LAST_MAJOR_BUG;
+Version $LAST_MAJOR_BUG contained a MAJOR BUG which has now been fixed.
+See the Changes file for details.
+BUG_WARN
}
WriteMakefile(
NAME => $PACKAGE,
- VERSION_FROM => "lib/$PACKAGE_FILE.pm", # finds $VERSION
+
+ VERSION_FROM => "lib/$PACKAGE_FILE.pm",
+ ABSTRACT_FROM => "lib/$PACKAGE_FILE.pm",
+ AUTHOR => 'Michael G Schwern <schwern at pobox.com>',
+ LICENSE => 'perl_5',
+
PREREQ_PM => {
- Class::Data::Inheritable => 0.02,
- Class::ISA => 0.31,
- Carp::Assert => 0.10,
- Test::More => 0.50,
- },
+ Class::Data::Inheritable => 0.02,
+ Class::ISA => 0.31,
+ Carp::Assert => 0.10,
+ Test::More => 0.50,
+ },
+
+ META_MERGE => {
+ resources => {
+ bugtracker => 'https://github.com/schwern/Class-Virtual/issues',
+ repository => 'https://github.com/schwern/Class-Virtual',
+ }
+ },
);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-virtual-perl.git
More information about the Pkg-perl-cvs-commits
mailing list