py-pytorch-sphinx-theme: add new package (#24283)

This commit is contained in:
Adam J. Stewart 2021-06-12 01:15:55 -05:00 committed by GitHub
parent 163fe86bda
commit 8a0a60c575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# Copyright 2013-2021 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 PyPytorchSphinxTheme(PythonPackage):
"""PyTorch Sphinx Theme."""
homepage = "https://github.com/pytorch/pytorch_sphinx_theme"
pypi = "pytorch_sphinx_theme/pytorch_sphinx_theme-0.0.19.tar.gz"
version('0.0.19', sha256='9c0472a82fc72e5b4c4c5202fc9cdd6de8f1de6050a98f4ace75707ebb184bfd')
depends_on('py-setuptools', type='build')
depends_on('py-sphinx', type=('build', 'run'))