summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinx-autodoc-typehints/package.py
blob: 6c76133158f9df75542cf720207bd75b8569d8ca (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
25
# 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 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"

    license("MIT")

    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"))