aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-11-06 05:21:21 +0800
committerpawel <pawel@FreeBSD.org>2015-11-06 05:21:21 +0800
commitac50e58fde199bb7fe2d062cbb5cbab4bcd0713c (patch)
tree90ddda7f7cc7de5b4b56236a4dd64448567c62cb
parentab5666a4ff33c35d47289bb63b42ec3352563169 (diff)
downloadfreebsd-ports-gnome-ac50e58fde199bb7fe2d062cbb5cbab4bcd0713c.tar.gz
freebsd-ports-gnome-ac50e58fde199bb7fe2d062cbb5cbab4bcd0713c.tar.zst
freebsd-ports-gnome-ac50e58fde199bb7fe2d062cbb5cbab4bcd0713c.zip
Python package that provides an easy-to-use and outrageously powerful
parser for MediaWiki wikicode. It supports Python 2 and Python 3. WWW: https://github.com/earwig/mwparserfromhell PR: 202922 Submitted by: Yuri Victorovich <yuri@rawbw.com>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mwparserfromhell/Makefile18
-rw-r--r--textproc/py-mwparserfromhell/distinfo2
-rw-r--r--textproc/py-mwparserfromhell/pkg-descr4
4 files changed, 25 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index bbf77ab50690..80e085506a92 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1230,6 +1230,7 @@
SUBDIR += py-markdown
SUBDIR += py-markdown2
SUBDIR += py-mistune
+ SUBDIR += py-mwparserfromhell
SUBDIR += py-nltk
SUBDIR += py-openpyxl
SUBDIR += py-openpyxl1
diff --git a/textproc/py-mwparserfromhell/Makefile b/textproc/py-mwparserfromhell/Makefile
new file mode 100644
index 000000000000..ac5577ad2f22
--- /dev/null
+++ b/textproc/py-mwparserfromhell/Makefile
@@ -0,0 +1,18 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= mwparserfromhell
+PORTVERSION= 0.4.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Parser for MediaWiki wikicode
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mwparserfromhell/distinfo b/textproc/py-mwparserfromhell/distinfo
new file mode 100644
index 000000000000..98e87811ed8d
--- /dev/null
+++ b/textproc/py-mwparserfromhell/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mwparserfromhell-0.4.2.tar.gz) = 6aa77be28882fd64f16a0a534973ee0e27bc8d109e804870489704ee3af46038
+SIZE (mwparserfromhell-0.4.2.tar.gz) = 116442
diff --git a/textproc/py-mwparserfromhell/pkg-descr b/textproc/py-mwparserfromhell/pkg-descr
new file mode 100644
index 000000000000..694498596316
--- /dev/null
+++ b/textproc/py-mwparserfromhell/pkg-descr
@@ -0,0 +1,4 @@
+Python package that provides an easy-to-use and outrageously powerful
+parser for MediaWiki wikicode. It supports Python 2 and Python 3.
+
+WWW: https://github.com/earwig/mwparserfromhell