summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-markdown2/package.py
blob: f6af893e2798ff2276f39f1bab2b4d7c38927d33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyMarkdown2(PythonPackage):
    """A fast and complete Python implementation of Markdown."""

    homepage = "https://github.com/trentm/python-markdown2"
    pypi     = "markdown2/markdown2-2.3.9.tar.gz"

    version('2.4.0',  sha256='28d769f0e544e6f68f684f01e9b186747b079a6927d9ca77ebc8c640a2829b1b')

    depends_on('python@3.5:3', type=('build', 'run'))
    depends_on('py-setuptools',    type='build')