Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2019 19:21:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504982 - head/devel/py-cloudpickle
Message-ID:  <201906231921.x5NJLUQW066425@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun 23 19:21:29 2019
New Revision: 504982
URL: https://svnweb.freebsd.org/changeset/ports/504982

Log:
  Use PY_FUTURES
  
  With hat:	python

Modified:
  head/devel/py-cloudpickle/Makefile

Modified: head/devel/py-cloudpickle/Makefile
==============================================================================
--- head/devel/py-cloudpickle/Makefile	Sun Jun 23 19:21:24 2019	(r504981)
+++ head/devel/py-cloudpickle/Makefile	Sun Jun 23 19:21:29 2019	(r504982)
@@ -13,7 +13,8 @@ COMMENT=	Extended pickling support for Python objects
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+TEST_DEPENDS=	${PY_FUTURES} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
 
 USES=		python
@@ -21,14 +22,8 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} < 3.4
-TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${PY_FLAVOR}
-.endif
-
 # Need -s for https://github.com/cloudpipe/cloudpickle/issues/252
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -s
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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