From owner-svn-ports-head@freebsd.org Thu Feb 15 11:41:03 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 708B5F159BF; Thu, 15 Feb 2018 11:41:03 +0000 (UTC) (envelope-from jhale@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 22C0872A5A; Thu, 15 Feb 2018 11:41:03 +0000 (UTC) (envelope-from jhale@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 1D9571E47C; Thu, 15 Feb 2018 11:41:03 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1FBf2SH065418; Thu, 15 Feb 2018 11:41:02 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1FBf2pn065416; Thu, 15 Feb 2018 11:41:02 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201802151141.w1FBf2pn065416@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Thu, 15 Feb 2018 11:41:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461882 - in head/devel/py-nose2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: in head/devel/py-nose2: . files X-SVN-Commit-Revision: 461882 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: Thu, 15 Feb 2018 11:41:03 -0000 Author: jhale Date: Thu Feb 15 11:41:02 2018 New Revision: 461882 URL: https://svnweb.freebsd.org/changeset/ports/461882 Log: Re-enable py27 flavor Allow concurrent installation PR: 225533 Submitted by: jhale Approved by: Daniel Ylitalo (maintainer) Added: head/devel/py-nose2/files/ head/devel/py-nose2/files/patch-setup.py (contents, props changed) Modified: head/devel/py-nose2/Makefile Modified: head/devel/py-nose2/Makefile ============================================================================== --- head/devel/py-nose2/Makefile Thu Feb 15 11:36:07 2018 (r461881) +++ head/devel/py-nose2/Makefile Thu Feb 15 11:41:02 2018 (r461882) @@ -2,6 +2,7 @@ PORTNAME= nose2 PORTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +16,10 @@ LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.7:devel/py-six@${FLAVOR} +py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${FLAVOR} + NO_ARCH= yes -USES= python:3.4+ -USE_PYTHON= autoplist distutils +USES= python +USE_PYTHON= autoplist concurrent distutils .include Added: head/devel/py-nose2/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-nose2/files/patch-setup.py Thu Feb 15 11:41:02 2018 (r461882) @@ -0,0 +1,13 @@ +Allow USE_PYTHON=concurrent to handle script renaming/linking for multiple +Python versions. + +--- setup.py.orig 2018-01-29 12:01:44 UTC ++++ setup.py +@@ -89,7 +89,6 @@ else: + params['entry_points'] = { + 'console_scripts': [ + '%s = nose2:discover' % SCRIPT1, +- '%s = nose2:discover' % SCRIPT2, + ], + } + params['install_requires'] = parse_requirements('requirements.txt')