spack/var/spack/repos/builtin/packages/py-sphinxcontrib-jquery/package.py
MicK7 447ad2a3e3
Add new sphinx rtd theme release 1.2.0 (#35579)
* Add new sphinx rtd theme release 1.2.0

The new release helps with supporting more recent version of docutils

* set docutils officially supported version

* add jquery dependency for sphinx-rtd-theme

* add conflict with jquery version

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* correct dependency

* fix version dependency

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* set sphinx version

* fix sha256

* add version for flit-core

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-02-21 11:53:21 -08:00

20 lines
763 B
Python

# 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 PySphinxcontribJquery(PythonPackage):
"""A sphinx extension which ensure that jQuery is installed with Sphinx."""
homepage = "https://github.com/sphinx-contrib/jquery"
pypi = "sphinxcontrib-jquery/sphinxcontrib-jquery-2.0.0.tar.gz"
version("2.0.0", sha256="8fb65f6dba84bf7bcd1aea1f02ab3955ac34611d838bcc95d4983b805b234daa")
depends_on("python@3.5:", when="@2:", type=("build", "run"))
depends_on("py-setuptools@65:", type=("build", "run"))
depends_on("py-flit-core@3.7:", when="@3:", type="build")