- fix python-path/python-path.py requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=10
This commit is contained in:
parent
7b1b883a2f
commit
05bb53ad96
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 28 18:31:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- fix python-path/python-path.py requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 3 09:07:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Jun 3 09:07:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-shutil
|
# spec file for package python-pytest-shutil
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,7 +27,6 @@ URL: https://github.com/manahl/pytest-plugins
|
|||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module execnet}
|
BuildRequires: %{python_module execnet}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module path.py}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools-git}
|
BuildRequires: %{python_module setuptools-git}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -36,14 +35,20 @@ BuildRequires: %{python_module termcolor}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-contextlib2
|
BuildRequires: python-contextlib2
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python2-path.py
|
||||||
|
BuildRequires: python3-path
|
||||||
Requires: python-execnet
|
Requires: python-execnet
|
||||||
Requires: python-mock
|
Requires: python-mock
|
||||||
Requires: python-path.py
|
Requires: python-path
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires: python-termcolor
|
Requires: python-termcolor
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-contextlib2
|
Requires: python-contextlib2
|
||||||
|
Requires: python2-path.py
|
||||||
|
%endif
|
||||||
|
%ifpython3
|
||||||
|
Requires: python3-path
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -56,6 +61,7 @@ tools for automated tests.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-shutil-%{version}
|
%setup -q -n pytest-shutil-%{version}
|
||||||
sed -i '/contextlib2/d' setup.py
|
sed -i '/contextlib2/d' setup.py
|
||||||
|
sed -i '/path.\py/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user