summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:08:16 -0500
committerGitHub <noreply@github.com>2019-10-20 11:08:16 -0500
commit7bda2fe2925fa67e2c7e48e13c395d1a0a9e1e63 (patch)
tree902d73976ccccd5bc8dd9cb4c617735453ff1c5f /var
parentd4ac57f3a328dd98b76f6c8924ddc9d735c32c04 (diff)
downloadspack-7bda2fe2925fa67e2c7e48e13c395d1a0a9e1e63.tar.gz
spack-7bda2fe2925fa67e2c7e48e13c395d1a0a9e1e63.tar.bz2
spack-7bda2fe2925fa67e2c7e48e13c395d1a0a9e1e63.tar.xz
spack-7bda2fe2925fa67e2c7e48e13c395d1a0a9e1e63.zip
Add py-sphinxcontrib-jsmath package (#13276)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py
new file mode 100644
index 0000000000..213dca354d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2019 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 PySphinxcontribJsmath(PythonPackage):
+ """A sphinx extension which renders display math in HTML via JavaScript."""
+
+ homepage = "http://sphinx-doc.org/"
+ url = "https://pypi.io/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1.tar.gz"
+
+ version('1.0.1', sha256='a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+
+ def test(self):
+ # Requires sphinx, creating a circular dependency
+ pass