ports/devel/py-click-threading/Makefile
Sunpoet Po-Chuan Hsieh c81fa62863 Add py3-click-threading 0.4.2
- While I'm here, fix indent

PR:		219233
Submitted by:	Rudolf Siegel <rs.os@t-online.de>
Approved by:	Christian Geier <geier@lostpackets.de> (maintainer)
2017-05-15 18:33:48 +00:00

32 lines
709 B
Makefile

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