1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/devel/py-trollius/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

35 lines
727 B
Makefile

# $FreeBSD$
PORTNAME= trollius
PORTVERSION= 2.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Port of the Tulip project (asyncio module, PEP 3156) on Python 2
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2
.if ${PYTHON_REL} < 3300
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
.endif
.endif
do-test:
@cd ${WRKSRC} && \
${PYTHON_CMD} runtests.py
.include <bsd.port.post.mk>