11
0

- Add patch to play with new pytest rather than restricting:

* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-execnet?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-07-19 09:16:27 +00:00
committed by Git OBS Bridge
parent 40ffffba77
commit 5329aaf214
3 changed files with 34 additions and 3 deletions

View File

@@ -25,9 +25,9 @@ License: MIT
Group: Development/Libraries/Python
URL: https://github.com/pytest-dev/execnet
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
Patch0: pytest4.patch
BuildRequires: %{python_module apipkg}
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest4}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -50,6 +50,7 @@ API targetting the following uses:
%prep
%setup -q -n execnet-%{version}
%patch0 -p1
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
%build
@@ -59,7 +60,7 @@ sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -r s -k"not test_gateway" testing