Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2017 07:28:02 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434329 - in head/textproc: . py-m2r py-m2r/files
Message-ID:  <201702180728.v1I7S2BP065628@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@saltant.com>
+# $FreeBSD$
+
+PORTNAME=	m2r
+PORTVERSION=	0.1.5
+CATEGORIES=	textproc devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	john@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702180728.v1I7S2BP065628>