mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 03:00:42 -04:00
32 lines
706 B
Makefile
32 lines
706 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>
|