From 1f451924b17e44289b67e2aff8c6237340d1620b Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Mon, 4 Oct 2021 11:52:56 +0200 Subject: py-sphinxcontrib-napoleon: add new package (#26457) --- .../packages/py-sphinxcontrib-napoleon/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sphinxcontrib-napoleon/package.py diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-napoleon/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-napoleon/package.py new file mode 100644 index 0000000000..c5495beac3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-napoleon/package.py @@ -0,0 +1,19 @@ +# 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 PySphinxcontribNapoleon(PythonPackage): + """Sphinx "napoleon" extension.""" + + homepage = "https://github.com/sphinx-contrib/napoleon" + pypi = "sphinxcontrib-napoleon/sphinxcontrib-napoleon-0.7.tar.gz" + + version('0.7', sha256='407382beed396e9f2d7f3043fad6afda95719204a1e1a231ac865f40abcbfcf8') + + depends_on('py-setuptools', type='build') + depends_on('py-six@1.5.2:', type=('build', 'run')) + depends_on('py-pockets@0.3:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50