diff options
author | Jean-Paul Pelteret <jppelteret@gmail.com> | 2021-01-31 17:49:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 10:49:49 -0600 |
commit | 6c03c9996a5ab8e26aa88157d95f44b4796a2b49 (patch) | |
tree | 7d43782f49c1af5600d489cfff89e62bc1665273 /var | |
parent | c950f4a4ff68a07a75bc30e70047aa9a885b0e20 (diff) | |
download | spack-6c03c9996a5ab8e26aa88157d95f44b4796a2b49.tar.gz spack-6c03c9996a5ab8e26aa88157d95f44b4796a2b49.tar.bz2 spack-6c03c9996a5ab8e26aa88157d95f44b4796a2b49.tar.xz spack-6c03c9996a5ab8e26aa88157d95f44b4796a2b49.zip |
Add package: py-markdown2 (#21273)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-markdown2/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-markdown2/package.py b/var/spack/repos/builtin/packages/py-markdown2/package.py new file mode 100644 index 0000000000..b3cf580238 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-markdown2/package.py @@ -0,0 +1,18 @@ +# 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 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.999', type=('build', 'run')) + depends_on('py-setuptools', type='build') |