summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py
blob: 7c2aa53cd95106fdfbd134879a6383a4b67fd579 (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.package 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"
    pypi = "sphinx-gallery/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('pil')
    depends_on('py-sphinx')