New package: py-mkdocstrings-python (#32421)

This commit is contained in:
Ryan Marcellino 2022-08-30 13:27:02 -04:00 committed by GitHub
parent 543a797d1a
commit b35a0b1b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
# 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.package import *
class PyMkdocstringsPython(PythonPackage):
"""A Python handler for mkdocstrings."""
homepage = "https://mkdocstrings.github.io/python/"
pypi = "mkdocstrings-python/mkdocstrings-python-0.7.1.tar.gz"
version("0.7.1", sha256="c334b382dca202dfa37071c182418a6df5818356a95d54362a2b24822ca3af71")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-pdm-pep517", type="build")
depends_on("py-mkdocstrings@0.19:", type=("build", "run"))
depends_on("py-griffe@0.11.1:", type=("build", "run"))