summaryrefslogtreecommitdiff
path: root/var/spack/packages/py-gnuplot/package.py
blob: 0a2c073a491af6aa789d6839756301614baeeb2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
from spack import *

class PyGnuplot(Package):
    """Gnuplot.py is a Python package that allows you to create graphs from within Python using the gnuplot plotting program."""
    homepage = "http://gnuplot-py.sourceforge.net/"
    url      = "http://downloads.sourceforge.net/project/gnuplot-py/Gnuplot-py/1.8/gnuplot-py-1.8.tar.gz"

    version('1.8', 'abd6f571e7aec68ae7db90a5217cd5b1')

    extends('python')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)