2023-01-19 06:30:17 +08:00
|
|
|
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
|
2021-11-26 03:54:34 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2021-11-26 03:54:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
class PySphinxArgparse(PythonPackage):
|
|
|
|
"""Sphinx extension to automatically document argparse-based commands."""
|
|
|
|
|
|
|
|
homepage = "https://pypi.org/project/sphinx-argparse"
|
|
|
|
pypi = "sphinx-argparse/sphinx-argparse-0.3.1.tar.gz"
|
|
|
|
|
2023-02-02 13:07:25 +08:00
|
|
|
maintainers("sethrj")
|
2021-11-26 03:54:34 +08:00
|
|
|
|
|
|
|
version("0.3.1", sha256="82151cbd43ccec94a1530155f4ad34f251aaca6a0ffd5516d7fadf952d32dc1e")
|
|
|
|
|
|
|
|
depends_on("python@2.7.0:2.7,3.5:", type=("build", "run"))
|
|
|
|
depends_on("py-sphinx@1.2.0:", type=("build", "run"))
|
2022-02-21 16:08:08 +08:00
|
|
|
depends_on("py-poetry-core", type="build")
|
2021-11-26 03:54:34 +08:00
|
|
|
depends_on("py-setuptools", type="build")
|