summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py
blob: 780003c8b3c90ebfbd8a020c919ea470fb7ce548 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2020 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 PySphinxautomodapi(PythonPackage):
    """Provides Sphinx directives to autogenerate API documentation pages"""

    homepage = "https://sphinx-automodapi.readthedocs.io/en/latest/"
    pypi = "sphinx-automodapi/sphinx-automodapi-0.9.tar.gz"

    version('0.9', sha256='71a69e1a7ab8d849f416d7431db854d7b1925f749ba6345bc7d88f288892871d')

    depends_on('py-setuptools', type='build')
    depends_on('py-sphinx@1.3:', type=('build', 'run'))