diff options
author | miwi <miwi@FreeBSD.org> | 2008-07-18 21:15:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-07-18 21:15:24 +0800 |
commit | 8ff2ffa66feb245f0f29bd36bc6713eca0ac2a72 (patch) | |
tree | 2caaca7eb49178d4bcf712d031eed927a80778ae /math | |
parent | c91ece85e5409feea0c38ddac205d07925f45e99 (diff) | |
download | freebsd-ports-gnome-8ff2ffa66feb245f0f29bd36bc6713eca0ac2a72.tar.gz freebsd-ports-gnome-8ff2ffa66feb245f0f29bd36bc6713eca0ac2a72.tar.zst freebsd-ports-gnome-8ff2ffa66feb245f0f29bd36bc6713eca0ac2a72.zip |
Readded in math/
A C-coded Python extension module that wraps the GMP library to provide
to Python code fast multiprecision arithmetic (integer, rational, and
float), random number generation, advanced number-theoretical functions,
and more.
WWW: http://code.google.com/p/gmpy/
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/py-gmpy/Makefile | 25 | ||||
-rw-r--r-- | math/py-gmpy/distinfo | 3 | ||||
-rw-r--r-- | math/py-gmpy/pkg-descr | 6 |
4 files changed, 35 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 7baf96116c2d..7d1c090a69e6 100644 --- a/math/Makefile +++ b/math/Makefile @@ -310,6 +310,7 @@ SUBDIR += py-bitvector SUBDIR += py-fpconst SUBDIR += py-gato + SUBDIR += py-gmpy SUBDIR += py-gnuplot SUBDIR += py-gsl SUBDIR += py-igraph diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile new file mode 100644 index 000000000000..83e322f26eca --- /dev/null +++ b/math/py-gmpy/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-gmpy +# Date created: 09 July 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= gmpy +PORTVERSION= 1.03 +CATEGORIES= math python +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= Read Write And Modify MARC Bibliographic Data + +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 + +USE_ZIP= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/gmpy.so + +.include <bsd.port.mk> diff --git a/math/py-gmpy/distinfo b/math/py-gmpy/distinfo new file mode 100644 index 000000000000..73a82f107117 --- /dev/null +++ b/math/py-gmpy/distinfo @@ -0,0 +1,3 @@ +MD5 (gmpy-1.03.zip) = 7e723068ecd7078b32f344c747586592 +SHA256 (gmpy-1.03.zip) = dfb02ffd2356aee74c756ac8e235bcaa89e3e0e5199f9fd4b9dfda54c7ff71c7 +SIZE (gmpy-1.03.zip) = 86711 diff --git a/math/py-gmpy/pkg-descr b/math/py-gmpy/pkg-descr new file mode 100644 index 000000000000..40dbbb94e7dd --- /dev/null +++ b/math/py-gmpy/pkg-descr @@ -0,0 +1,6 @@ +A C-coded Python extension module that wraps the GMP library to provide +to Python code fast multiprecision arithmetic (integer, rational, and +float), random number generation, advanced number-theoretical functions, +and more. + +WWW: http://code.google.com/p/gmpy/ |