11
0

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

* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-execnet?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-02-12 14:32:16 +00:00
committed by Git OBS Bridge
parent cceb57bb85
commit 2ec7bc5d9c
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