1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/textproc/py-m2r/Makefile
Dmitry Sivachenko c408fd25a1 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>
2017-02-18 07:28:02 +00:00

35 lines
851 B
Makefile

# 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>