aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2013-05-29 02:54:09 +0800
committerolivierd <olivierd@FreeBSD.org>2013-05-29 02:54:09 +0800
commit9aa238b763ee733ce6c80833238eb3996256c29f (patch)
treee7acbd51082ab6ddf64f0e25d9d38154b348deaf /textproc
parent08435273be215403842c86d2694cf4fd4f711d10 (diff)
downloadfreebsd-ports-gnome-9aa238b763ee733ce6c80833238eb3996256c29f.tar.gz
freebsd-ports-gnome-9aa238b763ee733ce6c80833238eb3996256c29f.tar.zst
freebsd-ports-gnome-9aa238b763ee733ce6c80833238eb3996256c29f.zip
rst2html5 generates HTML5 documents from standalone reStructuredText sources.
It's complet rewrite of the docutils rst2html. WWW: https://bitbucket.org/andre_felipe_dias/rst2html5
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-rst2html5/Makefile21
-rw-r--r--textproc/py-rst2html5/distinfo2
-rw-r--r--textproc/py-rst2html5/pkg-descr4
-rw-r--r--textproc/py-rst2html5/pkg-plist13
5 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 43297c9c5fee..5b5441d8ff29 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1176,6 +1176,7 @@
SUBDIR += py-rdflib
SUBDIR += py-reverend
SUBDIR += py-rss2gen
+ SUBDIR += py-rst2html5
SUBDIR += py-rstyoutube
SUBDIR += py-rxp
SUBDIR += py-sgrep
diff --git a/textproc/py-rst2html5/Makefile b/textproc/py-rst2html5/Makefile
new file mode 100644
index 000000000000..241cccc95911
--- /dev/null
+++ b/textproc/py-rst2html5/Makefile
@@ -0,0 +1,21 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+#
+
+PORTNAME= rst2html5
+PORTVERSION= 0.10
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= olivierd@FreeBSD.org
+COMMENT= Produces HTML5 documents from reStructuredText sources
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.6:${PORTSDIR}/textproc/py-genshi \
+ ${PYTHON_PKGNAMEPREFIX}pygments>=1.5:${PORTSDIR}/textproc/py-pygments \
+ ${PYTHON_PKGNAMEPREFIX}docutils>=0.10:${PORTSDIR}/textproc/py-docutils
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/textproc/py-rst2html5/distinfo b/textproc/py-rst2html5/distinfo
new file mode 100644
index 000000000000..2f52c301e666
--- /dev/null
+++ b/textproc/py-rst2html5/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rst2html5-0.10.tar.gz) = c59b46943bf6ead1b3ad456d8defad4241f8c4961692172bf5ef186fa122d415
+SIZE (rst2html5-0.10.tar.gz) = 43867
diff --git a/textproc/py-rst2html5/pkg-descr b/textproc/py-rst2html5/pkg-descr
new file mode 100644
index 000000000000..b95d76872367
--- /dev/null
+++ b/textproc/py-rst2html5/pkg-descr
@@ -0,0 +1,4 @@
+rst2html5 generates HTML5 documents from standalone reStructuredText sources.
+It's complet rewrite of the docutils rst2html.
+
+WWW: https://bitbucket.org/andre_felipe_dias/rst2html5
diff --git a/textproc/py-rst2html5/pkg-plist b/textproc/py-rst2html5/pkg-plist
new file mode 100644
index 000000000000..406b459eae11
--- /dev/null
+++ b/textproc/py-rst2html5/pkg-plist
@@ -0,0 +1,13 @@
+bin/rst2html5
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rst2html5.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rst2html5.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rst2html5.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%