Accepting request 687175 from devel:languages:python:pytest

Revert the override

OBS-URL: https://build.opensuse.org/request/show/687175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-fixture-config?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2019-03-21 09:57:59 +00:00 committed by Git OBS Bridge
parent 7f5246594f
commit 649fda28be
2 changed files with 15 additions and 17 deletions

View File

@ -1,4 +1,4 @@
-------------------------------------------------------------------
Thu Mar 21 01:34:50 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
Wed Feb 20 11:40:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial spec for v1.4.0
- Intial commit, needed by pytest-virtualenv

View File

@ -12,36 +12,34 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-fixture-config
Version: 1.4.0
Release: 0
Summary: Fixture configuration utils for pytest
License: MIT
Summary: Fixture configuration utils for pytest
Url: https://github.com/manahl/pytest-plugins
Group: Development/Languages/Python
URL: https://github.com/manahl/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest < 4.0.0
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools-git}
Requires: python-pytest
BuildRequires: fdupes
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest < 4.0.0}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
%description
Fixture configuration utils for py.test
Fixture configuration utilities for pytest
%prep
%setup -q -n pytest-fixture-config-%{version}
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
%build
%python_build
@ -51,10 +49,10 @@ Fixture configuration utils for py.test
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%doc CHANGES.md README.md
%doc README.md CHANGES.md
%license LICENSE
%{python_sitelib}/*