summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-numpydoc/package.py
blob: 86767970eb7f0a29f657e77b8fa0eff588fe75c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2022 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 PyNumpydoc(PythonPackage):
    """numpydoc - Numpy's Sphinx extensions"""

    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:', 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: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')