25e30a78ae
PR: 224590 Submitted by: John W. O'Brien <john@saltant.com> (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13683
36 lines
954 B
Makefile
36 lines
954 B
Makefile
# Created by: John W. O'Brien <john@saltant.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= m2r
|
|
DISTVERSION= 0.1.12
|
|
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
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${FLAVOR}
|
|
|
|
# Actually 2.7,3.4+
|
|
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@${FLAVOR}
|
|
.endif
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.post.mk>
|