summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren C. Tsai <ktsai@lanl.gov>2021-11-09 14:09:13 -0700
committerGitHub <noreply@github.com>2021-11-09 14:09:13 -0700
commit81a0f7222cf8fd464327865702c86618f8598b41 (patch)
treecc00ecae869ed333afad63f55abe6eb3f6a75901
parentd8f4339c1804aa81e6826798da40fb7e1695c078 (diff)
downloadspack-81a0f7222cf8fd464327865702c86618f8598b41.tar.gz
spack-81a0f7222cf8fd464327865702c86618f8598b41.tar.bz2
spack-81a0f7222cf8fd464327865702c86618f8598b41.tar.xz
spack-81a0f7222cf8fd464327865702c86618f8598b41.zip
create py-sphinx-multiversion spackage (#27314)
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-multiversion/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sphinx-multiversion/package.py b/var/spack/repos/builtin/packages/py-sphinx-multiversion/package.py
new file mode 100644
index 0000000000..f77e67bdf0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sphinx-multiversion/package.py
@@ -0,0 +1,21 @@
+# 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 PySphinxMultiversion(PythonPackage):
+ """A Sphinx extension for building self-hosted versioned documentation."""
+
+ homepage = "https://github.com/Holzhaus/sphinx-multiversion"
+ pypi = "sphinx-multiversion/sphinx_rtd_theme-0.4.2.tar.gz"
+
+ version('0.2.4', sha256='5cd1ca9ecb5eed63cb8d6ce5e9c438ca13af4fa98e7eb6f376be541dd4990bcb')
+ version('0.2.3', sha256='e46565ac2f703f3b55652f33c159c8059865f5d13dae7f0e8403e5afc2996f5f')
+ version('0.2.2', sha256='c0a4f2cbb13eb62b5cd79e2f6901e5d90ea191d3f37e96e1f15b976827de0ac0')
+ version('0.2.1', sha256='0775847454965005a3a8433c1bf38379f723c026de9c4a7ddd447b0349df90c1')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-sphinx', type=('build', 'run'))