summaryrefslogtreecommitdiffstats
path: root/math/py-gnuplot
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-07-03 16:26:56 +0000
committersobomax <sobomax@FreeBSD.org>2000-07-03 16:26:56 +0000
commit61af2a902853865742ff428600978681f7fa7ee7 (patch)
treecd6e126a3c9fc8c01d0fc2e786fca24bc67362a6 /math/py-gnuplot
parent8895ad91c2df9ebaa8a70e90d3d635dc2d02ff8d (diff)
downloadFreeBSD-ports-61af2a902853865742ff428600978681f7fa7ee7.zip
FreeBSD-ports-61af2a902853865742ff428600978681f7fa7ee7.tar.gz
New port of py-gnuplot - a python interface to the popular gnuplot data
plotting package.
Diffstat (limited to 'math/py-gnuplot')
-rw-r--r--math/py-gnuplot/Makefile30
-rw-r--r--math/py-gnuplot/distinfo1
-rw-r--r--math/py-gnuplot/pkg-comment1
-rw-r--r--math/py-gnuplot/pkg-descr20
-rw-r--r--math/py-gnuplot/pkg-plist9
5 files changed, 61 insertions, 0 deletions
diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile
new file mode 100644
index 0000000..94bd8b6
--- /dev/null
+++ b/math/py-gnuplot/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: py-gnuplot
+# Date created: 3 July 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= py-gnuplot
+PORTVERSION= 1.4
+CATEGORIES= math python
+MASTER_SITES= http://monsoon.harvard.edu/~mhagger/Gnuplot/
+DISTNAME= Gnuplot-${PORTVERSION}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python \
+ gnuplot:${PORTSDIR}/math/gnuplot \
+ ${LOCALBASE}/lib/python1.5/site-packages/Numeric/_numpy.so:${PORTSDIR}/math/numpy
+
+do-build:
+ @${LOCALBASE}/bin/python \
+ ${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/python1.5/site-packages/Gnuplot
+ ${INSTALL_DATA} ${WRKSRC}/*.py? \
+ ${PREFIX}/lib/python1.5/site-packages/Gnuplot
+
+.include <bsd.port.mk>
diff --git a/math/py-gnuplot/distinfo b/math/py-gnuplot/distinfo
new file mode 100644
index 0000000..07d2470
--- /dev/null
+++ b/math/py-gnuplot/distinfo
@@ -0,0 +1 @@
+MD5 (Gnuplot-1.4.tar.gz) = 414d80e1e9acb6acd8fd21dba80d7092
diff --git a/math/py-gnuplot/pkg-comment b/math/py-gnuplot/pkg-comment
new file mode 100644
index 0000000..ce0db2b
--- /dev/null
+++ b/math/py-gnuplot/pkg-comment
@@ -0,0 +1 @@
+Python interface to gnuplot plotting program
diff --git a/math/py-gnuplot/pkg-descr b/math/py-gnuplot/pkg-descr
new file mode 100644
index 0000000..b76954c
--- /dev/null
+++ b/math/py-gnuplot/pkg-descr
@@ -0,0 +1,20 @@
+Gnuplot.py is a Python package that interfaces to gnuplot, the popular plotting
+program. It allows you to use gnuplot from within Python to plot arrays of data
+from memory, data files, or mathematical functions. If you use Python to
+perform computations or as `glue' for numerical programs, you can use this
+package to plot data on the fly as they are computed. And the combination with
+Python makes it is easy to automate things, including to create crude
+`animations' by plotting different datasets one after another.
+
+Commands are communicated to gnuplot through a pipe and data either through
+the same pipe (as "inline" data) or through temporary files. It has been
+written and tested on a unix computer.
+
+This package has an object-oriented design that allows the user flexibility to
+set plot options and to run multiple gnuplot sessions simultaneously. If you
+are more ambitious, it is not difficult to add entirely new types of plottable
+items by deriving from the `PlotItem' class.
+
+For a demonstration, run the python file by typing `python demo.py'.
+
+WWW: http://monsoon.harvard.edu/~mhagger/Gnuplot/Gnuplot.html
diff --git a/math/py-gnuplot/pkg-plist b/math/py-gnuplot/pkg-plist
new file mode 100644
index 0000000..64f03f5
--- /dev/null
+++ b/math/py-gnuplot/pkg-plist
@@ -0,0 +1,9 @@
+lib/python1.5/site-packages/Gnuplot/__init__.pyc
+lib/python1.5/site-packages/Gnuplot/demo.pyc
+lib/python1.5/site-packages/Gnuplot/gnuplot_Suites.pyc
+lib/python1.5/site-packages/Gnuplot/gp.pyc
+lib/python1.5/site-packages/Gnuplot/gp_mac.pyc
+lib/python1.5/site-packages/Gnuplot/gp_win32.pyc
+lib/python1.5/site-packages/Gnuplot/oldplot.pyc
+lib/python1.5/site-packages/Gnuplot/test.pyc
+@dirrm lib/python1.5/site-packages/Gnuplot
OpenPOWER on IntegriCloud