diff options
author | Claire Guilbaud <34576189+Bidibulke@users.noreply.github.com> | 2020-07-27 12:14:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 12:14:12 +0200 |
commit | 38730c6e68674006b16e150b86fc2e6038475314 (patch) | |
tree | 420bd3146c53843af4d315a2746f85a33cba345c | |
parent | 21a4edb1f33f9ff92e3eee2afbad21527e3fd23b (diff) | |
download | spack-38730c6e68674006b16e150b86fc2e6038475314.tar.gz spack-38730c6e68674006b16e150b86fc2e6038475314.tar.bz2 spack-38730c6e68674006b16e150b86fc2e6038475314.tar.xz spack-38730c6e68674006b16e150b86fc2e6038475314.zip |
sphinxcontrib trio: new package at v1.1.2 (#17631)
-rw-r--r-- | var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py | 22 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-sphinxcontrib-trio/sphinxcontrib-trio.patch | 10 |
2 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py new file mode 100644 index 0000000000..191907db4f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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 PySphinxcontribTrio(PythonPackage): + """This sphinx extension helps you document Python code that uses + async/await, or abstract methods, or context managers, or generators, + or ... you get the idea.""" + + homepage = "https://github.com/python-trio/sphinxcontrib-trio" + url = "https://files.pythonhosted.org/packages/ca/33/ee48d86e30bb3c5d72a47f49b1ebf5c23dd253b04d8d5fc3e6c68407a03e/sphinxcontrib-trio-1.1.2.tar.gz" + + version('1.1.2', sha256='9f1ba9c1d5965b534e85258d8b677dd94e9b1a9a2e918b85ccd42590596b47c0') + version('1.1.0', sha256='d90f46d239ba0556e53d9a110989f98c9eb2cea76ab47937a1f39b62f63fe654') + + depends_on('py-sphinx@1.7:') + + patch('sphinxcontrib-trio.patch', when='@1.1.0') diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/sphinxcontrib-trio.patch b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/sphinxcontrib-trio.patch new file mode 100644 index 0000000000..49465f4a11 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/sphinxcontrib-trio.patch @@ -0,0 +1,10 @@ +diff -urN a/setup.py b/setup.py +--- a/setup.py 2019-08-01 10:44:29.583879243 +0200 ++++ b/setup.py 2019-08-01 11:57:01.815819059 +0200 +@@ -32,4 +32,5 @@ + "Framework :: Twisted", + "Topic :: Documentation :: Sphinx", + "Topic :: Software Development :: Documentation", +- ]) ++ ], ++ namespace_packages=['sphinxcontrib']) |