summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoradam <adam>2017-02-13 21:08:29 +0000
committeradam <adam>2017-02-13 21:08:29 +0000
commitf3ccaef556de6aa7101bbb7408e7ff6783576186 (patch)
treec01ff8722098396f9ae198bef42a23b138598f3a /textproc
parent7a72ba49523c5e7d338f22a79140d729e8e38977 (diff)
downloadpkgsrc-f3ccaef556de6aa7101bbb7408e7ff6783576186.tar.gz
Added textproc/py-m2r version 0.1.5
M2R converts a markdown file including reST markups to a valid reST format. Features: * Basic markdown and some extensions o inline/block-level raw html o fenced-code block o tables o footnotes ([^1]) * Inline- and Block-level reST markups o single- and multi-line directives (.. directive::) o inline-roles (:code:`print(1)` ...) o ref-link (see `ref`_) o footnotes ([#fn]_) o math extension inspired by recommonmark * Sphinx extension o add markdown support for sphinx o mdinclude directive to include markdown from md or reST files
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/py-m2r/DESCR17
-rw-r--r--textproc/py-m2r/Makefile19
-rw-r--r--textproc/py-m2r/PLIST24
-rw-r--r--textproc/py-m2r/distinfo6
5 files changed, 68 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9049aeab68c..40dd8f2a896 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.906 2017/02/13 21:06:21 adam Exp $
+# $NetBSD: Makefile,v 1.907 2017/02/13 21:08:29 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -738,6 +738,7 @@ SUBDIR+= py-libxml2
SUBDIR+= py-libxslt
SUBDIR+= py-loremipsum
SUBDIR+= py-lxml
+SUBDIR+= py-m2r
SUBDIR+= py-marisa
SUBDIR+= py-markdown
SUBDIR+= py-markdown2
diff --git a/textproc/py-m2r/DESCR b/textproc/py-m2r/DESCR
new file mode 100644
index 00000000000..e4c48edf537
--- /dev/null
+++ b/textproc/py-m2r/DESCR
@@ -0,0 +1,17 @@
+M2R converts a markdown file including reST markups to a valid reST format.
+
+Features:
+* Basic markdown and some extensions
+ o inline/block-level raw html
+ o fenced-code block
+ o tables
+ o footnotes ([^1])
+* Inline- and Block-level reST markups
+ o single- and multi-line directives (.. directive::)
+ o inline-roles (:code:`print(1)` ...)
+ o ref-link (see `ref`_)
+ o footnotes ([#fn]_)
+ o math extension inspired by recommonmark
+* Sphinx extension
+ o add markdown support for sphinx
+ o mdinclude directive to include markdown from md or reST files
diff --git a/textproc/py-m2r/Makefile b/textproc/py-m2r/Makefile
new file mode 100644
index 00000000000..6561a8a6fec
--- /dev/null
+++ b/textproc/py-m2r/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/02/13 21:08:29 adam Exp $
+
+DISTNAME= m2r-0.1.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/m2r/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/miyakogi/m2r
+COMMENT= Markdown to reStructuredText converter
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-mistune-[0-9]*:../../textproc/py-mistune
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-m2r/PLIST b/textproc/py-m2r/PLIST
new file mode 100644
index 00000000000..c5939445685
--- /dev/null
+++ b/textproc/py-m2r/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/13 21:08:29 adam Exp $
+bin/m2r
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/m2r.py
+${PYSITELIB}/m2r.pyc
+${PYSITELIB}/m2r.pyo
+${PYSITELIB}/tests/__init__.py
+${PYSITELIB}/tests/__init__.pyc
+${PYSITELIB}/tests/__init__.pyo
+${PYSITELIB}/tests/test_cli.py
+${PYSITELIB}/tests/test_cli.pyc
+${PYSITELIB}/tests/test_cli.pyo
+${PYSITELIB}/tests/test_r s.py
+${PYSITELIB}/tests/test_r s.pyc
+${PYSITELIB}/tests/test_r s.pyo
+${PYSITELIB}/tests/test_renderer.py
+${PYSITELIB}/tests/test_renderer.pyc
+${PYSITELIB}/tests/test_renderer.pyo
diff --git a/textproc/py-m2r/distinfo b/textproc/py-m2r/distinfo
new file mode 100644
index 00000000000..41a5d27233a
--- /dev/null
+++ b/textproc/py-m2r/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/13 21:08:29 adam Exp $
+
+SHA1 (m2r-0.1.5.tar.gz) = 9c5aa6fa791ff53c5007774159d4d0d2ffb4e36a
+RMD160 (m2r-0.1.5.tar.gz) = c6946405a9bba035bc198f839f5b05b2e1c0d1b0
+SHA512 (m2r-0.1.5.tar.gz) = 78e9e8daa293b2466c95f0adad937fa0bbefaf0dd9663695bb916be13182633e0d462afa5331a595db424420485ef54bbfd4e0625962026fab4ce0c63104bc84
+Size (m2r-0.1.5.tar.gz) = 13202 bytes