Date: Thu, 15 Feb 2018 11:41:02 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> 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 Message-ID: <201802151141.w1FBf2pn065416@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <daniel@blodan.se> (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 <bsd.port.mk> 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')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802151141.w1FBf2pn065416>