summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-12 01:15:55 -0500
committerGitHub <noreply@github.com>2021-06-12 08:15:55 +0200
commit8a0a60c5754435ed8a3fb51d4794671f91806515 (patch)
tree93d1b279457a35c169ce683dcb9bd38f5706f46e /var
parent163fe86bda93ad06f331ba615faab5423c0efd33 (diff)
downloadspack-8a0a60c5754435ed8a3fb51d4794671f91806515.tar.gz
spack-8a0a60c5754435ed8a3fb51d4794671f91806515.tar.bz2
spack-8a0a60c5754435ed8a3fb51d4794671f91806515.tar.xz
spack-8a0a60c5754435ed8a3fb51d4794671f91806515.zip
py-pytorch-sphinx-theme: add new package (#24283)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytorch-sphinx-theme/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytorch-sphinx-theme/package.py b/var/spack/repos/builtin/packages/py-pytorch-sphinx-theme/package.py
new file mode 100644
index 0000000000..5da0dd6904
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytorch-sphinx-theme/package.py
@@ -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'))