diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-03 16:26:56 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-03 16:26:56 +0000 |
commit | c598b4bdf2ad7ae6e5c8837a94f43560fdb62fc4 (patch) | |
tree | 69b2f32ae4c8f84bdf5debd4000d464f01820ee7 | |
parent | 07c4f52675f8a5d72ced2a06942e69fe859a07e8 (diff) | |
download | ports-c598b4bdf2ad7ae6e5c8837a94f43560fdb62fc4.tar.gz ports-c598b4bdf2ad7ae6e5c8837a94f43560fdb62fc4.zip |
Notes
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/py-gnuplot/Makefile | 30 | ||||
-rw-r--r-- | math/py-gnuplot/distinfo | 1 | ||||
-rw-r--r-- | math/py-gnuplot/pkg-comment | 1 | ||||
-rw-r--r-- | math/py-gnuplot/pkg-descr | 20 | ||||
-rw-r--r-- | math/py-gnuplot/pkg-plist | 9 |
6 files changed, 62 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 667b3939e17d..8424c68047f8 100644 --- a/math/Makefile +++ b/math/Makefile @@ -44,6 +44,7 @@ SUBDIR += parmetis SUBDIR += plplot SUBDIR += pspp + SUBDIR += py-gnuplot SUBDIR += py-scientific SUBDIR += pygist SUBDIR += rcalc diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile new file mode 100644 index 000000000000..94bd8b6257c5 --- /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 000000000000..07d2470286d8 --- /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 000000000000..ce0db2bd14f9 --- /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 000000000000..b76954c65fc5 --- /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 000000000000..64f03f589ecc --- /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 |