summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pdoc3/package.py
blob: 56f81eeffb8eec77842065d1ee622d1c62f0d869 (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
26
# 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 PyPdoc3(PythonPackage):
    """Auto-generate API documentation for Python projects."""

    homepage = "https://pdoc3.github.io/pdoc/"
    pypi = "pdoc3/pdoc3-0.10.0.tar.gz"

    license("AGPL-3.0")

    version("0.10.0", sha256="5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7")

    depends_on("python@3.6:", type=("build", "run"))

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-git", type="build")
    depends_on("py-setuptools-scm", type="build")

    depends_on("py-mako", type=("build", "run"))
    depends_on("py-markdown@3.0:", type=("build", "run"))