summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py
blob: f96e5a11f4fe2d7c1db39be59ca17f9b3985e3da (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-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 PySphinxGallery(PythonPackage):
    """A `Sphinx` extension that builds an HTML version of any Python script
    and puts it into an examples gallery.
    """

    homepage = "https://sphinx-gallery.github.io"
    url      = "https://files.pythonhosted.org/packages/9d/20/79118154e64a5280060b55c7ad025ad16f89b8192a6a9f0ffdbf71717bf0/sphinx-gallery-0.7.0.tar.gz"

    version('0.7.0', sha256='05ead72c947718ab4183c33a598e29743e771dcf75aec84c53048423bd2f4580')
    version('0.4.0', sha256='a286cf2eea47ce838a0754ecef617616afb1f40e41e52fe765723464f52e0c2f')

    depends_on('py-setuptools')
    depends_on('py-matplotlib')
    depends_on('py-pillow')
    depends_on('py-sphinx')