Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 11:40:39 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500103 - head/devel/py-txaio
Message-ID:  <201904261140.x3QBed36028458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Apr 26 11:40:39 2019
New Revision: 500103
URL: https://svnweb.freebsd.org/changeset/ports/500103

Log:
  devel/py-txaio: Update to 18.8.1
  
    - Add patches to fix (py)tests
    - Verbosify the test target and report skip reasons
  
  Changelog:
  
    https://txaio.readthedocs.io/en/latest/releases.html

Modified:
  head/devel/py-txaio/Makefile
  head/devel/py-txaio/distinfo

Modified: head/devel/py-txaio/Makefile
==============================================================================
--- head/devel/py-txaio/Makefile	Fri Apr 26 11:39:23 2019	(r500102)
+++ head/devel/py-txaio/Makefile	Fri Apr 26 11:40:39 2019	(r500103)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	txaio
-PORTVERSION=	2.6.1
+PORTVERSION=	18.8.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,21 +14,26 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.6.4:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}twisted>=12.1.0:devel/py-twisted@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+PATCH_SITES=	https://github.com/crossbario/${PORTNAME}/commit/
+PATCHFILES=	9217f054b7eccc120f84e01995479125e07de59a.patch:-p1
+
+NO_ARCH=	yes
+
 .include <bsd.port.pre.mk>
 
-.if ${PYTHON_REL} < 3300
-TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}trollius>=2.0:devel/py-trollius@${PY_FLAVOR}
-.elif ${PYTHON_REL} >= 3300
-TEST_DEPENDS+=  ${PYTHON_PKGNAMEPREFIX}asyncio>=3.4.3:devel/py-asyncio@${PY_FLAVOR}
+.if ${PYTHON_REL} < 3000
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}trollius>=2.0:devel/py-trollius@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}futures>=3.0.3:devel/py-futures@${PY_FLAVOR}
 .endif
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.post.mk>

Modified: head/devel/py-txaio/distinfo
==============================================================================
--- head/devel/py-txaio/distinfo	Fri Apr 26 11:39:23 2019	(r500102)
+++ head/devel/py-txaio/distinfo	Fri Apr 26 11:40:39 2019	(r500103)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1488897862
-SHA256 (txaio-2.6.1.tar.gz) = 6fe5731749c928dafc200affbc8574d8a71b36f16d20d3787eb2506c0be360f4
-SIZE (txaio-2.6.1.tar.gz) = 40563
+TIMESTAMP = 1556249564
+SHA256 (txaio-18.8.1.tar.gz) = 67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe
+SIZE (txaio-18.8.1.tar.gz) = 51092
+SHA256 (9217f054b7eccc120f84e01995479125e07de59a.patch) = 8d1eaad111eb275a2c064b22d120ff662ec21b8540ad8cfea0db24fb341fbde2
+SIZE (9217f054b7eccc120f84e01995479125e07de59a.patch) = 1194



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904261140.x3QBed36028458>