svn commit: r562989 - head/devel/py-distributed

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Jan 26 19:24:40 UTC 2021


Author: sunpoet
Date: Tue Jan 26 19:24:32 2021
New Revision: 562989
URL: https://svnweb.freebsd.org/changeset/ports/562989

Log:
  Simplify RUN_DEPENDS
  
  py-tornado has been updated to 6.1 and py-tornado6 is deprecated now.

Modified:
  head/devel/py-distributed/Makefile

Modified: head/devel/py-distributed/Makefile
==============================================================================
--- head/devel/py-distributed/Makefile	Tue Jan 26 19:24:27 2021	(r562988)
+++ head/devel/py-distributed/Makefile	Tue Jan 26 19:24:32 2021	(r562989)
@@ -3,6 +3,7 @@
 
 PORTNAME=	distributed
 PORTVERSION=	2.20.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,6 +23,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=6.6:devel/p
 		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.0.2:devel/py-sortedcontainers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tblib>=1.6.0:devel/py-tblib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toolz>=0.8.2:devel/py-toolz@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tornado>=6.0.3:www/py-tornado@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}zict>=0.1.3:devel/py-zict@${PY_FLAVOR}
 
 USES=		python:3.7+
@@ -29,12 +31,4 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado>=5:www/py-tornado@${PY_FLAVOR}
-.else
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado6>=6.0.3:www/py-tornado6@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list