aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-nzmath
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-06-03 16:10:38 +0800
committerwen <wen@FreeBSD.org>2011-06-03 16:10:38 +0800
commit0b7465d69eb4fb1778989a522ad30067ae04e671 (patch)
tree8a271b2c2d033e671a77d1db9be9a47458155aa7 /math/py-nzmath
parentcb827115fa213b6cc439aa27cbc8426c04d0a604 (diff)
downloadfreebsd-ports-gnome-0b7465d69eb4fb1778989a522ad30067ae04e671.tar.gz
freebsd-ports-gnome-0b7465d69eb4fb1778989a522ad30067ae04e671.tar.zst
freebsd-ports-gnome-0b7465d69eb4fb1778989a522ad30067ae04e671.zip
NZMATH is a Python based number theory oriented calculation system.
The centre of development in origin is Tokyo Metropolitan University. It is freely available and distributed under the BSD license. WWW: http://tnt.math.se.tmu.ac.jp/nzmath/
Diffstat (limited to 'math/py-nzmath')
-rw-r--r--math/py-nzmath/Makefile33
-rw-r--r--math/py-nzmath/distinfo2
-rw-r--r--math/py-nzmath/files/patch-setup.py17
-rw-r--r--math/py-nzmath/pkg-descr5
-rw-r--r--math/py-nzmath/pkg-plist233
5 files changed, 290 insertions, 0 deletions
diff --git a/math/py-nzmath/Makefile b/math/py-nzmath/Makefile
new file mode 100644
index 000000000000..204bbd740f2f
--- /dev/null
+++ b/math/py-nzmath/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: py-nzmath
+# Date created: 3rd June, 2011
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nzmath
+PORTVERSION= 1.1.0
+CATEGORIES= math python
+MASTER_SITES= http://tnt.math.se.tmu.ac.jp/nzmath/download/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= NZMATH-${PORTVERSION}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Number theory oriented calculation system
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= NZMATH
+
+post-install:
+.if !defined(NOPORTDATA)
+ ${MKDIR} ${DATADIR}
+ ${CP} ${WRKSRC}/data/discriminant.csv ${DATADIR}
+.endif
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/manual/*.pdf ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/py-nzmath/distinfo b/math/py-nzmath/distinfo
new file mode 100644
index 000000000000..e9102f32e4cd
--- /dev/null
+++ b/math/py-nzmath/distinfo
@@ -0,0 +1,2 @@
+SHA256 (NZMATH-1.1.0.tar.gz) = c365837ed9239a8096bb6b0b512616c0aae7b432c1c801986658d8f235b00dce
+SIZE (NZMATH-1.1.0.tar.gz) = 3921007
diff --git a/math/py-nzmath/files/patch-setup.py b/math/py-nzmath/files/patch-setup.py
new file mode 100644
index 000000000000..f9cc1d8eebd1
--- /dev/null
+++ b/math/py-nzmath/files/patch-setup.py
@@ -0,0 +1,17 @@
+--- setup.py.orig 2011-06-03 06:35:10.000000000 +0800
++++ setup.py 2011-06-03 06:35:41.000000000 +0800
+@@ -21,9 +21,9 @@
+
+ packages=['nzmath', 'nzmath.config', 'nzmath.factor', 'nzmath.poly', 'nzmath.plugin', 'nzmath.plugin.math'],
+
+- data_files=[
+- (data_prefix, ['data/discriminant.csv']),
+- (doc_prefix + 'manual',
+- glob.glob('manual/*.pdf')),
+- ]
++# data_files=[
++# (data_prefix, ['data/discriminant.csv']),
++# (doc_prefix + 'manual',
++# glob.glob('manual/*.pdf')),
++# ]
+ )
diff --git a/math/py-nzmath/pkg-descr b/math/py-nzmath/pkg-descr
new file mode 100644
index 000000000000..943ee4128798
--- /dev/null
+++ b/math/py-nzmath/pkg-descr
@@ -0,0 +1,5 @@
+NZMATH is a Python based number theory oriented calculation system.
+The centre of development in origin is Tokyo Metropolitan University.
+It is freely available and distributed under the BSD license.
+
+WWW: http://tnt.math.se.tmu.ac.jp/nzmath/
diff --git a/math/py-nzmath/pkg-plist b/math/py-nzmath/pkg-plist
new file mode 100644
index 000000000000..2e91c4fb5376
--- /dev/null
+++ b/math/py-nzmath/pkg-plist
@@ -0,0 +1,233 @@
+%%PYTHON_SITELIBDIR%%/nzmath/__init__.py
+%%PYTHON_SITELIBDIR%%/nzmath/__init__.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/__init__.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/algfield.py
+%%PYTHON_SITELIBDIR%%/nzmath/algfield.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/algfield.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/algorithm.py
+%%PYTHON_SITELIBDIR%%/nzmath/algorithm.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/algorithm.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/arith1.py
+%%PYTHON_SITELIBDIR%%/nzmath/arith1.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/arith1.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/arygcd.py
+%%PYTHON_SITELIBDIR%%/nzmath/arygcd.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/arygcd.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/bigrandom.py
+%%PYTHON_SITELIBDIR%%/nzmath/bigrandom.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/bigrandom.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/bigrange.py
+%%PYTHON_SITELIBDIR%%/nzmath/bigrange.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/bigrange.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/combinatorial.py
+%%PYTHON_SITELIBDIR%%/nzmath/combinatorial.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/combinatorial.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/compatibility.py
+%%PYTHON_SITELIBDIR%%/nzmath/compatibility.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/compatibility.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/config/nzmathconf.py
+%%PYTHON_SITELIBDIR%%/nzmath/config/nzmathconf.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/config/nzmathconf.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/config.py
+%%PYTHON_SITELIBDIR%%/nzmath/config.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/config.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/cubic_root.py
+%%PYTHON_SITELIBDIR%%/nzmath/cubic_root.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/cubic_root.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/ecpp.py
+%%PYTHON_SITELIBDIR%%/nzmath/ecpp.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/ecpp.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/elliptic.py
+%%PYTHON_SITELIBDIR%%/nzmath/elliptic.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/elliptic.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/equation.py
+%%PYTHON_SITELIBDIR%%/nzmath/equation.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/equation.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/__init__.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/__init__.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/__init__.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/ecm.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/ecm.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/ecm.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/find.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/find.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/find.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/methods.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/methods.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/methods.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/misc.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/misc.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/misc.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/mpqs.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/mpqs.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/mpqs.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/factor/util.py
+%%PYTHON_SITELIBDIR%%/nzmath/factor/util.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/factor/util.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/finitefield.py
+%%PYTHON_SITELIBDIR%%/nzmath/finitefield.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/finitefield.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/gcd.py
+%%PYTHON_SITELIBDIR%%/nzmath/gcd.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/gcd.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/group.py
+%%PYTHON_SITELIBDIR%%/nzmath/group.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/group.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/imaginary.py
+%%PYTHON_SITELIBDIR%%/nzmath/imaginary.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/imaginary.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/intresidue.py
+%%PYTHON_SITELIBDIR%%/nzmath/intresidue.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/intresidue.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/lattice.py
+%%PYTHON_SITELIBDIR%%/nzmath/lattice.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/lattice.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/matrix.py
+%%PYTHON_SITELIBDIR%%/nzmath/matrix.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/matrix.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/module.py
+%%PYTHON_SITELIBDIR%%/nzmath/module.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/module.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/multiplicative.py
+%%PYTHON_SITELIBDIR%%/nzmath/multiplicative.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/multiplicative.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/permute.py
+%%PYTHON_SITELIBDIR%%/nzmath/permute.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/permute.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/__init__.py
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/__init__.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/__init__.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/__init__.py
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/__init__.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/__init__.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/_mpmath.py
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/_mpmath.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/_mpmath.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/default.py
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/default.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/plugin/math/default.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/plugins.py
+%%PYTHON_SITELIBDIR%%/nzmath/plugins.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/plugins.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/__init__.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/__init__.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/__init__.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/factor.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/factor.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/factor.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/formalsum.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/formalsum.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/formalsum.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/groebner.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/groebner.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/groebner.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/hensel.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/hensel.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/hensel.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multiutil.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multiutil.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multiutil.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multivar.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multivar.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/multivar.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ratfunc.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ratfunc.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ratfunc.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ring.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ring.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/ring.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/termorder.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/termorder.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/termorder.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/uniutil.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/uniutil.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/uniutil.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/poly/univar.py
+%%PYTHON_SITELIBDIR%%/nzmath/poly/univar.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/poly/univar.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/prime.py
+%%PYTHON_SITELIBDIR%%/nzmath/prime.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/prime.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/prime_decomp.py
+%%PYTHON_SITELIBDIR%%/nzmath/prime_decomp.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/prime_decomp.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/quad.py
+%%PYTHON_SITELIBDIR%%/nzmath/quad.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/quad.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/rational.py
+%%PYTHON_SITELIBDIR%%/nzmath/rational.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/rational.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/real.py
+%%PYTHON_SITELIBDIR%%/nzmath/real.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/real.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/ring.py
+%%PYTHON_SITELIBDIR%%/nzmath/ring.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/ring.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/round2.py
+%%PYTHON_SITELIBDIR%%/nzmath/round2.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/round2.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/squarefree.py
+%%PYTHON_SITELIBDIR%%/nzmath/squarefree.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/squarefree.pyo
+%%PYTHON_SITELIBDIR%%/nzmath/vector.py
+%%PYTHON_SITELIBDIR%%/nzmath/vector.pyc
+%%PYTHON_SITELIBDIR%%/nzmath/vector.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath/config
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath/factor
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath/plugin/math
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath/plugin
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath/poly
+@dirrm %%PYTHON_SITELIBDIR%%/nzmath
+%%PORTDATA%%%%DATADIR%%/discriminant.csv
+%%PORTDATA%%@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/algfield.pdf
+%%PORTDOCS%%%%DOCSDIR%%/algorithm.pdf
+%%PORTDOCS%%%%DOCSDIR%%/arith1.pdf
+%%PORTDOCS%%%%DOCSDIR%%/arygcd.pdf
+%%PORTDOCS%%%%DOCSDIR%%/bigrandom.pdf
+%%PORTDOCS%%%%DOCSDIR%%/bigrange.pdf
+%%PORTDOCS%%%%DOCSDIR%%/combinatorial.pdf
+%%PORTDOCS%%%%DOCSDIR%%/compatibility.pdf
+%%PORTDOCS%%%%DOCSDIR%%/config.pdf
+%%PORTDOCS%%%%DOCSDIR%%/cubic_root.pdf
+%%PORTDOCS%%%%DOCSDIR%%/ecpp.pdf
+%%PORTDOCS%%%%DOCSDIR%%/elliptic.pdf
+%%PORTDOCS%%%%DOCSDIR%%/equation.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.ecm.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.find.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.methods.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.misc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.mpqs.pdf
+%%PORTDOCS%%%%DOCSDIR%%/factor.util.pdf
+%%PORTDOCS%%%%DOCSDIR%%/finitefield.pdf
+%%PORTDOCS%%%%DOCSDIR%%/gcd.pdf
+%%PORTDOCS%%%%DOCSDIR%%/group.pdf
+%%PORTDOCS%%%%DOCSDIR%%/imaginary.pdf
+%%PORTDOCS%%%%DOCSDIR%%/intresidue.pdf
+%%PORTDOCS%%%%DOCSDIR%%/lattice.pdf
+%%PORTDOCS%%%%DOCSDIR%%/matrix.pdf
+%%PORTDOCS%%%%DOCSDIR%%/module.pdf
+%%PORTDOCS%%%%DOCSDIR%%/multiplicative.pdf
+%%PORTDOCS%%%%DOCSDIR%%/nzmath_doc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/permute.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.factor.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.formalsum.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.groebner.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.hensel.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.multiutil.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.multivar.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.ratfunc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.ring.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.termorder.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.uniutil.pdf
+%%PORTDOCS%%%%DOCSDIR%%/poly.univar.pdf
+%%PORTDOCS%%%%DOCSDIR%%/prime.pdf
+%%PORTDOCS%%%%DOCSDIR%%/prime_decomp.pdf
+%%PORTDOCS%%%%DOCSDIR%%/quad.pdf
+%%PORTDOCS%%%%DOCSDIR%%/rational.pdf
+%%PORTDOCS%%%%DOCSDIR%%/real.pdf
+%%PORTDOCS%%%%DOCSDIR%%/ring.pdf
+%%PORTDOCS%%%%DOCSDIR%%/round2.pdf
+%%PORTDOCS%%%%DOCSDIR%%/squarefree.pdf
+%%PORTDOCS%%%%DOCSDIR%%/vector.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%