1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New port of py-gnuplot - a python interface to the popular gnuplot data

plotting package.
This commit is contained in:
Maxim Sobolev 2000-07-03 16:26:56 +00:00
parent 07c4f52675
commit c598b4bdf2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30139
6 changed files with 62 additions and 0 deletions

View File

@ -44,6 +44,7 @@
SUBDIR += parmetis
SUBDIR += plplot
SUBDIR += pspp
SUBDIR += py-gnuplot
SUBDIR += py-scientific
SUBDIR += pygist
SUBDIR += rcalc

30
math/py-gnuplot/Makefile Normal file
View File

@ -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>

1
math/py-gnuplot/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Gnuplot-1.4.tar.gz) = 414d80e1e9acb6acd8fd21dba80d7092

View File

@ -0,0 +1 @@
Python interface to gnuplot plotting program

20
math/py-gnuplot/pkg-descr Normal file
View File

@ -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

View File

@ -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