Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-honcho/Makefile
# Created by: Fukang Chen <loader@FreeBSD.org> | # Created by: Fukang Chen <loader@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= honcho | PORTNAME= honcho | ||||
PORTVERSION= 0.6.6 | PORTVERSION= 1.0.1 | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= sysutils python | CATEGORIES= sysutils python | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= loader@FreeBSD.org | MAINTAINER= loader@FreeBSD.org | ||||
COMMENT= Managing Procfile-based applications tool | COMMENT= Managing Procfile-based applications tool | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2 | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2 | ||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ | |||||
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= nickstenning | GH_ACCOUNT= nickstenning | ||||
NO_ARCH= yes | |||||
USES= python | USES= python | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
regression-test: | do-test: build | ||||
mat: Rename the target to `do-test:` and all you will have to do is run make test. | |||||
matUnsubmitted Done Inline ActionsYou do not need the dependency on build, just do-test: is enough, make test will work just fine. mat: You do not need the dependency on build, just `do-test:` is enough, make test will work just… | |||||
loaderAuthorUnsubmitted Not Done Inline ActionsThanks @mat, I didn't know stage: is already a dependency of test:. loader: Thanks @mat, I didn't know stage: is already a dependency of test:. | |||||
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) | @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Rename the target to do-test: and all you will have to do is run make test.