svn commit: r461882 - in head/devel/py-nose2: . files
Jason E. Hale
jhale at FreeBSD.org
Thu Feb 15 11:41:03 UTC 2018
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 at 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')
More information about the svn-ports-head
mailing list