From d4ac57f3a328dd98b76f6c8924ddc9d735c32c04 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 20 Oct 2019 11:07:54 -0500 Subject: [PATCH] Add py-sphinxcontrib-qthelp package (#13275) --- .../py-sphinxcontrib-qthelp/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py new file mode 100644 index 00000000000..17c2ba1e959 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2019 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 PySphinxcontribQthelp(PythonPackage): + """sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp + document.""" + + homepage = "http://sphinx-doc.org/" + url = "https://pypi.io/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.2.tar.gz" + + version('1.0.2', sha256='79465ce11ae5694ff165becda529a600c754f4bc459778778c7017374d4d406f') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + + def test(self): + # Requires sphinx, creating a circular dependency + pass