summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKaren C. Tsai <ktsai@lanl.gov>2023-03-11 12:27:23 -0700
committerGitHub <noreply@github.com>2023-03-11 14:27:23 -0500
commitfe5865da0d4ee4480a85ee1257cb310c036b0c88 (patch)
treee3735aa222d2d762b9ce242edd404f7f46915b5f /var
parent1e9a654f17fe6aca777247c9c68ce9b928aa002f (diff)
downloadspack-fe5865da0d4ee4480a85ee1257cb310c036b0c88.tar.gz
spack-fe5865da0d4ee4480a85ee1257cb310c036b0c88.tar.bz2
spack-fe5865da0d4ee4480a85ee1257cb310c036b0c88.tar.xz
spack-fe5865da0d4ee4480a85ee1257cb310c036b0c88.zip
Add spackage for py-sphinx-rtd-dark-mode (#35946)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-rtd-dark-mode/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sphinx-rtd-dark-mode/package.py b/var/spack/repos/builtin/packages/py-sphinx-rtd-dark-mode/package.py
new file mode 100644
index 0000000000..bbb3f6b288
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sphinx-rtd-dark-mode/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2023 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.package import *
+
+
+class PySphinxRtdDarkMode(PythonPackage):
+ """A Sphinx extension for adding a toggleable dark mode to the Read the Docs theme."""
+
+ homepage = "https://github.com/MrDogeBro/sphinx_rtd_dark_mode"
+ pypi = "sphinx-rtd-dark-mode/sphinx_rtd_dark_mode-1.2.4.tar.gz"
+
+ version("1.2.4", sha256="935bc1f3e62fc76eadd7d2760ac7f48bab907a97e44beda749a48a2706aeed63")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-sphinx-rtd-theme", type=("build", "run"))
+ depends_on("python@3.4:", type=("build", "run"))