summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-mistletoe/package.py
blob: 9ff4ac1b20bcd9f8c7f8a6b6bff941d4c8ea43b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyMistletoe(PythonPackage):
    """A fast, extensible Markdown parser in pure Python."""

    homepage = "https://github.com/miyuchina/mistletoe"
    pypi = "mistletoe/mistletoe-1.2.1.tar.gz"

    license("MIT")

    version("1.2.1", sha256="7d0c1ab3747047d169f9fc4b925d1cba3f5c13eaf0b90c365b72e47e59d00a02")

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