summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinx-book-theme/package.py
blob: 7fc6d6e9edad2802fdf6ba35b81a6c541b359cc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 PySphinxBookTheme(PythonPackage):
    """Lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book."""

    homepage = "https://sphinx-book-theme.readthedocs.io/en/latest"
    pypi = "sphinx_book_theme/sphinx_book_theme-1.0.1.tar.gz"

    license("BSD-3-Clause")

    version("1.0.1", sha256="927b399a6906be067e49c11ef1a87472f1b1964075c9eea30fb82c64b20aedee")

    depends_on("python@3.7:", type=("build", "run"))

    depends_on("py-sphinx-theme-builder@0.2.0a7:", type="build")

    depends_on("py-sphinx@4:6", type=("build", "run"))
    depends_on("py-pydata-sphinx-theme@0.13.3:", type=("build", "run"))