Changeset View
Changeset View
Standalone View
Standalone View
devel/py-click-threading/Makefile
# Created by: Christian Geier <geier@lostpackets.de> | # Created by: Christian Geier <geier@lostpackets.de> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= click-threading | PORTNAME= click-threading | ||||
PORTVERSION= 0.4.2 | PORTVERSION= 0.4.2 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= geier@lostpackets.de | MAINTAINER= geier@lostpackets.de | ||||
COMMENT= Multithreaded Click apps made easy | COMMENT= Multithreaded Click apps made easy | ||||
LICENSE= MIT | LICENSE= MIT | ||||
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${FLAVOR} \ | ||||
TEST_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ | ${PY_FUTURES} | ||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} \ | |||||
${RUN_DEPENDS} | ${RUN_DEPENDS} | ||||
USES?= python | USES= python | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
.include <bsd.port.pre.mk> | |||||
.if ${PYTHON_REL} < 3200 | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>=0:devel/py-futures | |||||
.endif | |||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v | @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |