Add new py-wxmplot package (#14036)

This commit is contained in:
Adam J. Stewart 2019-12-07 22:14:20 -06:00 committed by GitHub
parent 891ccbea3f
commit db1026cb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,24 @@
# Copyright 2013-2019 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)
from spack import *
class PyWxmplot(PythonPackage):
"""wxPython plotting widgets using matplotlib."""
homepage = "https://newville.github.io/wxmplot/"
url = "https://pypi.io/packages/source/w/wxmplot/wxmplot-0.9.38.tar.gz"
import_modules = ['wxmplot']
version('0.9.38', sha256='82dc64abb42bdd03ec7067a3aa2a475001f2bc8e4772149bae47facf460c0081')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.12:', type=('build', 'run'))
depends_on('py-six@1.10:', type=('build', 'run'))
depends_on('py-matplotlib@2.0:', type=('build', 'run'))
depends_on('py-wxpython@4.0.3:', type=('build', 'run'))
depends_on('py-pytest', type='test')