freebsd-ports/sysutils/py-focker/Makefile
2022-03-12 04:35:39 -06:00

31 lines
881 B
Makefile

PORTNAME= focker
DISTVERSION= 2.0
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= FreeBSD image orchestration tool in the vein of Docker
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes # PyPi package is at 0.91
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= sadaszewski
GH_TAGNAME= 1f2d790
NO_ARCH= yes
# some tests assume `focker` is installed. Tests
# need refactor to test against WRKSRC build
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>