summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinx-autodoc-typehints/package.py
blob: eeb96ffa8b86db7b2fec3c0b3cf16481115d615a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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)


class PySphinxAutodocTypehints(PythonPackage):
    """
    Type hints (PEP 484) support for the Sphinx autodoc extension
    """

    homepage   = 'https://github.com/agronholm/sphinx-autodoc-typehints'
    pypi       = 'sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.12.0.tar.gz'

    version('1.12.0', sha256='193617d9dbe0847281b1399d369e74e34cd959c82e02c7efde077fca908a9f52')

    depends_on('python@3.6:', type=('build', 'run'))
    depends_on('py-setuptools@40.0.4:', type='build')
    depends_on('py-setuptools-scm@2.0.0:', type='build')
    depends_on('py-sphinx@3:', type=('build', 'run'))