summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-commonmark/package.py
blob: 09fcc6515065470b3d78f8b9a1ab1c73bfd152c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2021 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 PyCommonmark(PythonPackage):
    """commonmark.py is a pure Python port of jgm's commonmark.js, a Markdown
    parser and renderer for the CommonMark specification, using only native
    modules."""

    homepage = "https://github.com/readthedocs/commonmark.py"
    pypi = "commonmark/commonmark-0.9.0.tar.gz"

    version('0.9.0', sha256='867fc5db078ede373ab811e16b6789e9d033b15ccd7296f370ca52d1ee792ce0')

    depends_on('py-setuptools', type='build')
    depends_on('py-future', type=('build', 'run'))