From 1a32aaa10ef2955ad47efb234e4e0ace846ecd08 Mon Sep 17 00:00:00 2001 From: "Tomoki, Karatsu" <49965247+t-karatsu@users.noreply.github.com> Date: Thu, 18 Feb 2021 09:36:26 +0900 Subject: py-numpydoc: Add new version, and care for old version. (#21713) --- var/spack/repos/builtin/packages/py-numpydoc/package.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-numpydoc/package.py b/var/spack/repos/builtin/packages/py-numpydoc/package.py index 80f2ed9ff3..86babbd46a 100644 --- a/var/spack/repos/builtin/packages/py-numpydoc/package.py +++ b/var/spack/repos/builtin/packages/py-numpydoc/package.py @@ -12,8 +12,12 @@ class PyNumpydoc(PythonPackage): homepage = "https://github.com/numpy/numpydoc" pypi = "numpydoc/numpydoc-0.6.0.tar.gz" + version('1.1.0', sha256='c36fd6cb7ffdc9b4e165a43f67bf6271a7b024d0bb6b00ac468c9e2bfc76448e') version('0.6.0', sha256='1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1') - depends_on('python@2.6:2.8,3.3:') + depends_on('python@2.6:2.8,3.3:', when='@0.6.0') + depends_on('python@3.5:', when='@1.1.0') depends_on('py-setuptools', type='build') - depends_on('py-sphinx@1.0.1:', type='build') + depends_on('py-sphinx@1.0.1:1.6.7', type='build', when='@0.6.0') + depends_on('py-sphinx@1.6.5:', type='build', when='@1.1.0') + depends_on('py-jinja2@2.3:', type='build', when='@1.1.0') -- cgit v1.2.3-70-g09d2