pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Math-Pari Update from version 2.010800nb1 to 2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbe2c79ece55
branches:  trunk
changeset: 554904:bbe2c79ece55
user:      he <he%pkgsrc.org@localhost>
date:      Sun Feb 22 13:11:39 2009 +0000

description:
Update from version 2.010800nb1 to 2.010801.

Pkgsrc changes:
 o Re-do patch-ab so that the tests and adaptations for the various
   NetBSD archs don't sit inside "if ($os eq 'sunos')" (!).

Upstream changes:

2.010801:
  build_paricfg() takes a version argument
  write_paricfg(): likewise.
  Emit paricfg.h which supports GP/PARI v2.3.4.
  Remove the section on CPAN mirroring from README.
  INSTALL: Explain how to google when server is down.
  Skip another subtest in ploth.t.
  Fix treatment of -oo in tests.  Still fails, but now with
     not ok 12 # in='intmellininvshort(2,4,$tab)-$A'
     #    out='-3.364954880E-97+9.90717831E-100*I', type='Math::Pari'
     # pari==='-3.072350108 E-97 + 9.90717831 E-100*I'
     # re_out='\-3\.072350108,?\s*E\-97,?\s*\+,?\s*9\.90717831,?\s*E\-100\*I'
  Consider `intfuncinit' as requiring "unsane" precision of limits
        (bug in GP/PARI???).  Now all tests pass???

diffstat:

 math/p5-Math-Pari/Makefile         |   5 +--
 math/p5-Math-Pari/distinfo         |  11 +++----
 math/p5-Math-Pari/patches/patch-ab |  56 +++++++++++++++++++-------------------
 3 files changed, 35 insertions(+), 37 deletions(-)

diffs (104 lines):

diff -r 2b5da4f78e7e -r bbe2c79ece55 math/p5-Math-Pari/Makefile
--- a/math/p5-Math-Pari/Makefile        Sun Feb 22 12:58:21 2009 +0000
+++ b/math/p5-Math-Pari/Makefile        Sun Feb 22 13:11:39 2009 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2008/10/19 19:18:21 he Exp $
+# $NetBSD: Makefile,v 1.33 2009/02/22 13:11:39 he Exp $
 #
 
-DISTNAME=              Math-Pari-2.010800
+DISTNAME=              Math-Pari-2.010801
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           1
 SVR4_PKGNAME=          p5mpa
 CATEGORIES=            math perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Math/}
diff -r 2b5da4f78e7e -r bbe2c79ece55 math/p5-Math-Pari/distinfo
--- a/math/p5-Math-Pari/distinfo        Sun Feb 22 12:58:21 2009 +0000
+++ b/math/p5-Math-Pari/distinfo        Sun Feb 22 13:11:39 2009 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.11 2008/07/29 12:37:50 he Exp $
+$NetBSD: distinfo,v 1.12 2009/02/22 13:11:39 he Exp $
 
-SHA1 (Math-Pari-2.010800.tar.gz) = 785baa00b7cb1ac47030d9afc22cdad825942587
-RMD160 (Math-Pari-2.010800.tar.gz) = 40bdec281f6d9fa6fc6c937d3f7f7e0d869a7162
-Size (Math-Pari-2.010800.tar.gz) = 115099 bytes
+SHA1 (Math-Pari-2.010801.tar.gz) = 9becc6cbbb80983408de7b3f33e7f19a8015cc34
+RMD160 (Math-Pari-2.010801.tar.gz) = 72af931cd38b3d2e7bb158bbbe6221292dfe07e1
+Size (Math-Pari-2.010801.tar.gz) = 115860 bytes
 SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
 RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
 Size (pari-2.1.6.tgz) = 1541464 bytes
-SHA1 (patch-ab) = 1368bc9e8391786ca800e35bb640fd36b4fbf44a
-SHA1 (patch-ab.old) = 985b0c43128fc1f587bf25f7f2b57f6c8bf3793f
+SHA1 (patch-ab) = 87843977a706b6e1b525f7b977599c3149d04557
 SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
diff -r 2b5da4f78e7e -r bbe2c79ece55 math/p5-Math-Pari/patches/patch-ab
--- a/math/p5-Math-Pari/patches/patch-ab        Sun Feb 22 12:58:21 2009 +0000
+++ b/math/p5-Math-Pari/patches/patch-ab        Sun Feb 22 13:11:39 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2008/02/09 22:39:50 adrianp Exp $
+$NetBSD: patch-ab,v 1.6 2009/02/22 13:11:39 he Exp $
 
---- utils/Math/PariBuild.pm.orig       2006-10-25 21:28:06.000000000 +0100
+--- utils/Math/PariBuild.pm.orig       2009-02-11 02:40:56.000000000 +0100
 +++ utils/Math/PariBuild.pm
-@@ -768,7 +768,7 @@ sub find_machine_architecture () {
+@@ -779,7 +779,7 @@ sub find_machine_architecture () {
      } elsif ($machine ne 'ia64') {
        $machine = 'hppa';
      }
@@ -11,28 +11,28 @@
           or $os eq 'freebsd' or $os =~ /^cygwin/) {
      chomp($machine = `uname -m`);
      $machine ||= 'ix86';
-@@ -820,6 +820,24 @@ sub find_machine_architecture () {
-       $machine = 'ix86';
-       } elsif ((split ' ', $Config{myuname})[3] eq 'sun') {
-       $machine = 'm86k';
-+      } elsif ($os eq 'netbsd') {
-+        chomp($machine = `uname -p`);
-+      if ($machine =~ 'arm.*') {
-+          $machine='arm';
-+      } elsif ($machine = 'i386') {
-+          $machine='ix86';
-+      } elsif ($machine =~ 'mips.*') {
-+          $machine='mips';
-+      } elsif ($machine = 'powerpc') {
-+          $machine='ppc';
-+      } elsif ($machine =~ 'sh3.*') {
-+          $machine='sh3';
-+      } elsif ($machine =~ 'sh5.*') {
-+          $machine='sh5';
-+      } elsif ($machine = 'sparc64') {
-+          $machine='sparcv9';
-+      }
-+      # these can be used verbatim: alpha amd64 m68k sparc vax
-       } elsif ($redo++ == 0) {
-       $type = `uname -m`;
-       redo find_machine;
+@@ -808,6 +808,24 @@ sub find_machine_architecture () {
+       close IN or die "close /proc/cpuinfo: $!";
+       $machine = process_sparc $info, $machine;
+     }
++  } elsif ($os eq 'netbsd') {
++    chomp($machine = `uname -p`);
++    if ($machine =~ 'arm.*') {
++      $machine='arm';
++    } elsif ($machine = 'i386') {
++      $machine='ix86';
++    } elsif ($machine =~ 'mips.*') {
++      $machine='mips';
++    } elsif ($machine = 'powerpc') {
++      $machine='ppc';
++    } elsif ($machine =~ 'sh3.*') {
++      $machine='sh3';
++    } elsif ($machine =~ 'sh5.*') {
++      $machine='sh5';
++    } elsif ($machine = 'sparc64') {
++      $machine='sparcv9';
++    }
++    # these can be used verbatim: alpha amd64 m68k sparc vax
+   } elsif ($os eq 'sunos') {
+     my $type = (split ' ', $Config{myuname})[4];
+     # format: SunOS name 5.9 Generic_118558-26 sun4u sparc SUNW,Ultra-5_10



Home | Main Index | Thread Index | Old Index