summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-commonmark/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-commonmark/package.py b/var/spack/repos/builtin/packages/py-commonmark/package.py
new file mode 100644
index 0000000000..0d0e31bc68
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-commonmark/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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"
+ url = "https://pypi.io/packages/source/c/commonmark/commonmark-0.9.0.tar.gz"
+
+ version('0.9.0', sha256='867fc5db078ede373ab811e16b6789e9d033b15ccd7296f370ca52d1ee792ce0')
+
+ depends_on('py-future')