New package: py-sphinx-argparse (#27663)

This commit is contained in:
Seth R. Johnson 2021-11-25 14:54:34 -05:00 committed by GitHub
parent 6e095a9741
commit 9904159356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# Copyright 2013-2021 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 import *
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"
maintainers = ['sethrj']
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'))
depends_on('py-setuptools', type='build')