mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
Re-enable py27 flavor
Allow concurrent installation PR: 225533 Submitted by: jhale Approved by: Daniel Ylitalo <daniel@blodan.se> (maintainer)
This commit is contained in:
parent
8314f942a9
commit
d8ebab3546
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461882
@ -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>
|
||||
|
13
devel/py-nose2/files/patch-setup.py
Normal file
13
devel/py-nose2/files/patch-setup.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user