Sun Dec 3 08:41:29 2017 UTC ()
p5-Math-Prime-Util: update to 0.70.

0.70 2017-12-02

    [FIXES]

    - prime_count(a,b) incorrect for a={3..7} and b < 66000000.
      First appeared in v0.65 (May 2017).
      Reported by Trizen.  Fixed.

    - Also impacted were nth_ramanujan_prime and _lower/_upper for
      small input values.

    [FUNCTIONALITY AND PERFORMANCE]

    - Some utility functions used prime counts.  Unlink for more isolation.

    - prime_count_approx uses full precision for bigint or string input.

    - LogarithmicIntegral and ExponentialIntegral will try to use
      our GMP backend if possible.

    - Work around old Math::BigInt::FastCalc (as_int() doesn't work right).

    - prime_memfree also calls GMP's memfree function.  This will clear the
      cached constants (e.g. Pi, Euler).

    - Calling srand or csrand will also result in the GMP backend CSPRNG
      functions being called.  This gives more consistent behavior.

    [OTHER]

    - Turned off threads testing unless release or extended testing is used.
      A few smokers seem to have threads lib that die before we event start.

    - Removed all Math::MPFR code and references.  The latest GMP backend
      has everything we need.

    - The MPU_NO_XS and MPU_NO_GMP environment variables are documented.


(wiz)
diff -r1.20 -r1.21 pkgsrc/math/p5-Math-Prime-Util/Makefile
diff -r1.16 -r1.17 pkgsrc/math/p5-Math-Prime-Util/distinfo

cvs diff -r1.20 -r1.21 pkgsrc/math/p5-Math-Prime-Util/Makefile (expand / switch to unified diff)

--- pkgsrc/math/p5-Math-Prime-Util/Makefile 2017/11/13 15:22:31 1.20
+++ pkgsrc/math/p5-Math-Prime-Util/Makefile 2017/12/03 08:41:29 1.21
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.20 2017/11/13 15:22:31 wiz Exp $ 1# $NetBSD: Makefile,v 1.21 2017/12/03 08:41:29 wiz Exp $
2 2
3DISTNAME= Math-Prime-Util-0.69 3DISTNAME= Math-Prime-Util-0.70
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= math perl5 5CATEGORIES= math perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/dist/Math-Prime-Util/ 9HOMEPAGE= http://search.cpan.org/dist/Math-Prime-Util/
10COMMENT= Perl5 utilities related to prime numbers 10COMMENT= Perl5 utilities related to prime numbers
11LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
12 12
13DEPENDS+= p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure 13DEPENDS+= p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure
14 14
15REPLACE_PERL+= bin/factor.pl bin/primes.pl 15REPLACE_PERL+= bin/factor.pl bin/primes.pl
16PERL5_PACKLIST= auto/Math/Prime/Util/.packlist 16PERL5_PACKLIST= auto/Math/Prime/Util/.packlist

cvs diff -r1.16 -r1.17 pkgsrc/math/p5-Math-Prime-Util/distinfo (expand / switch to unified diff)

--- pkgsrc/math/p5-Math-Prime-Util/distinfo 2017/11/13 15:22:31 1.16
+++ pkgsrc/math/p5-Math-Prime-Util/distinfo 2017/12/03 08:41:29 1.17
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.16 2017/11/13 15:22:31 wiz Exp $ 1$NetBSD: distinfo,v 1.17 2017/12/03 08:41:29 wiz Exp $
2 2
3SHA1 (Math-Prime-Util-0.69.tar.gz) = 61bcc8f871fd43154cc09a8a853d2516e877fb0f 3SHA1 (Math-Prime-Util-0.70.tar.gz) = 1847d4a7ebe3c98df39b0d1beee47b8b4b6e65aa
4RMD160 (Math-Prime-Util-0.69.tar.gz) = 3150689afb090de221699c502fb3d445d8398e33 4RMD160 (Math-Prime-Util-0.70.tar.gz) = af70efa674e9481b7a277c1e2c0b1949ed29be37
5SHA512 (Math-Prime-Util-0.69.tar.gz) = 07780f28398b6e2cfbc1ccaa2cce2d3b32ea000ec9fc3909d9650c0c9dc6f24c0982de8ce52bc3dcfc525e10ad2d5a687a1833a6fab82008345fdba78fbfdfeb 5SHA512 (Math-Prime-Util-0.70.tar.gz) = c05964c8a3f76bb7881cbcafa0d31b76ac34ff3aa931e834ee151ae79f5f582b5681b31ad75f51d63d3129b9c11246a458b196635ca7c242dbd6dedaddb64298
6Size (Math-Prime-Util-0.69.tar.gz) = 593915 bytes 6Size (Math-Prime-Util-0.70.tar.gz) = 593408 bytes