svn commit: r434329 - in head/textproc: . py-m2r py-m2r/files
Dmitry Sivachenko
demon at FreeBSD.org
Sat Feb 18 07:28:04 UTC 2017
Author: demon
Date: Sat Feb 18 07:28:02 2017
New Revision: 434329
URL: https://svnweb.freebsd.org/changeset/ports/434329
Log:
New port: py-m2r.
M2R is a Python module and command line utility to convert documents
formatted with markdown that include embedded reST markups to valid
reST formatted documents.
PR: 217183
Submitted by: John W. O'Brien <john at saltant.com>
Added:
head/textproc/py-m2r/
head/textproc/py-m2r/Makefile (contents, props changed)
head/textproc/py-m2r/distinfo (contents, props changed)
head/textproc/py-m2r/files/
head/textproc/py-m2r/files/patch-setup.py (contents, props changed)
head/textproc/py-m2r/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sat Feb 18 05:58:32 2017 (r434328)
+++ head/textproc/Makefile Sat Feb 18 07:28:02 2017 (r434329)
@@ -1271,6 +1271,7 @@
SUBDIR += py-libxml2
SUBDIR += py-libxslt
SUBDIR += py-ltxml
+ SUBDIR += py-m2r
SUBDIR += py-mako
SUBDIR += py-markdown
SUBDIR += py-markdown2
Added: head/textproc/py-m2r/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-m2r/Makefile Sat Feb 18 07:28:02 2017 (r434329)
@@ -0,0 +1,34 @@
+# Created by: John W. O'Brien <john at saltant.com>
+# $FreeBSD$
+
+PORTNAME= m2r
+PORTVERSION= 0.1.5
+CATEGORIES= textproc devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= john at saltant.com
+COMMENT= Convert markdown formatted file with reST markup to reST format
+
+LICENSE= MIT
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune \
+ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
+.endif
+
+do-test:
+ @cd ${TEST_WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.post.mk>
Added: head/textproc/py-m2r/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-m2r/distinfo Sat Feb 18 07:28:02 2017 (r434329)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1487344809
+SHA256 (m2r-0.1.5.tar.gz) = 3448f770aed05ca10390d0917cd51836cbf82a2f095bc91507e6291cfab03223
+SIZE (m2r-0.1.5.tar.gz) = 13202
Added: head/textproc/py-m2r/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-m2r/files/patch-setup.py Sat Feb 18 07:28:02 2017 (r434329)
@@ -0,0 +1,10 @@
+--- setup.py.orig 2017-02-17 17:38:50 UTC
++++ setup.py
+@@ -27,7 +27,6 @@ setup(
+ author_email='miyako.dev at gmail.com',
+ url='https://github.com/miyakogi/m2r',
+ py_modules=['m2r'],
+- packages=['tests'],
+ entry_points={'console_scripts': 'm2r = m2r:main'},
+ include_package_data=True,
+ license="MIT",
Added: head/textproc/py-m2r/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-m2r/pkg-descr Sat Feb 18 07:28:02 2017 (r434329)
@@ -0,0 +1,5 @@
+M2R is a Python module and command line utility to convert documents
+formatted with markdown that include embedded reST markups to valid
+reST formatted documents.
+
+WWW: https://github.com/miyakogi/m2r
More information about the svn-ports-head
mailing list