From: Brandon L Black Date: Tue, 1 May 2007 14:19:09 +0000 (+0000) Subject: move to Module::Install, release 0.01_07 X-Git-Tag: 0.02~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FClass-C3-XS.git;a=commitdiff_plain;h=e646b627c5ed2f607ac09254b7dcd56038d893d7 move to Module::Install, release 0.01_07 --- diff --git a/Build.PL b/Build.PL index 9f5c037..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,26 +1,3 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'Class::C3::XS', - xs_files => { 'XS.xs' => 'lib/Class/C3/XS.xs' }, - license => 'perl', - optional => {}, - requires => { - 'perl' => 5.008000, - }, - build_requires => { - 'Test::More' => '0.47', - }, - create_makefile_pl => 'traditional', - create_readme => 1, - recursive_test_files => 1, - add_to_cleanup => [ - 'META.yml', '*.bak', '*.gz', 'Makefile.PL', - 'XS.c', 'XS.o', 'XS.bs', - ], -); - -$build->create_build_script; - +# Dear Distribution Packager. This use of require is intentional. +# Module::Install detects Build.PL usage and acts accordingly. +require 'Makefile.PL'; diff --git a/ChangeLog b/ChangeLog index 2cd259e..7b270be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,20 +1,24 @@ Revision history for Perl extension Class::C3::XS +0.01_07 Tue May 1, 2007 + Added calculate_method_dispatch_tables + Converted to Module::Install + 0.01_06 Tue Apr 17, 2007 - Better memory management? + Better memory management? 0.01_05 Mon Apr 16, 2007 - Fixed assumption of defined-ness when looking in %Class::C3::MRO + Fixed assumption of defined-ness when looking in %Class::C3::MRO 0.01_04 Mon Apr 16, 2007 - Fix threads issue? + Fix threads issue? 0.01_03 Mon Apr 16, 2007 - Fix AvARRAY lvalue issue + Fix AvARRAY lvalue issue 0.01_02 Mon Apr 16, 2007 - Fix MakeMaker compat, and source compat, maybe - not it will work for more people + Fix MakeMaker compat, and source compat, maybe + not it will work for more people 0.01_01 Sun Apr 15, 2007 - Initial Release + Initial Release diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..23d629c --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,7 @@ +use inc::Module::Install; + +name 'Class-C3-XS'; +all_from 'lib/Class/C3/XS.pm'; +build_requires 'Test::More' => '0.47'; +auto_install; +WriteAll; diff --git a/lib/Class/C3/XS.pm b/lib/Class/C3/XS.pm index 070f15f..9871ae6 100644 --- a/lib/Class/C3/XS.pm +++ b/lib/Class/C3/XS.pm @@ -1,6 +1,10 @@ package Class::C3::XS; -our $VERSION = '0.01_06'; +use 5.008_000; +use strict; +use warnings; + +our $VERSION = '0.01_07'; =pod @@ -20,6 +24,10 @@ The main L package will use this package automatically if it can find it. Do not use this package directly, use L instead. +The test suite here is not complete, although it does verify +a few basic things. The best testing comes from running the +L test suite *after* this module is installed. + =head1 AUTHOR Brandon L. Black, Eblblack@gmail.comE