forked from pool/python-pytest-fixture-config
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:
committed by
Git OBS Bridge
parent
7f5246594f
commit
649fda28be
@@ -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
|
||||||
|
|||||||
@@ -12,36 +12,34 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-fixture-config
|
Name: python-pytest-fixture-config
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fixture configuration utils for pytest
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Summary: Fixture configuration utils for pytest
|
||||||
|
Url: https://github.com/manahl/pytest-plugins
|
||||||
Group: Development/Languages/Python
|
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
|
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
|
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
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module pytest < 4.0.0}
|
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
# /SECTION
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Fixture configuration utils for py.test
|
Fixture configuration utilities for pytest
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-fixture-config-%{version}
|
%setup -q -n pytest-fixture-config-%{version}
|
||||||
|
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -51,10 +49,10 @@ Fixture configuration utils for py.test
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.md README.md
|
%doc README.md CHANGES.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user