forked from pool/python-pytest-shutil
osc copypac from project:devel:languages:python:pytest package:python-pytest-shutil revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-shutil
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# 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
|
||||
@@ -25,7 +25,6 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/manahl/pytest-plugins
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
||||
Patch0: fix_pathlib.patch
|
||||
BuildRequires: %{python_module execnet}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module path.py}
|
||||
@@ -39,12 +38,12 @@ BuildRequires: python-contextlib2
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-execnet
|
||||
Requires: python-mock
|
||||
Requires: python-path.py
|
||||
Requires: python-pytest
|
||||
Requires: python-six
|
||||
Requires: python-termcolor
|
||||
%ifpython2
|
||||
Requires: python-contextlib2
|
||||
Requires: python-path.py
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -56,7 +55,7 @@ tools for automated tests.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-shutil-%{version}
|
||||
%patch0 -p1
|
||||
sed -i '/contextlib2/d' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user