mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
c408fd25a1
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>
35 lines
851 B
Makefile
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>
|