aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2018-02-22 18:36:41 +0800
committerromain <romain@FreeBSD.org>2018-02-22 18:36:41 +0800
commitc6d5b01754f32765e63185bca594e2e6989e96bc (patch)
treed5547a7a8da3bec5cbb977e9e457211645603e16 /textproc
parent66b98770934c3e5c31723baad24a7c1bb00e6f3b (diff)
downloadfreebsd-ports-gnome-c6d5b01754f32765e63185bca594e2e6989e96bc.tar.gz
freebsd-ports-gnome-c6d5b01754f32765e63185bca594e2e6989e96bc.tar.zst
freebsd-ports-gnome-c6d5b01754f32765e63185bca594e2e6989e96bc.zip
New port: textproc/py-CommonMark: Python parser for the CommonMark Markdown spec
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-CommonMark/Makefile18
-rw-r--r--textproc/py-CommonMark/distinfo3
-rw-r--r--textproc/py-CommonMark/pkg-descr4
4 files changed, 26 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3be30020012d..393bf81360c7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1264,6 +1264,7 @@
SUBDIR += pure-csv
SUBDIR += pure-xml
SUBDIR += py-Chameleon
+ SUBDIR += py-CommonMark
SUBDIR += py-MarkupSafe
SUBDIR += py-Tempita
SUBDIR += py-acora
diff --git a/textproc/py-CommonMark/Makefile b/textproc/py-CommonMark/Makefile
new file mode 100644
index 000000000000..2c9738d5528d
--- /dev/null
+++ b/textproc/py-CommonMark/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= CommonMark
+PORTVERSION= 0.7.4
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= romain@FreeBSD.org
+COMMENT= Python parser for the CommonMark Markdown spec
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/textproc/py-CommonMark/distinfo b/textproc/py-CommonMark/distinfo
new file mode 100644
index 000000000000..969f9d95d6e0
--- /dev/null
+++ b/textproc/py-CommonMark/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510555692
+SHA256 (CommonMark-0.7.4.tar.gz) = 24678b72094398df96312fb927e274ccaf5148f25e47aca9f7fc062693ae7577
+SIZE (CommonMark-0.7.4.tar.gz) = 87841
diff --git a/textproc/py-CommonMark/pkg-descr b/textproc/py-CommonMark/pkg-descr
new file mode 100644
index 000000000000..774918fe925b
--- /dev/null
+++ b/textproc/py-CommonMark/pkg-descr
@@ -0,0 +1,4 @@
+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.
+
+WWW: https://pypi.python.org/pypi/CommonMark