New package: py-visdom (#19479)

* [py-visdom] created template

* [py-visdom] added dependencies

* [py-visdom] added homepage and description. removed fixmes

* [py-visdom] added dependency on py-torchfile

* [py-visdom] py-pillow -> pil

* [py-visdom] fixed url format

* [py-visdom] fixed url format
This commit is contained in:
Jen Herting 2020-10-26 14:24:30 -04:00 committed by GitHub
parent 7ca1f6c5d5
commit 7649c652c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,30 @@
# 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)
from spack import *
class PyVisdom(PythonPackage):
"""Visdom aims to facilitate visualization of (remote) data
with an emphasis on supporting scientific
experimentation."""
homepage = "https://github.com/facebookresearch/visdom"
url = "https://pypi.io/packages/source/v/visdom/visdom-0.1.8.9.tar.gz"
version('0.1.8.9', sha256='c73ad23723c24a48156899f78dd76bd4538eba3edf9120b6c65a9528fa677126')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.8:', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-tornado', type=('build', 'run'))
depends_on('py-pyzmq', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-jsonpatch', type=('build', 'run'))
depends_on('py-websocket-client', type=('build', 'run'))
depends_on('py-torch@0.3.1:', type=('build', 'run'))
depends_on('pil', type=('build', 'run'))
depends_on('py-torchfile', type=('build', 'run'))