From owner-svn-ports-all@freebsd.org Mon Sep 10 20:26:09 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7CBB109B47E; Mon, 10 Sep 2018 20:26:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C79173D2E; Mon, 10 Sep 2018 20:26:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 576505B63; Mon, 10 Sep 2018 20:26:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8AKQ98H002460; Mon, 10 Sep 2018 20:26:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8AKQ8ah002456; Mon, 10 Sep 2018 20:26:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201809102026.w8AKQ8ah002456@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 10 Sep 2018 20:26:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479453 - in head/math: . p5-Math-Prime-Util-GMP X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/math: . p5-Math-Prime-Util-GMP X-SVN-Commit-Revision: 479453 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 20:26:10 -0000 Author: sunpoet Date: Mon Sep 10 20:26:08 2018 New Revision: 479453 URL: https://svnweb.freebsd.org/changeset/ports/479453 Log: Add p5-Math-Prime-Util-GMP 0.51 Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This includes primality tests, getting primes in a range, factoring, and more. These use GMP directly, so should be quite fast for bignums. This module is mainly intended to be used within Math::Prime::Util, but most functions can be easily used in independent C programs. Some, like factoring and primality proving, have explicit ways of compiling as standalone programs. WWW: https://metacpan.org/release/Math-Prime-Util-GMP Added: head/math/p5-Math-Prime-Util-GMP/ head/math/p5-Math-Prime-Util-GMP/Makefile (contents, props changed) head/math/p5-Math-Prime-Util-GMP/distinfo (contents, props changed) head/math/p5-Math-Prime-Util-GMP/pkg-descr (contents, props changed) head/math/p5-Math-Prime-Util-GMP/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Sep 10 20:25:41 2018 (r479452) +++ head/math/Makefile Mon Sep 10 20:26:08 2018 (r479453) @@ -546,6 +546,7 @@ SUBDIR += p5-Math-Polygon-Tree SUBDIR += p5-Math-Polynomial-Solve SUBDIR += p5-Math-Prime-Util + SUBDIR += p5-Math-Prime-Util-GMP SUBDIR += p5-Math-Prime-XS SUBDIR += p5-Math-ProvablePrime SUBDIR += p5-Math-RPN Added: head/math/p5-Math-Prime-Util-GMP/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-Prime-Util-GMP/Makefile Mon Sep 10 20:26:08 2018 (r479453) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Math-Prime-Util-GMP +PORTVERSION= 0.51 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Utilities related to prime numbers and factoring, using GMP + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgmp.so:math/gmp + +USES= localbase perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/Util/GMP/GMP.so + +.include Added: head/math/p5-Math-Prime-Util-GMP/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-Prime-Util-GMP/distinfo Mon Sep 10 20:26:08 2018 (r479453) @@ -0,0 +1,3 @@ +TIMESTAMP = 1536594259 +SHA256 (Math-Prime-Util-GMP-0.51.tar.gz) = 5871e73ff2bf255c7f5e38b05267a8695bba59105a008727bab1aab262d54b9a +SIZE (Math-Prime-Util-GMP-0.51.tar.gz) = 334404 Added: head/math/p5-Math-Prime-Util-GMP/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-Prime-Util-GMP/pkg-descr Mon Sep 10 20:26:08 2018 (r479453) @@ -0,0 +1,9 @@ +Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This +includes primality tests, getting primes in a range, factoring, and more. + +These use GMP directly, so should be quite fast for bignums. This module is +mainly intended to be used within Math::Prime::Util, but most functions can be +easily used in independent C programs. Some, like factoring and primality +proving, have explicit ways of compiling as standalone programs. + +WWW: https://metacpan.org/release/Math-Prime-Util-GMP Added: head/math/p5-Math-Prime-Util-GMP/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/p5-Math-Prime-Util-GMP/pkg-plist Mon Sep 10 20:26:08 2018 (r479453) @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Math/Prime/Util/GMP.pm +%%SITE_ARCH%%/auto/Math/Prime/Util/GMP/GMP.so +%%PERL5_MAN3%%/Math::Prime::Util::GMP.3.gz