BSD Ports

math/p5-Math-Prime-Util-GMP 0.54 FreeBSD

Utilities related to prime numbers and factoring, using GMP

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
aacf29683c
License
ART10, GPLv1+
Categories
math, perl5
Package size
284.4 KiB, 704.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDmath/p5-Math-Prime-Util-GMP0.54
OpenBSDmath/p5-Math-Prime-Util-GMP0.53
NetBSDmath/p5-Math-Prime-Util-GMP0.54
DragonFlymath/p5-Math-Prime-Util-GMP0.52

Install

Binary package:

pkg install p5-Math-Prime-Util-GMP

From the ports tree:

cd /usr/ports/math/p5-Math-Prime-Util-GMP/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Math-Prime-Util-GMP>0:math/p5-Math-Prime-Util-GMP

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.540.540.520.520.54
FreeBSD:14:quarterly0.540.54n/a0.520.54
FreeBSD:15:latest0.540.54n/a0.520.52
FreeBSD:15:quarterly0.540.54n/an/an/a
FreeBSD:16:latest0.540.54n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 3
Run dependencies 3

Configuration

No options to configure.

USES
localbase perl5
Service scripts
none

Files

pkg-plist 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
distinfo 1
FileSizeSHA256
Math-Prime-Util-GMP-0.54.tar.gz4394685ad4be0f8d349432fbe10df67bc3a82b4bc4b0bade2a13e2c8a35b7fb9ddfd1f
Master sites 1
  • CPAN

Commit history 2

DateCommitCreditsLog message
aacf29683c Po-Chuan Hsieh math/p5-Math-Prime-Util-GMP: Update to 0.54
Changes: https://metacpan.org/dist/Math-Prime-Util-GMP/changes
c6fb5cfcb0 Po-Chuan Hsieh math/p5-Math-Prime-Util-GMP: Add PORTSCOUT