0fd298b8f9
- Add LICENSE_FILE Relnotes: https://github.com/sadaszewski/focker/releases/tag/2.0
31 lines
881 B
Makefile
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>
|