summaryrefslogtreecommitdiff
path: root/print/dot2tex/Makefile
blob: 9a7be57d6075e93d59acfd8fc795490279279ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	dot2tex
PORTVERSION=	2.11.3
CATEGORIES=	print python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	Graphviz to LaTeX converter
WWW=		https://github.com/kjellmf/dot2tex

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=1.4.8:devel/py-pyparsing@${PY_FLAVOR} \
		dot:graphics/graphviz
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}

USES=		python:3.6+
USE_GITHUB=	yes
USE_PYTHON=	distutils autoplist concurrent

# Enable this before running test target
# bsd.tex.mk doesnt support :test (only) depends
#USE_TEX=	latex

GH_ACCOUNT=	kjellmf

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose

.include <bsd.port.mk>