spack/var/spack/repos/builtin/packages/py-gnuplot/package.py

18 lines
692 B
Python
Raw Normal View History

# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
2015-01-23 03:50:01 +08:00
from spack import *
2016-08-10 16:50:00 +08:00
class PyGnuplot(PythonPackage):
2016-08-10 16:50:00 +08:00
"""Gnuplot.py is a Python package that allows you to create graphs from
within Python using the gnuplot plotting program."""
2015-01-23 03:50:01 +08:00
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', sha256='ab339be7847d30a8acfd616f27b5021bfde0999b7bf2d68400fbe62c53106e21')
2015-01-23 03:50:01 +08:00
depends_on('py-numpy', type=('build', 'run'))