14
0
forked from pool/python-Whoosh

- Add patch to fix build with pytest4+ (both in git of upstream):

* pytest4.patch
  * py2encoding.patch
- Use fdupes
- Update URL
- Make sure py2 tests are run too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2019-07-18 08:33:45 +00:00
committed by Git OBS Bridge
parent 73f977b701
commit ed524c01a4
4 changed files with 91 additions and 9 deletions

13
pytest4.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: Whoosh-2.7.4/setup.cfg
===================================================================
--- Whoosh-2.7.4.orig/setup.cfg
+++ Whoosh-2.7.4/setup.cfg
@@ -15,7 +15,7 @@ formats = zip,gztar
push = sdist bdist_wheel upload
pushdocs = build_sphinx upload_sphinx
-[pytest]
+[tool:pytest]
addopts = -rs --tb=native
norecursedirs = .hg .tox _build tmp* env* benchmark stress
minversion = 2.0