aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-07-03 11:58:53 +0800
committerswills <swills@FreeBSD.org>2016-07-03 11:58:53 +0800
commitda03b443afcb74c69a0b43a18eecf002ec9955a7 (patch)
treece7eac20dcaacc6057a70ccfaadf718daa547f67
parent3d36ddd5a54b4a01e0a53f834b4a4f0a51918813 (diff)
downloadfreebsd-ports-graphics-da03b443afcb74c69a0b43a18eecf002ec9955a7.tar.gz
freebsd-ports-graphics-da03b443afcb74c69a0b43a18eecf002ec9955a7.tar.zst
freebsd-ports-graphics-da03b443afcb74c69a0b43a18eecf002ec9955a7.zip
devel/py-txaio: update to 2.5.1
Approved by: koobs (maintainer)
-rw-r--r--devel/py-txaio/Makefile12
-rw-r--r--devel/py-txaio/distinfo5
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/py-txaio/Makefile b/devel/py-txaio/Makefile
index ea7e4e536b2..0867a5e4a57 100644
--- a/devel/py-txaio/Makefile
+++ b/devel/py-txaio/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= txaio
-PORTVERSION= 2.2.1
+PORTVERSION= 2.5.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,7 +20,15 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
USES= python
USE_PYTHON= autoplist distutils
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}trollius>=2.0:devel/py-trollius
+.elif ${PYTHON_REL} >= 3300
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>=3.4.3:devel/py-asyncio
+.endif
+
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-txaio/distinfo b/devel/py-txaio/distinfo
index 8a4a65efc44..0c72dea5e89 100644
--- a/devel/py-txaio/distinfo
+++ b/devel/py-txaio/distinfo
@@ -1,2 +1,3 @@
-SHA256 (txaio-2.2.1.tar.gz) = 6eee00c397d8193d15313dfc36da3eac8d64edf0b92fe3b67cd5a735ffc3074b
-SIZE (txaio-2.2.1.tar.gz) = 35208
+TIMESTAMP = 1467490235
+SHA256 (txaio-2.5.1.tar.gz) = 625076477182e2dde78b79d0b2b0d6b3cecb0e24fe0ea7eaf2abd26a4c0dd1de
+SIZE (txaio-2.5.1.tar.gz) = 41577