From 61af2a902853865742ff428600978681f7fa7ee7 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 3 Jul 2000 16:26:56 +0000 Subject: New port of py-gnuplot - a python interface to the popular gnuplot data plotting package. --- math/py-gnuplot/Makefile | 30 ++++++++++++++++++++++++++++++ math/py-gnuplot/distinfo | 1 + math/py-gnuplot/pkg-comment | 1 + math/py-gnuplot/pkg-descr | 20 ++++++++++++++++++++ math/py-gnuplot/pkg-plist | 9 +++++++++ 5 files changed, 61 insertions(+) create mode 100644 math/py-gnuplot/Makefile create mode 100644 math/py-gnuplot/distinfo create mode 100644 math/py-gnuplot/pkg-comment create mode 100644 math/py-gnuplot/pkg-descr create mode 100644 math/py-gnuplot/pkg-plist (limited to 'math/py-gnuplot') 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 +# +# $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 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 -- cgit v1.1