pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/p5-Math-Prime-Util



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 17 20:11:00 UTC 2017

Modified Files:
        pkgsrc/math/p5-Math-Prime-Util: Makefile distinfo

Log Message:
p5-Math-Prime-Util: update to 0.66.

0.66 2017-09-12

    [ADDED]

    - random_semiprime                random n-bit semiprime (even split)
    - random_unrestricted_semiprime   random n-bit semiprime
    - forderange { ... } n            derangements iterator
    - numtoperm(n,k)                  returns kth permutation of n elems
    - permtonum([...])                returns rank of permutation array ref
    - randperm(n[,k])                 random permutation of n elements
    - shuffle(...)                    random permutation of an array

    [FUNCTIONALITY AND PERFORMANCE]

    - Rewrite sieve marking based on Kim Walisch's new simple mod-30 sieve.
      Similar in many ways to my old code, but this is simpler and faster.

    - is_pseudoprime, is_euler_pseudoprime, is_strong_pseudoprime changed to
      better handle the unusual case of base >= n.

    - Speedup for is_carmichael.

    - is_frobenius_underwood_pseudoprime checks for jacobi == 0.  Faster.

    - Updated Montgomery inverse from Robert Gerbicz.

    - Tighter nth prime bounds for large inputs from Axler 2017-06.
      Redo Ramanujan bounds since they're based on nth prime bounds.

    - chinese objectifies result (i.e. big results are bigints).

    - Internal support for Baillie-Wagstaff (pg 1402) extra Lucas tests.

    - More standardized Lucas parameter selection.  Like other tests and the
      1980 paper, checks jacobi(D) in the loop, not gcd(D).

    - entropy_bytes, srand, and csrand moved to XS.

    - Add -secure import to disallow all manual seeding.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/p5-Math-Prime-Util/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/p5-Math-Prime-Util/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/p5-Math-Prime-Util/Makefile
diff -u pkgsrc/math/p5-Math-Prime-Util/Makefile:1.16 pkgsrc/math/p5-Math-Prime-Util/Makefile:1.17
--- pkgsrc/math/p5-Math-Prime-Util/Makefile:1.16        Mon Jun  5 14:24:11 2017
+++ pkgsrc/math/p5-Math-Prime-Util/Makefile     Sun Sep 17 20:10:59 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2017/06/05 14:24:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.17 2017/09/17 20:10:59 wiz Exp $
 
-DISTNAME=      Math-Prime-Util-0.65
+DISTNAME=      Math-Prime-Util-0.66
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    math perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Math/}
 
@@ -11,17 +10,12 @@ HOMEPAGE=   http://search.cpan.org/dist/Ma
 COMMENT=       Perl5 utilities related to prime numbers
 LICENSE=       ${PERL5_LICENSE}
 
-SUBST_CLASSES+=                perl
-SUBST_STAGE.perl=      post-patch
-SUBST_MESSAGE.perl=    Fixing path to perl
-SUBST_FILES.perl+=     bin/factor.pl bin/primes.pl
-SUBST_SED.perl=                -e "s|/usr/bin/env perl|${PERL5}|"
+DEPENDS+=      p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure
 
-USE_LANGUAGES+=        c
-
-DEPENDS+=              p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure
+REPLACE_PERL+= bin/factor.pl bin/primes.pl
+PERL5_PACKLIST=        auto/Math/Prime/Util/.packlist
 
-PERL5_PACKLIST=                auto/Math/Prime/Util/.packlist
+USE_LANGUAGES+=        c
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/p5-Math-Prime-Util/distinfo
diff -u pkgsrc/math/p5-Math-Prime-Util/distinfo:1.12 pkgsrc/math/p5-Math-Prime-Util/distinfo:1.13
--- pkgsrc/math/p5-Math-Prime-Util/distinfo:1.12        Sat May 13 01:29:02 2017
+++ pkgsrc/math/p5-Math-Prime-Util/distinfo     Sun Sep 17 20:10:59 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2017/05/13 01:29:02 wen Exp $
+$NetBSD: distinfo,v 1.13 2017/09/17 20:10:59 wiz Exp $
 
-SHA1 (Math-Prime-Util-0.65.tar.gz) = 1b3acd8d45dbe1a82b7137bc17f8fecb7dced847
-RMD160 (Math-Prime-Util-0.65.tar.gz) = a273945fdd85c84f4dc55a36a8d0c11679a5b33c
-SHA512 (Math-Prime-Util-0.65.tar.gz) = 7d6db326291f3b09491ecb9e4280dc2cc97d65cec9fbcb70f1e521111170e51c0d2a57f0723d2866a8c492779fc57d01b3a2a7f7d38fa5d106422e4500c5de20
-Size (Math-Prime-Util-0.65.tar.gz) = 575615 bytes
+SHA1 (Math-Prime-Util-0.66.tar.gz) = c5809df6395a896babe04c63ebf54372209b6752
+RMD160 (Math-Prime-Util-0.66.tar.gz) = 6c4fe084c6e005ddfff98250680e42335ad88d72
+SHA512 (Math-Prime-Util-0.66.tar.gz) = dafe91993cd48309a8bc7b675e9b37f7cb119295da31c404a4405d5dc3faa507c689e014db769f8d0552dffecd317df4a83118a017f62222f3c3215947692eae
+Size (Math-Prime-Util-0.66.tar.gz) = 583938 bytes



Home | Main Index | Thread Index | Old Index