summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pandocfilters/package.py
blob: 1755b702f67bd8b249835ec2bda4ff9e4cfd18e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyPandocfilters(PythonPackage):
    """A python module for writing pandoc filters"""

    homepage = "https://github.com/jgm/pandocfilters"
    pypi = "pandocfilters/pandocfilters-1.4.2.tar.gz"

    version('1.5.0', sha256='0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38')
    version('1.4.2', sha256='b3dd70e169bb5449e6bc6ff96aea89c5eea8c5f6ab5e207fc2f521a2cf4a0da9')

    depends_on('python@2.7:2,3.4:', type=('build', 'run'), when='@1.5.0:')
    depends_on('py-setuptools', type='build')