From: Chris Williams Date: Thu, 10 Sep 2009 21:37:33 +0000 (+0100) Subject: Move Math-BigRat from lib/ to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e31176d44a6dc4092a991b69ba82d40052a59d4d;p=p5sagit%2Fp5-mst-13.2.git Move Math-BigRat from lib/ to ext/ --- diff --git a/MANIFEST b/MANIFEST index b96fe4d..59f3f39 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1622,6 +1622,20 @@ ext/Math-BigInt-FastCalc/t/bigintfc.t Math::BigInt::FastCalc extension ext/Math-BigInt-FastCalc/t/bootstrap.t Math::BigInt::FastCalc extension ext/Math-BigInt-FastCalc/t/leak.t test for memory leaks in Math::BigInt::FastCalc ext/Math-BigInt-FastCalc/t/mbi_rand.t Math::BigInt::FastCalc extension +ext/Math-BigRat/lib/Math/BigRat.pm Math::BigRat +ext/Math-BigRat/t/big_ap.t Math::BigRat test +ext/Math-BigRat/t/bigfltpm.inc Math::BigRat test +ext/Math-BigRat/t/bigfltrt.t Math::BigRat test +ext/Math-BigRat/t/biglog.t Math::BigRat test +ext/Math-BigRat/t/bigratpm.inc Math::BigRat test +ext/Math-BigRat/t/bigratpm.t Math::BigRat test +ext/Math-BigRat/t/bigrat.t Math::BigRat test +ext/Math-BigRat/t/bigratup.t test under $Math::BigInt::upgrade +ext/Math-BigRat/t/bigroot.t Math::BigRat test +ext/Math-BigRat/t/hang.t Math::BigRat test for bug #34584 - hang in exp() +ext/Math-BigRat/t/Math/BigRat/Test.pm Math::BigRat test helper +ext/Math-BigRat/t/requirer.t see if require works properly +ext/Math-BigRat/t/trap.t see if trap_nan and trap_inf work ext/Memoize/lib/Memoize/AnyDBM_File.pm Memoize glue layer for AnyDBM_File ext/Memoize/lib/Memoize/ExpireFile.pm Memoize expiry manager test scaffold ext/Memoize/lib/Memoize/Expire.pm Memoize expiry manager example @@ -2876,19 +2890,6 @@ lib/Math/BigInt/t/use_lib4.t Test combinations of Math::BigInt and BigFloat lib/Math/BigInt/t/use_mbfw.t use BigFloat w/ with and lib at the same time lib/Math/BigInt/t/use.t Test if use Math::BigInt(); works lib/Math/BigInt/t/with_sub.t Test use Math::BigFloat with => package -lib/Math/BigRat.pm Math::BigRat -lib/Math/BigRat/t/big_ap.t Math::BigRat test -lib/Math/BigRat/t/bigfltpm.inc Math::BigRat test -lib/Math/BigRat/t/bigfltrt.t Math::BigRat test -lib/Math/BigRat/t/biglog.t Math::BigRat test -lib/Math/BigRat/t/bigratpm.inc Math::BigRat test -lib/Math/BigRat/t/bigratpm.t Math::BigRat test -lib/Math/BigRat/t/bigrat.t Math::BigRat test -lib/Math/BigRat/t/bigratup.t test under $Math::BigInt::upgrade -lib/Math/BigRat/t/bigroot.t Math::BigRat test -lib/Math/BigRat/t/hang.t Math::BigRat test for bug #34584 - hang in exp() -lib/Math/BigRat/t/requirer.t see if require works properly -lib/Math/BigRat/t/trap.t see if trap_nan and trap_inf work lib/Math/Complex.pm A Complex package lib/Math/Complex.t See if Math::Complex works lib/Math/Trig.pm A simple interface to complex trigonometry @@ -4124,7 +4125,6 @@ t/lib/Math/BigFloat/Subclass.pm Empty subclass of BigFloat for test t/lib/Math/BigInt/BareCalc.pm Bigint's simulation of Calc t/lib/Math/BigInt/Scalar.pm Pure Perl module to support Math::BigInt t/lib/Math/BigInt/Subclass.pm Empty subclass of BigInt for test -t/lib/Math/BigRat/Test.pm Math::BigRat test helper t/lib/mypragma.pm An example user pragma t/lib/mypragma.t Test the example user pragma t/lib/no_load.t Test that some modules don't load others diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index d5ec8a1..1b7e656 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -983,20 +983,13 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'tels', 'DISTRIBUTION' => 'TELS/math/Math-BigRat-0.22.tar.gz', - 'FILES' => q[lib/Math/BigRat.pm - lib/Math/BigRat - t/lib/Math/BigRat/ - ], + 'FILES' => q[ext/Math-BigRat], 'EXCLUDED' => [ qr{^inc/}, qw{ t/pod.t t/pod_cov.t }, ], - 'MAP' => { 't/' => 'lib/Math/BigRat/t/', - 't/Math/BigRat/Test.pm' - => 't/lib/Math/BigRat/Test.pm', - }, 'CPAN' => 1, 'UPSTREAM' => undef, }, diff --git a/ext/.gitignore b/ext/.gitignore index 47543e1..6b4c268 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -47,6 +47,7 @@ ppport.h /IPC-Open3/Makefile.PL /Log-Message/Makefile.PL /Log-Message-Simple/Makefile.PL +/Math-BigRat/Makefile.PL /Math-BigInt-FastCalc/Makefile.PL /Memoize/Makefile.PL /Module-Load/Makefile.PL diff --git a/lib/Math/BigRat.pm b/ext/Math-BigRat/lib/Math/BigRat.pm similarity index 100% rename from lib/Math/BigRat.pm rename to ext/Math-BigRat/lib/Math/BigRat.pm diff --git a/t/lib/Math/BigRat/Test.pm b/ext/Math-BigRat/t/Math/BigRat/Test.pm similarity index 100% rename from t/lib/Math/BigRat/Test.pm rename to ext/Math-BigRat/t/Math/BigRat/Test.pm diff --git a/lib/Math/BigRat/t/big_ap.t b/ext/Math-BigRat/t/big_ap.t similarity index 100% rename from lib/Math/BigRat/t/big_ap.t rename to ext/Math-BigRat/t/big_ap.t diff --git a/lib/Math/BigRat/t/bigfltpm.inc b/ext/Math-BigRat/t/bigfltpm.inc similarity index 100% rename from lib/Math/BigRat/t/bigfltpm.inc rename to ext/Math-BigRat/t/bigfltpm.inc diff --git a/lib/Math/BigRat/t/bigfltrt.t b/ext/Math-BigRat/t/bigfltrt.t similarity index 100% rename from lib/Math/BigRat/t/bigfltrt.t rename to ext/Math-BigRat/t/bigfltrt.t diff --git a/lib/Math/BigRat/t/biglog.t b/ext/Math-BigRat/t/biglog.t similarity index 100% rename from lib/Math/BigRat/t/biglog.t rename to ext/Math-BigRat/t/biglog.t diff --git a/lib/Math/BigRat/t/bigrat.t b/ext/Math-BigRat/t/bigrat.t similarity index 100% rename from lib/Math/BigRat/t/bigrat.t rename to ext/Math-BigRat/t/bigrat.t diff --git a/lib/Math/BigRat/t/bigratpm.inc b/ext/Math-BigRat/t/bigratpm.inc similarity index 100% rename from lib/Math/BigRat/t/bigratpm.inc rename to ext/Math-BigRat/t/bigratpm.inc diff --git a/lib/Math/BigRat/t/bigratpm.t b/ext/Math-BigRat/t/bigratpm.t similarity index 100% rename from lib/Math/BigRat/t/bigratpm.t rename to ext/Math-BigRat/t/bigratpm.t diff --git a/lib/Math/BigRat/t/bigratup.t b/ext/Math-BigRat/t/bigratup.t similarity index 100% rename from lib/Math/BigRat/t/bigratup.t rename to ext/Math-BigRat/t/bigratup.t diff --git a/lib/Math/BigRat/t/bigroot.t b/ext/Math-BigRat/t/bigroot.t similarity index 100% rename from lib/Math/BigRat/t/bigroot.t rename to ext/Math-BigRat/t/bigroot.t diff --git a/lib/Math/BigRat/t/hang.t b/ext/Math-BigRat/t/hang.t similarity index 100% rename from lib/Math/BigRat/t/hang.t rename to ext/Math-BigRat/t/hang.t diff --git a/lib/Math/BigRat/t/requirer.t b/ext/Math-BigRat/t/requirer.t similarity index 100% rename from lib/Math/BigRat/t/requirer.t rename to ext/Math-BigRat/t/requirer.t diff --git a/lib/Math/BigRat/t/trap.t b/ext/Math-BigRat/t/trap.t similarity index 100% rename from lib/Math/BigRat/t/trap.t rename to ext/Math-BigRat/t/trap.t diff --git a/lib/.gitignore b/lib/.gitignore index 7add995..da708f3 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -212,6 +212,7 @@ /Math/BigInt/FastCalc.pm /Math/BigInt/Trace.pm /Math/BigFloat/Trace.pm +/Math/BigRat.pm /Memoize.pm /Memoize /Memoize/AnyDBM_File.pm diff --git a/t/TEST b/t/TEST index 2aefc3e..5ceb6da 100755 --- a/t/TEST +++ b/t/TEST @@ -30,6 +30,7 @@ my %temp_no_core = '../ext/Devel-PPPort' => 1, '../ext/IO-Compress' => 1, '../ext/IPC-SysV' => 1, + '../ext/Math-BigRat' => 1, '../ext/MIME-Base64' => 1, '../ext/Parse-CPAN-Meta' => 1, '../ext/Time-HiRes' => 1,