14
0

- Add pytest4.patch from gh#olemb/dbfread#33 which makes the test

suite to pass with PyTest 4.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbfread?expand=0&rev=10
This commit is contained in:
2019-11-01 12:49:51 +00:00
committed by Git OBS Bridge
parent d2ae58a9c7
commit 1f142b9741
3 changed files with 76 additions and 2 deletions

View File

@@ -25,7 +25,9 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/olemb/dbfread
Source: https://files.pythonhosted.org/packages/source/d/dbfread/dbfread-%{version}.tar.gz
BuildRequires: %{python_module pytest < 4}
# gh#olemb/dbfread#33
Patch0: pytest4.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -39,7 +41,7 @@ Python data types for further processing. It is primarily intended for
batch jobs and one-off scripts.
%prep
%setup -q -n dbfread-%{version}
%autosetup -p1 -n dbfread-%{version}
%build
%python_build