forked from pool/python-nose2
- Add patch to fix build with new mock versions: * fix-mock-dep.patch OBS-URL: https://build.opensuse.org/request/show/702903 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=10
14 lines
502 B
Diff
14 lines
502 B
Diff
Index: nose2-0.9.1/setup.py
|
|
===================================================================
|
|
--- nose2-0.9.1.orig/setup.py
|
|
+++ nose2-0.9.1/setup.py
|
|
@@ -32,7 +32,7 @@ setup(
|
|
# mock on py2, py3.4 and py3.5
|
|
# not just py2: py3 versions of mock don't all have the same
|
|
# interface and this can cause issues
|
|
- 'mock==2.0.0;python_version<"3.6"',
|
|
+ 'mock>=2.0.0;python_version<"3.6"',
|
|
],
|
|
extras_require={
|
|
"coverage_plugin": ["coverage>=4.4.1"],
|