r44383 - in /branches/upstream/libmath-gmp-perl/current: .perlcriticrc Changes INSTALL META.yml Makefile.PL README SIGNATURE lib/Math/GMP.pm t/00_signature.t t/99_perlcritic.t t/99_pod.t t/99_spellcheck.t t/99_yaml.t

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sun Sep 20 08:18:52 UTC 2009


Author: ansgar-guest
Date: Sun Sep 20 08:18:41 2009
New Revision: 44383

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44383
Log:
[svn-upgrade] Integrating new upstream version, libmath-gmp-perl (2.06)

Modified:
    branches/upstream/libmath-gmp-perl/current/.perlcriticrc
    branches/upstream/libmath-gmp-perl/current/Changes
    branches/upstream/libmath-gmp-perl/current/INSTALL
    branches/upstream/libmath-gmp-perl/current/META.yml
    branches/upstream/libmath-gmp-perl/current/Makefile.PL
    branches/upstream/libmath-gmp-perl/current/README
    branches/upstream/libmath-gmp-perl/current/SIGNATURE
    branches/upstream/libmath-gmp-perl/current/lib/Math/GMP.pm
    branches/upstream/libmath-gmp-perl/current/t/00_signature.t
    branches/upstream/libmath-gmp-perl/current/t/99_perlcritic.t
    branches/upstream/libmath-gmp-perl/current/t/99_pod.t
    branches/upstream/libmath-gmp-perl/current/t/99_spellcheck.t
    branches/upstream/libmath-gmp-perl/current/t/99_yaml.t

Modified: branches/upstream/libmath-gmp-perl/current/.perlcriticrc
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/.perlcriticrc?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/.perlcriticrc (original)
+++ branches/upstream/libmath-gmp-perl/current/.perlcriticrc Sun Sep 20 08:18:41 2009
@@ -27,6 +27,7 @@
 [-Lax::ProhibitStringyEval::ExceptForRequire]
 [-Lax::RequireEndWithTrueConst]
 [-Miscellanea::RequireRcsKeywords]
+[-Miscellanea::ProhibitUnrestrictedNoCritic]
 [-Modules::ProhibitAutomaticExportation] 
 [-Modules::ProhibitExcessMainComplexity]
 [-Modules::RequireEndWithOne]
@@ -35,6 +36,7 @@
 [-RegularExpressions::ProhibitCaptureWithoutTest]
 [-RegularExpressions::ProhibitEnumeratedClasses]
 [-RegularExpressions::ProhibitEscapedMetacharacters]
+[-RegularExpressions::RequireDotMatchAnything]
 [-RegularExpressions::RequireExtendedFormatting]
 [-RegularExpressions::RequireLineBoundaryMatching]
 [-Subroutines::ProhibitCallsToUndeclaredSubs]

Modified: branches/upstream/libmath-gmp-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/Changes?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/Changes (original)
+++ branches/upstream/libmath-gmp-perl/current/Changes Sun Sep 20 08:18:41 2009
@@ -1,4 +1,8 @@
 Revision history for Perl extension Math::GMP.
