11
0

Accepting request 674135 from devel:languages:python:pytest

- Add patch to fix build with pytest 4 and newer:
  * pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/674135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-execnet?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2019-02-24 16:04:21 +00:00
committed by Git OBS Bridge
parent 6120e1a208
commit 763de9ad4a
3 changed files with 296 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-execnet
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,10 +23,10 @@ Release: 0
Summary: Rapid multi-Python deployment
License: MIT
Group: Development/Libraries/Python
URL: http://codespeak.net/execnet/
URL: https://github.com/pytest-dev/execnet
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
Patch0: fix_apipkg.patch
# test requirements
Patch1: pytest4.patch
BuildRequires: %{python_module apipkg}
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest}
@@ -51,7 +51,8 @@ API targetting the following uses:
%prep
%setup -q -n execnet-%{version}
%patch0 -p1
%autopatch -p1
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
%build