From owner-svn-ports-head@freebsd.org Sat Feb 10 19:58:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 740D9F19543; Sat, 10 Feb 2018 19:58:56 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1F856F746; Sat, 10 Feb 2018 19:58:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A369189DC; Sat, 10 Feb 2018 19:58:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1AJwqCZ094387; Sat, 10 Feb 2018 19:58:52 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1AJwpBP094386; Sat, 10 Feb 2018 19:58:51 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802101958.w1AJwpBP094386@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 10 Feb 2018 19:58:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461421 - head/devel/py-trollius X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-trollius X-SVN-Commit-Revision: 461421 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2018 19:58:56 -0000 Author: sunpoet Date: Sat Feb 10 19:58:51 2018 New Revision: 461421 URL: https://svnweb.freebsd.org/changeset/ports/461421 Log: Simplify Makefile: use PY_FUTURES It also fixes the other PYTHON_REL check. The original "PYTHON_REL < 3300" check inside "PYTHON_REL < 3000" will never be true. With hat: python Modified: head/devel/py-trollius/Makefile Modified: head/devel/py-trollius/Makefile ============================================================================== --- head/devel/py-trollius/Makefile Sat Feb 10 19:58:46 2018 (r461420) +++ head/devel/py-trollius/Makefile Sat Feb 10 19:58:51 2018 (r461421) @@ -12,6 +12,8 @@ COMMENT= Port of the Tulip project (asyncio module, PE LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING +RUN_DEPENDS= ${PY_FUTURES} + USES= python USE_PYTHON= autoplist distutils @@ -19,11 +21,8 @@ NO_ARCH= yes .include -.if ${PYTHON_REL} < 3000 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${FLAVOR} .if ${PYTHON_REL} < 3300 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} -.endif .endif do-test: