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