svn commit: r461428 - head/www/py-pySmartDL

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 10 19:59:27 UTC 2018


Author: sunpoet
Date: Sat Feb 10 19:59:26 2018
New Revision: 461428
URL: https://svnweb.freebsd.org/changeset/ports/461428

Log:
  Simplify Makefile: use PY_FUTURES
  
  With hat:	python

Modified:
  head/www/py-pySmartDL/Makefile

Modified: head/www/py-pySmartDL/Makefile
==============================================================================
--- head/www/py-pySmartDL/Makefile	Sat Feb 10 19:59:21 2018	(r461427)
+++ head/www/py-pySmartDL/Makefile	Sat Feb 10 19:59:26 2018	(r461428)
@@ -10,15 +10,11 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	feld at FreeBSD.org
 COMMENT=	Smart download manager for Python
 
+RUN_DEPENDS=	${PY_FUTURES}
+
 USES=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == "2.7"
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list