summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytorch-sphinx-theme/package.py
blob: 4c592d8c9d84f6a182b9f0f4fd97bd08eef06d2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2024 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 PyPytorchSphinxTheme(PythonPackage):
    """PyTorch Sphinx Theme."""

    homepage = "https://github.com/pytorch/pytorch_sphinx_theme"
    git = "https://github.com/pytorch/pytorch_sphinx_theme.git"

    version("master", branch="master")

    depends_on("py-setuptools", type="build")
    depends_on("py-sphinx", type=("build", "run"))