aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-04-13 03:33:50 +0800
committerrm <rm@FreeBSD.org>2012-04-13 03:33:50 +0800
commit7cf9f12938fcd4b7f298dd887a4709b14bdccd4f (patch)
tree2cee57f5557af99d4659e00f7b74f434ad00ae78
parent8c60e9618bf8a858117aab21f28506989055cbe9 (diff)
downloadfreebsd-ports-gnome-7cf9f12938fcd4b7f298dd887a4709b14bdccd4f.tar.gz
freebsd-ports-gnome-7cf9f12938fcd4b7f298dd887a4709b14bdccd4f.tar.zst
freebsd-ports-gnome-7cf9f12938fcd4b7f298dd887a4709b14bdccd4f.zip
FFC works as a compiler for multilinear forms by generating code (C++) for
the evaluation of a multilinear form given in mathematical notation. WWW: https://launchpad.net/ffc PR: 166700 Submitted by: Jason Bacon <jwbacon@tds.net>
-rw-r--r--math/Makefile1
-rw-r--r--math/py-ffc/Makefile26
-rw-r--r--math/py-ffc/distinfo2
-rw-r--r--math/py-ffc/files/patch-setup.py9
-rw-r--r--math/py-ffc/pkg-descr4
-rw-r--r--math/py-ffc/pkg-plist182
6 files changed, 224 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index b30e71c100f8..ed5387a16267 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -509,6 +509,7 @@
SUBDIR += py-basemap
SUBDIR += py-basemap-data
SUBDIR += py-bitvector
+ SUBDIR += py-ffc
SUBDIR += py-fpconst
SUBDIR += py-gato
SUBDIR += py-gmpy
diff --git a/math/py-ffc/Makefile b/math/py-ffc/Makefile
new file mode 100644
index 000000000000..4b74dcb64117
--- /dev/null
+++ b/math/py-ffc/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: py-ffc
+# Date created: 12 April 2012
+# Whom: Jason Bacon <jwbacon@tds.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ffc
+PORTVERSION= 1.0.0
+CATEGORIES= math python
+MASTER_SITES= https://launchpad.net/${PORTNAME}/1.0.x/${PORTVERSION}/+download/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jwbacon@tds.net
+COMMENT= C++ code generator for multilinear forms
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= FFC
+
+FETCH_ARGS= -Fpr
+
+MAN1= ffc.1
+MANCOMPRESSED= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-ffc/distinfo b/math/py-ffc/distinfo
new file mode 100644
index 000000000000..cce5ab40992c
--- /dev/null
+++ b/math/py-ffc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ffc-1.0.0.tar.gz) = 04582684b3b8640029ccf287dcf6dfd38cc90a7c2b851ce9b941ba46fe03c512
+SIZE (ffc-1.0.0.tar.gz) = 3938612
diff --git a/math/py-ffc/files/patch-setup.py b/math/py-ffc/files/patch-setup.py
new file mode 100644
index 000000000000..ccf3c5e8447a
--- /dev/null
+++ b/math/py-ffc/files/patch-setup.py
@@ -0,0 +1,9 @@
+--- setup.py.orig 2012-04-06 13:16:19.000000000 -0500
++++ setup.py 2012-04-06 13:16:25.000000000 -0500
+@@ -31,5 +31,5 @@
+ "ffc.errorcontrol"],
+ package_dir={"ffc": "ffc"},
+ scripts = scripts,
+- data_files = [(join("share", "man", "man1"),
++ data_files = [(join("man", "man1"),
+ [join("doc", "man", "man1", "ffc.1.gz")])])
diff --git a/math/py-ffc/pkg-descr b/math/py-ffc/pkg-descr
new file mode 100644
index 000000000000..704ede7c872c
--- /dev/null
+++ b/math/py-ffc/pkg-descr
@@ -0,0 +1,4 @@
+FFC works as a compiler for multilinear forms by generating code (C++) for
+the evaluation of a multilinear form given in mathematical notation.
+
+WWW: https://launchpad.net/ffc
diff --git a/math/py-ffc/pkg-plist b/math/py-ffc/pkg-plist
new file mode 100644
index 000000000000..e733412d974b
--- /dev/null
+++ b/math/py-ffc/pkg-plist
@@ -0,0 +1,182 @@
+bin/ffc
+%%PYTHON_SITELIBDIR%%/ffc/__init__.py
+%%PYTHON_SITELIBDIR%%/ffc/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ffc/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ffc/analysis.py
+%%PYTHON_SITELIBDIR%%/ffc/analysis.pyc
+%%PYTHON_SITELIBDIR%%/ffc/analysis.pyo
+%%PYTHON_SITELIBDIR%%/ffc/codegeneration.py
+%%PYTHON_SITELIBDIR%%/ffc/codegeneration.pyc
+%%PYTHON_SITELIBDIR%%/ffc/codegeneration.pyo
+%%PYTHON_SITELIBDIR%%/ffc/codesnippets.py
+%%PYTHON_SITELIBDIR%%/ffc/codesnippets.pyc
+%%PYTHON_SITELIBDIR%%/ffc/codesnippets.pyo
+%%PYTHON_SITELIBDIR%%/ffc/compiler.py
+%%PYTHON_SITELIBDIR%%/ffc/compiler.pyc
+%%PYTHON_SITELIBDIR%%/ffc/compiler.pyo
+%%PYTHON_SITELIBDIR%%/ffc/constants.py
+%%PYTHON_SITELIBDIR%%/ffc/constants.pyc
+%%PYTHON_SITELIBDIR%%/ffc/constants.pyo
+%%PYTHON_SITELIBDIR%%/ffc/cpp.py
+%%PYTHON_SITELIBDIR%%/ffc/cpp.pyc
+%%PYTHON_SITELIBDIR%%/ffc/cpp.pyo
+%%PYTHON_SITELIBDIR%%/ffc/enrichedelement.py
+%%PYTHON_SITELIBDIR%%/ffc/enrichedelement.pyc
+%%PYTHON_SITELIBDIR%%/ffc/enrichedelement.pyo
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/__init__.py
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrol.py
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrol.pyc
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrol.pyo
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrolgenerators.py
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrolgenerators.pyc
+%%PYTHON_SITELIBDIR%%/ffc/errorcontrol/errorcontrolgenerators.pyo
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasis.py
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasis.pyc
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasis.pyo
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasisderivatives.py
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasisderivatives.pyc
+%%PYTHON_SITELIBDIR%%/ffc/evaluatebasisderivatives.pyo
+%%PYTHON_SITELIBDIR%%/ffc/evaluatedof.py
+%%PYTHON_SITELIBDIR%%/ffc/evaluatedof.pyc
+%%PYTHON_SITELIBDIR%%/ffc/evaluatedof.pyo
+%%PYTHON_SITELIBDIR%%/ffc/extras.py
+%%PYTHON_SITELIBDIR%%/ffc/extras.pyc
+%%PYTHON_SITELIBDIR%%/ffc/extras.pyo
+%%PYTHON_SITELIBDIR%%/ffc/fiatinterface.py
+%%PYTHON_SITELIBDIR%%/ffc/fiatinterface.pyc
+%%PYTHON_SITELIBDIR%%/ffc/fiatinterface.pyo
+%%PYTHON_SITELIBDIR%%/ffc/formatting.py
+%%PYTHON_SITELIBDIR%%/ffc/formatting.pyc
+%%PYTHON_SITELIBDIR%%/ffc/formatting.pyo
+%%PYTHON_SITELIBDIR%%/ffc/interpolatevertexvalues.py
+%%PYTHON_SITELIBDIR%%/ffc/interpolatevertexvalues.pyc
+%%PYTHON_SITELIBDIR%%/ffc/interpolatevertexvalues.pyo
+%%PYTHON_SITELIBDIR%%/ffc/jitcompiler.py
+%%PYTHON_SITELIBDIR%%/ffc/jitcompiler.pyc
+%%PYTHON_SITELIBDIR%%/ffc/jitcompiler.pyo
+%%PYTHON_SITELIBDIR%%/ffc/jitobject.py
+%%PYTHON_SITELIBDIR%%/ffc/jitobject.pyc
+%%PYTHON_SITELIBDIR%%/ffc/jitobject.pyo
+%%PYTHON_SITELIBDIR%%/ffc/log.py
+%%PYTHON_SITELIBDIR%%/ffc/log.pyc
+%%PYTHON_SITELIBDIR%%/ffc/log.pyo
+%%PYTHON_SITELIBDIR%%/ffc/mixedelement.py
+%%PYTHON_SITELIBDIR%%/ffc/mixedelement.pyc
+%%PYTHON_SITELIBDIR%%/ffc/mixedelement.pyo
+%%PYTHON_SITELIBDIR%%/ffc/optimization.py
+%%PYTHON_SITELIBDIR%%/ffc/optimization.pyc
+%%PYTHON_SITELIBDIR%%/ffc/optimization.pyo
+%%PYTHON_SITELIBDIR%%/ffc/parameters.py
+%%PYTHON_SITELIBDIR%%/ffc/parameters.pyc
+%%PYTHON_SITELIBDIR%%/ffc/parameters.pyo
+%%PYTHON_SITELIBDIR%%/ffc/plot.py
+%%PYTHON_SITELIBDIR%%/ffc/plot.pyc
+%%PYTHON_SITELIBDIR%%/ffc/plot.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/__init__.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/expr.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/expr.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/expr.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/floatvalue.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/floatvalue.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/floatvalue.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/fraction.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/fraction.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/fraction.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/optimisedquadraturetransformer.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/optimisedquadraturetransformer.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/optimisedquadraturetransformer.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/product.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/product.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/product.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturegenerator.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturegenerator.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturegenerator.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureoptimization.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureoptimization.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureoptimization.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturerepresentation.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturerepresentation.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturerepresentation.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformer.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformer.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformer.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformerbase.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformerbase.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadraturetransformerbase.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureutils.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureutils.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/quadratureutils.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/reduce_operations.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/reduce_operations.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/reduce_operations.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/sumobj.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/sumobj.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/sumobj.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbol.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbol.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbol.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbolics.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbolics.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature/symbolics.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadrature_schemes.py
+%%PYTHON_SITELIBDIR%%/ffc/quadrature_schemes.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadrature_schemes.pyo
+%%PYTHON_SITELIBDIR%%/ffc/quadratureelement.py
+%%PYTHON_SITELIBDIR%%/ffc/quadratureelement.pyc
+%%PYTHON_SITELIBDIR%%/ffc/quadratureelement.pyo
+%%PYTHON_SITELIBDIR%%/ffc/representation.py
+%%PYTHON_SITELIBDIR%%/ffc/representation.pyc
+%%PYTHON_SITELIBDIR%%/ffc/representation.pyo
+%%PYTHON_SITELIBDIR%%/ffc/restrictedelement.py
+%%PYTHON_SITELIBDIR%%/ffc/restrictedelement.pyc
+%%PYTHON_SITELIBDIR%%/ffc/restrictedelement.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/__init__.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/costestimation.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/costestimation.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/costestimation.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/geometrytensor.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/geometrytensor.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/geometrytensor.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialextraction.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialextraction.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialextraction.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialintegration.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialintegration.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialintegration.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialtransformation.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialtransformation.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/monomialtransformation.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/multiindex.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/multiindex.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/multiindex.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/referencetensor.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/referencetensor.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/referencetensor.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorgenerator.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorgenerator.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorgenerator.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensoroptimization.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensoroptimization.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensoroptimization.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorreordering.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorreordering.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorreordering.pyo
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorrepresentation.py
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorrepresentation.pyc
+%%PYTHON_SITELIBDIR%%/ffc/tensor/tensorrepresentation.pyo
+%%PYTHON_SITELIBDIR%%/ffc/utils.py
+%%PYTHON_SITELIBDIR%%/ffc/utils.pyc
+%%PYTHON_SITELIBDIR%%/ffc/utils.pyo
+%%PYTHON_SITELIBDIR%%/ffc/wrappers.py
+%%PYTHON_SITELIBDIR%%/ffc/wrappers.pyc
+%%PYTHON_SITELIBDIR%%/ffc/wrappers.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/ffc/tensor
+@dirrm %%PYTHON_SITELIBDIR%%/ffc/quadrature
+@dirrm %%PYTHON_SITELIBDIR%%/ffc/errorcontrol
+@dirrm %%PYTHON_SITELIBDIR%%/ffc