pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-rst2html5: Import rst2html5 2.0
Module Name: pkgsrc-wip
Committed By: Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By: sjmulder
Date: Fri Aug 6 00:46:58 2021 +0200
Changeset: 21008d2ae233e6d9d6b7e091604362362626ddcb
Modified Files:
Makefile
Added Files:
py-rst2html5/DESCR
py-rst2html5/Makefile
py-rst2html5/PLIST
py-rst2html5/distinfo
Log Message:
py-rst2html5: Import rst2html5 2.0
Generates (X)HTML5 documents from standalone reStructuredText sources.
It is a complete rewrite of the docutils' rst2html and uses new HTML5
constructs such as <section> and <aside>.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21008d2ae233e6d9d6b7e091604362362626ddcb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-rst2html5/DESCR | 3 +++
py-rst2html5/Makefile | 22 ++++++++++++++++++++++
py-rst2html5/PLIST | 18 ++++++++++++++++++
py-rst2html5/distinfo | 6 ++++++
5 files changed, 50 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 904d95af2c..b4cd059e0a 100644
--- a/Makefile
+++ b/Makefile
@@ -4439,6 +4439,7 @@ SUBDIR+= py-ropgadget
SUBDIR+= py-rpaths
SUBDIR+= py-rpncalc
SUBDIR+= py-rql
+SUBDIR+= py-rst2html5
SUBDIR+= py-rtree
SUBDIR+= py-ruffus
SUBDIR+= py-rxpy3
diff --git a/py-rst2html5/DESCR b/py-rst2html5/DESCR
new file mode 100644
index 0000000000..6b8eda2d31
--- /dev/null
+++ b/py-rst2html5/DESCR
@@ -0,0 +1,3 @@
+Generates (X)HTML5 documents from standalone reStructuredText sources.
+It is a complete rewrite of the docutils' rst2html and uses new HTML5
+constructs such as <section> and <aside>.
diff --git a/py-rst2html5/Makefile b/py-rst2html5/Makefile
new file mode 100644
index 0000000000..14c73c1876
--- /dev/null
+++ b/py-rst2html5/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= rst2html5-2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2html5/}
+
+MAINTAINER= sjmulder%NetBSD.org@localhost
+HOMEPAGE= https://foss.heptapod.net/doc-utils/rst2html5
+COMMENT= ReStructuredText to HTML5 converter
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-docutils>0.13.1:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-genshi>=0.7:../../www/py-genshi
+DEPENDS+= ${PYPKGPREFIX}-pygments>=2.5:../../textproc/py-pygments
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/rst2html5_.py ${DESTDIR}${PREFIX}/${PYSITELIB}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-rst2html5/PLIST b/py-rst2html5/PLIST
new file mode 100644
index 0000000000..6975b1b761
--- /dev/null
+++ b/py-rst2html5/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+bin/rst2html5
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/entry_points.txt
+${PYSITELIB}/${EGG_FILE}/requires.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
+${PYSITELIB}/rst2html5/__init__.py
+${PYSITELIB}/rst2html5/__init__.pyc
+${PYSITELIB}/rst2html5/__init__.pyo
+${PYSITELIB}/rst2html5/directives.py
+${PYSITELIB}/rst2html5/directives.pyc
+${PYSITELIB}/rst2html5/directives.pyo
+${PYSITELIB}/rst2html5/roles.py
+${PYSITELIB}/rst2html5/roles.pyc
+${PYSITELIB}/rst2html5/roles.pyo
+${PYSITELIB}/rst2html5_.py
diff --git a/py-rst2html5/distinfo b/py-rst2html5/distinfo
new file mode 100644
index 0000000000..c8b51dcda8
--- /dev/null
+++ b/py-rst2html5/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (rst2html5-2.0.tar.gz) = 14feabf336d4903bdde01685a58c42f4b9deb1a2
+RMD160 (rst2html5-2.0.tar.gz) = 6dbd4b84558e9bc9f8fe6633049ce93c3d19c459
+SHA512 (rst2html5-2.0.tar.gz) = 2a48e928a0c54a665f963e522e449d2745e23d726fce5c92c48122ee0c7cab33593f3dfa6c9fe1bd5aede9ec37e6f15dccc0aa2b9082514c409a08f882055721
+Size (rst2html5-2.0.tar.gz) = 22680 bytes
Home |
Main Index |
Thread Index |
Old Index