forked from pool/python-pytest-error-for-skips
Accepting request 758777 from home:jayvdb:branches:devel:languages:python
- Re-activate test suite - Update to v2.0.2 * Fix compatibility with pytest 4.6+ OBS-URL: https://build.opensuse.org/request/show/758777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-error-for-skips?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
069d1f2e75
commit
ad83be77cb
3
pytest-error-for-skips-2.0.2.tar.gz
Normal file
3
pytest-error-for-skips-2.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a11f40956b59597c6d4e08c82932764aed087f60efd8c950c80c46b1ebec090
|
||||||
|
size 4768
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 22 02:47:21 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Re-activate test suite
|
||||||
|
- Update to v2.0.2
|
||||||
|
* Fix compatibility with pytest 4.6+
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 14 12:40:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Feb 14 12:40:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,21 +18,20 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-error-for-skips
|
Name: python-pytest-error-for-skips
|
||||||
Version: 1.0.0
|
Version: 2.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin to treat skipped tests a test failure
|
Summary: Pytest plugin to treat skipped tests a test failure
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/janschulz/pytest-error-for-skips
|
URL: https://github.com/jankatins/pytest-error-for-skips
|
||||||
Source: https://github.com/jankatins/pytest-error-for-skips/archive/v%{version}.tar.gz
|
Source: https://github.com/jankatins/pytest-error-for-skips/archive/%{version}.tar.gz#/pytest-error-for-skips-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest >= 2.9.2
|
Requires: python-pytest >= 4.6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest >= 2.9.2}
|
BuildRequires: %{python_module pytest >= 4.6}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -45,7 +44,6 @@ missing dependencies.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-error-for-skips-%{version}
|
%setup -q -n pytest-error-for-skips-%{version}
|
||||||
dos2unix README.rst
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -55,11 +53,10 @@ dos2unix README.rst
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# The tests are broken and upstream is dead since 2016
|
%pytest
|
||||||
#%%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b35e5ebdff3fe978618c643bd715325aa0b733bc0b1878daed5f3926bc2ed06b
|
|
||||||
size 4690
|
|
||||||
Reference in New Issue
Block a user