+
+2.06  2009-09-17 Greg
+    - Make Makefile.PL more forgiving of gmp library locations. (CPAN bug #46323)
+    - Update link to libgmp.org in INSTALL file (CPAN bug #46324)
 
 2.05  2008-10-06 Greg
     - New maintainer: Greg Sabino Mullane

Modified: branches/upstream/libmath-gmp-perl/current/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/INSTALL?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/INSTALL (original)
+++ branches/upstream/libmath-gmp-perl/current/INSTALL Sun Sep 20 08:18:41 2009
@@ -3,7 +3,7 @@
 To install this package, you will need a version of the GMP library. You can
 get it at the homepage of GMP:
 
-	http://www.swox.com/gmp/
+	http://www.gmplib.org/
 
 After installing GMP, do the following:
 

Modified: branches/upstream/libmath-gmp-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/META.yml?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/META.yml (original)
+++ branches/upstream/libmath-gmp-perl/current/META.yml Sun Sep 20 08:18:41 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name                        : Math-GMP
-version                     : 2.05
+version                     : 2.06
 abstract                    : High speed arbitrary size integer math
 author:              
   - Chip Turner <cturner at pattern.net>
@@ -26,7 +26,7 @@
 provides:
   Math::GMP:
     file                    : GMP.pm
-    version                 : 2.05
+    version                 : 2.06
 
 keywords:
   - math

Modified: branches/upstream/libmath-gmp-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/Makefile.PL?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/Makefile.PL (original)
+++ branches/upstream/libmath-gmp-perl/current/Makefile.PL Sun Sep 20 08:18:41 2009
@@ -12,7 +12,7 @@
 	 'NO_META'      => 1,
 	 );
 
-if (!exists $output->{EXTRALIBS} or $output->{EXTRALIBS} !~ /lgmp/) {
+if (!exists $output->{EXTRALIBS} or $output->{EXTRALIBS} !~ /gmp/) {
 
 	my $makefile = exists $output->{MAKEFILE}
 		? "\nRemoving ($output->{MAKEFILE})\n" : '';
@@ -29,6 +29,11 @@
 };
 
 	## Do not let make proceed
+	if ($makefile) {
+		print $makefile;
+		unlink $output->{MAKEFILE};
+	}
+
 	unlink $output->{MAKEFILE} if $makefile;
 
 	exit 1;

Modified: branches/upstream/libmath-gmp-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/README?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/README (original)
+++ branches/upstream/libmath-gmp-perl/current/README Sun Sep 20 08:18:41 2009
@@ -16,5 +16,5 @@
 AUTHOR
     Chip Turner <chip at redhat.com>, based on Math::BigInt by Mark Biggar
     and Ilya Zakharevich.  Further extensive work provided by
-    Tels <tels at bloodgate.com>.
+    Tels <tels at bloodgate.com>. Later non-extensive work by Greg Sabino Mullane.
 

Modified: branches/upstream/libmath-gmp-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/SIGNATURE?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/SIGNATURE (original)
+++ branches/upstream/libmath-gmp-perl/current/SIGNATURE Sun Sep 20 08:18:41 2009
@@ -14,28 +14,28 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: RIPEMD160
 
-SHA1 3b7ad63b40431964fd2ac7af6dfa5657ceea8ef9 .perlcriticrc
+SHA1 19ac9eb1570ace4d76b4feed902e029b0bb68d16 .perlcriticrc
 SHA1 b256632dcce76559734ff0a23330d2898b7d3a3b COPYING.LIB
-SHA1 5628246440cc13c477d79062d386a373b454d496 Changes
+SHA1 8253eaa1e8d27a15bd6dfee6d13c0d282917403f Changes
 SHA1 774d04b18b8f278e75c076f9415d8dd85eeaf3e5 GMP.xs
-SHA1 f0feb3ede8be652142dc71cccfae363e052509b9 INSTALL
+SHA1 7b08e2399ff1482d96021f71e4387ca862da7051 INSTALL
 SHA1 505b15d429518390a904f67c0a16b30421b27513 LICENSE
 SHA1 301b1947e31dbe270c16df71aa99ece03c265b68 MANIFEST
 SHA1 4a2159b28844ebc0806319037665a0796defd6d7 MANIFEST.SKIP
-SHA1 177ef649c36695ade400e2c52c0d0c6507791ef7 META.yml
-SHA1 c0aa654ac55bcb62dbbda457c7f4932cdc15e644 Makefile.PL
-SHA1 234ab0c72c48c08d88a33fe08c91787a8788aca3 README
-SHA1 de26506c47988baf0b34f4b76d418fa8f43d5b94 lib/Math/GMP.pm
-SHA1 93aa7e8cae0a361d1e6163dea0281ebff41f3c5f t/00_signature.t
+SHA1 d922720a434a29eb269243c52927ea6030cbeead META.yml
+SHA1 af828e1dea3a7207b8d45c0acd64d89e902bf42d Makefile.PL
+SHA1 8da9eb1c4f045bcc228f4ee68e026ff0a53a0187 README
+SHA1 cde240ee7250ec81754f5f8f1248be0238bf00cd lib/Math/GMP.pm
+SHA1 c6d5b40068571194f3d6718dad8d8f500e91498a t/00_signature.t
 SHA1 8e1dd95281414579132b797c10c1e9a35d2b6d01 t/01_gmppm.t
-SHA1 2717c0008e46d63fd8f9c218253a379a8d653038 t/99_perlcritic.t
-SHA1 fec007e553785ea32687b62e3976024cbe43986f t/99_pod.t
-SHA1 c56f0fe8e3fdf773b4be2d24f3b27f9be6b1d2fa t/99_spellcheck.t
-SHA1 ace40437561196dc6a08b5e725de35aed0e9902c t/99_yaml.t
+SHA1 6479bc4bcf09fb9876fc52e2c02a91d9452c3018 t/99_perlcritic.t
+SHA1 9e5d32b76d38bf139b4798e16859fd484769fcf9 t/99_pod.t
+SHA1 8c0bbafd6411fc80df153fb01ada46960e6d0b59 t/99_spellcheck.t
+SHA1 762b0b761deaff9c2821400917698ded8983cc65 t/99_yaml.t
 SHA1 9686bf338037ae19ef5dad7cd4dc8e5edbe02722 typemap
 -----BEGIN PGP SIGNATURE-----
 
-iEYEAREDAAYFAkjqKQkACgkQvJuQZxSWSsgO8wCgk63PiSJOckZ/o4rU4suc7El9
-/ygAn0bsR/24rK6EWTah4UQYlpenIXry
-=Wu7M
+iEYEAREDAAYFAkqyiWQACgkQvJuQZxSWSsiOQwCg+c7DSOBlXYuNkvAPA1YCrwap
+M/8AnjrJQcvcKX+WaB+/GVfRdqQOjWOT
+=jjsW
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libmath-gmp-perl/current/lib/Math/GMP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/lib/Math/GMP.pm?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/lib/Math/GMP.pm (original)
+++ branches/upstream/libmath-gmp-perl/current/lib/Math/GMP.pm Sun Sep 20 08:18:41 2009
@@ -3,7 +3,7 @@
 # Math::GMP, a Perl module for high-speed arbitrary size integer
 # calculations
 # Copyright (C) 2000-2008 James H. Turner
-# Copyright (C) 2008 Greg Sabino Mullane
+# Copyright (C) 2008-2009 Greg Sabino Mullane
 
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Library General Public
@@ -60,7 +60,7 @@
 # names by default without a very good reason. Use EXPORT_OK instead.
 # Do not simply export all your public functions/methods/constants.
 
-our $VERSION = '2.05';
+our $VERSION = '2.06';
 
 sub AUTOLOAD {
 	# This AUTOLOAD is used to 'autoload' constants from the constant()

Modified: branches/upstream/libmath-gmp-perl/current/t/00_signature.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/t/00_signature.t?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/t/00_signature.t (original)
+++ branches/upstream/libmath-gmp-perl/current/t/00_signature.t Sun Sep 20 08:18:41 2009
@@ -1,6 +1,6 @@
 #!perl
 
-## Test that our SIGNATURE file is valid - requires TEST_SIGNATURE env
+## Test that our SIGNATURE file is valid
 
 use 5.006;
 use strict;
@@ -8,8 +8,8 @@
 use Test::More;
 select(($|=1,select(STDERR),$|=1)[1]);
 
-if (!$ENV{TEST_SIGNATURE}) {
-	plan skip_all => 'Set the environment variable TEST_SIGNATURE to enable this test';
+if (! $ENV{RELEASE_TESTING}) {
+	plan (skip_all =>  'Test skipped unless environment variable RELEASE_TESTING is set');
 }
 plan tests => 1;
 

Modified: branches/upstream/libmath-gmp-perl/current/t/99_perlcritic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/t/99_perlcritic.t?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/t/99_perlcritic.t (original)
+++ branches/upstream/libmath-gmp-perl/current/t/99_perlcritic.t Sun Sep 20 08:18:41 2009
@@ -2,7 +2,6 @@
 
 ## Run Perl::Critic against the source code and the tests
 ## This is highly customized, so take with a grain of salt
-## Requires TEST_CRITIC to be set
 
 use 5.006;
 use strict;
@@ -13,8 +12,8 @@
 
 my (@testfiles, @perlfiles, %fileslurp, $t);
 
-if (!$ENV{TEST_CRITIC}) {
-	plan skip_all => 'Set the environment variable TEST_CRITIC to enable this test';
+if (! $ENV{RELEASE_TESTING}) {
+	plan (skip_all =>  'Test skipped unless environment variable RELEASE_TESTING is set');
 }
 elsif (!eval { require Perl::Critic; 1 }) {
 	plan skip_all => 'Could not find Perl::Critic';

Modified: branches/upstream/libmath-gmp-perl/current/t/99_pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/t/99_pod.t?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/t/99_pod.t (original)
+++ branches/upstream/libmath-gmp-perl/current/t/99_pod.t Sun Sep 20 08:18:41 2009
@@ -2,7 +2,6 @@
 
 ## Check our Pod, requires Test::Pod
 ## Also done if available: Test::Pod::Coverage
-## Requires TEST_AUTHOR env
 
 use 5.006;
 use strict;
@@ -10,10 +9,9 @@
 use Test::More;
 select(($|=1,select(STDERR),$|=1)[1]);
 
-if (!$ENV{TEST_AUTHOR}) {
-	plan skip_all => 'Set the environment variable TEST_AUTHOR to enable this test';
+if (! $ENV{RELEASE_TESTING}) {
+	plan (skip_all =>  'Test skipped unless environment variable RELEASE_TESTING is set');
 }
-
 plan tests => 2;
 
 my $PODVERSION = '0.95';

Modified: branches/upstream/libmath-gmp-perl/current/t/99_spellcheck.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/t/99_spellcheck.t?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/t/99_spellcheck.t (original)
+++ branches/upstream/libmath-gmp-perl/current/t/99_spellcheck.t Sun Sep 20 08:18:41 2009
@@ -1,7 +1,6 @@
 #!perl
 
 ## Spellcheck as much as we can
-## Requires TEST_SPELL to be set
 
 use 5.006;
 use strict;
@@ -11,8 +10,8 @@
 
 my (@testfiles, @perlfiles, @textfiles, @commentfiles, $fh);
 
-if (!$ENV{TEST_SPELL}) {
-	plan skip_all => 'Set the environment variable TEST_SPELL to enable this test';
+if (! $ENV{RELEASE_TESTING}) {
+	plan (skip_all =>  'Test skipped unless environment variable RELEASE_TESTING is set');
 }
 elsif (!eval { require Text::SpellChecker; 1 }) {
 	plan skip_all => 'Could not find Text::SpellChecker';
@@ -50,12 +49,12 @@
 }
 
 sub spellcheck {
-	my ($desc, $text, $file) = @_;
+	my ($desc, $text, $sfile) = @_;
 	my $check = Text::SpellChecker->new(text => $text);
 	my %badword;
-	my $class = $file =~ /\.pm$/ ? 'Perl' : $file =~ /\.t$/ ? 'Test' : '';
+	my $class = $sfile =~ /\.pm$/ ? 'Perl' : $sfile =~ /\.t$/ ? 'Test' : '';
 	while (my $word = $check->next_word) {
-		next if $okword{Common}{$word} or $okword{$file}{$word} or $okword{$class}{$word};
+		next if $okword{Common}{$word} or $okword{$sfile}{$word} or $okword{$class}{$word};
 		$badword{$word}++;
 	}
 	my $count = keys %badword;
@@ -192,9 +191,11 @@
 YAMLiciousness
 yml
 Zakharevich
+
 ## Changes
 
 iglu
 il
+libgmp
 probab
 shlomif

Modified: branches/upstream/libmath-gmp-perl/current/t/99_yaml.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmath-gmp-perl/current/t/99_yaml.t?rev=44383&op=diff
==============================================================================
--- branches/upstream/libmath-gmp-perl/current/t/99_yaml.t (original)
+++ branches/upstream/libmath-gmp-perl/current/t/99_yaml.t Sun Sep 20 08:18:41 2009
@@ -8,6 +8,9 @@
 use Test::More;
 select(($|=1,select(STDERR),$|=1)[1]);
 
+if (! $ENV{RELEASE_TESTING}) {
+	plan (skip_all =>  'Test skipped unless environment variable RELEASE_TESTING is set');
+}
 plan tests => 2;
 
 my $V = 0.03;




More information about the Pkg-perl-cvs-commits mailing list