From f35bcaf83bcf6cdd9e1d46e0ca7597af20810c5a Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 20 Oct 2019 11:07:31 -0500 Subject: Add py-sphinxcontrib-serializinghtml package (#13274) --- .../py-sphinxcontrib-serializinghtml/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py new file mode 100644 index 0000000000..ba43127222 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/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 PySphinxcontribSerializinghtml(PythonPackage): + """sphinxcontrib-serializinghtml is a sphinx extension which outputs + "serialized" HTML files (json and pickle).""" + + homepage = "http://sphinx-doc.org/" + url = "https://pypi.io/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.3.tar.gz" + + version('1.1.3', sha256='c0efb33f8052c04fd7a26c0a07f1678e8512e0faec19f4aa8f2473a8b81d5227') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + + def test(self): + # Requires sphinx, creating a circular dependency + pass -- cgit v1.2.3-70-g09d2