aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-04-15 03:27:42 +0800
committerjgh <jgh@FreeBSD.org>2012-04-15 03:27:42 +0800
commita6813af6eb06b9570d1fad3b8ec310db8771d226 (patch)
tree4de588ead9a882836b36bcead931112537e26be9 /math
parentc7ee77e9ed0494d15224a347190f32812afbdc0c (diff)
downloadfreebsd-ports-gnome-a6813af6eb06b9570d1fad3b8ec310db8771d226.tar.gz
freebsd-ports-gnome-a6813af6eb06b9570d1fad3b8ec310db8771d226.tar.zst
freebsd-ports-gnome-a6813af6eb06b9570d1fad3b8ec310db8771d226.zip
Add new port: math/py-viper
Viper is a minimalistic scientific plotter and run-time visualization module. Viper has support for visualizing meshes and solutions in DOLFIN. WWW: https://launchpad.net/fenics-viper PR: ports/166913 Submitted by: jwbacon@tds.net
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-viper/Makefile32
-rw-r--r--math/py-viper/distinfo2
-rw-r--r--math/py-viper/pkg-descr4
-rw-r--r--math/py-viper/pkg-plist43
5 files changed, 82 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 34a84fa56a4d..94400085a511 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -537,6 +537,7 @@
SUBDIR += py-symeig
SUBDIR += py-sympy
SUBDIR += py-ufl
+ SUBDIR += py-viper
SUBDIR += qalculate
SUBDIR += qd
SUBDIR += qhull
diff --git a/math/py-viper/Makefile b/math/py-viper/Makefile
new file mode 100644
index 000000000000..a21a7f967246
--- /dev/null
+++ b/math/py-viper/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: py-viper
+# Date created: 13 April 2012
+# Whom: Jason Bacon <jwbacon@tds.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= viper
+PORTVERSION= 1.0.0
+CATEGORIES= math python
+MASTER_SITES= https://launchpad.net/fenics-${PORTNAME}/1.0.x/${PORTVERSION}/+download/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jwbacon@tds.net
+COMMENT= Minimalistic scientific plotter and visualization module
+
+LICENSE= LGPL3
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= viper
+
+FETCH_ARGS= -F
+
+MAN1= viper.1
+MANCOMPRESSED= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|data_files=\[(join("share", "man", "man1"),|data_files=\[(join("man", "man1"),|' \
+ ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/math/py-viper/distinfo b/math/py-viper/distinfo
new file mode 100644
index 000000000000..8e735cd5a338
--- /dev/null
+++ b/math/py-viper/distinfo
@@ -0,0 +1,2 @@
+SHA256 (viper-1.0.0.tar.gz) = 6ca964b2283af73fff5a3d70fbaf233d4f5d6ff11f58ad999841e8eb11d3db47
+SIZE (viper-1.0.0.tar.gz) = 192727
diff --git a/math/py-viper/pkg-descr b/math/py-viper/pkg-descr
new file mode 100644
index 000000000000..1496786dccda
--- /dev/null
+++ b/math/py-viper/pkg-descr
@@ -0,0 +1,4 @@
+Viper is a minimalistic scientific plotter and run-time visualization module.
+Viper has support for visualizing meshes and solutions in DOLFIN.
+
+WWW: https://launchpad.net/fenics-viper
diff --git a/math/py-viper/pkg-plist b/math/py-viper/pkg-plist
new file mode 100644
index 000000000000..96a2e8a2bbda
--- /dev/null
+++ b/math/py-viper/pkg-plist
@@ -0,0 +1,43 @@
+bin/viper
+%%PYTHON_SITELIBDIR%%/viper/__init__.py
+%%PYTHON_SITELIBDIR%%/viper/__init__.pyc
+%%PYTHON_SITELIBDIR%%/viper/__init__.pyo
+%%PYTHON_SITELIBDIR%%/viper/data/VIF.lut
+%%PYTHON_SITELIBDIR%%/viper/data/abgauss.lut
+%%PYTHON_SITELIBDIR%%/viper/data/custom16.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_075.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_086.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_097.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_099.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_100.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_103.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_108.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_109.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_113.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_114.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_118.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_120.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_121.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_129.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_147.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_148.lut
+%%PYTHON_SITELIBDIR%%/viper/data/gauss_164.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_01.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_03.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_09.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_10.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_13.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_18.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_19.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_22.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_23.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_24.lut
+%%PYTHON_SITELIBDIR%%/viper/data/pm3d_25.lut
+%%PYTHON_SITELIBDIR%%/viper/viper.py
+%%PYTHON_SITELIBDIR%%/viper/viper.pyc
+%%PYTHON_SITELIBDIR%%/viper/viper.pyo
+%%PYTHON_SITELIBDIR%%/viper/viper_dolfin.py
+%%PYTHON_SITELIBDIR%%/viper/viper_dolfin.pyc
+%%PYTHON_SITELIBDIR%%/viper/viper_dolfin.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/viper/data
+@dirrm %%PYTHON_SITELIBDIR%%/viper