Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 19:59:27 +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: r461428 - head/www/py-pySmartDL
Message-ID:  <201802101959.w1AJxRsw095153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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