Accepting request 687538 from home:jayvdb:coala:test-rig
- Remove dependency on contextlib2 on Python 3 OBS-URL: https://build.opensuse.org/request/show/687538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=3
This commit is contained in:
parent
7066029db9
commit
e822fc5575
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 07:23:42 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove dependency on contextlib2 on Python 3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 20 11:52:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Feb 20 11:52:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/manahl/pytest-plugins
|
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 contextlib2}
|
|
||||||
BuildRequires: %{python_module execnet}
|
BuildRequires: %{python_module execnet}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module path.py}
|
BuildRequires: %{python_module path.py}
|
||||||
@ -35,15 +34,19 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module termcolor}
|
BuildRequires: %{python_module termcolor}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-contextlib2
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-contextlib2
|
|
||||||
Requires: python-execnet
|
Requires: python-execnet
|
||||||
Requires: python-mock
|
Requires: python-mock
|
||||||
Requires: python-path.py
|
Requires: python-path.py
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires: python-termcolor
|
Requires: python-termcolor
|
||||||
|
%ifpython2
|
||||||
|
Requires: python-contextlib2
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,6 +56,7 @@ tools for automated tests.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-shutil-%{version}
|
%setup -q -n pytest-shutil-%{version}
|
||||||
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
||||||
|
sed -i '/contextlib2/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user