2018-06-01 07:08:04 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-pytest-instafail
|
|
|
|
|
#
|
2025-05-07 07:04:48 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2018-06-01 07:08:04 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-02-14 14:10:45 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
2018-06-01 07:08:04 +00:00
|
|
|
|
|
|
|
|
|
2023-05-04 22:56:25 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2018-06-01 07:08:04 +00:00
|
|
|
Name: python-pytest-instafail
|
2023-05-04 22:56:25 +00:00
|
|
|
Version: 0.5.0
|
2018-06-01 07:08:04 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Pytest Plugin to Show Failures Instantly
|
2019-02-14 14:10:45 +00:00
|
|
|
License: BSD-2-Clause
|
|
|
|
|
URL: https://github.com/jpvanhal/pytest-instafail
|
2018-06-01 07:08:04 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
|
2025-05-07 07:04:48 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2018-06-01 07:08:04 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-05-07 07:04:48 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-06-01 07:08:04 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2020-06-29 10:08:25 +00:00
|
|
|
Requires: python-pytest >= 2.6
|
2019-02-14 14:10:45 +00:00
|
|
|
BuildArch: noarch
|
2018-06-01 07:08:04 +00:00
|
|
|
# SECTION test requirements
|
2020-06-29 10:08:25 +00:00
|
|
|
BuildRequires: %{python_module pytest >= 2.6}
|
2018-06-01 07:08:04 +00:00
|
|
|
# /SECTION
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Pytest-instafail is a plugin for py.test that shows
|
|
|
|
|
failures and errors instantly instead of waiting
|
|
|
|
|
until the end of test session.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n pytest-instafail-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2025-05-07 07:04:48 +00:00
|
|
|
%pyproject_wheel
|
2018-06-01 07:08:04 +00:00
|
|
|
|
|
|
|
|
%install
|
2025-05-07 07:04:48 +00:00
|
|
|
%pyproject_install
|
2018-06-01 07:08:04 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2020-03-05 08:25:58 +00:00
|
|
|
%pytest
|
2018-06-01 07:08:04 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc CHANGES.rst README.rst
|
|
|
|
|
%license LICENSE
|
2025-05-07 07:04:48 +00:00
|
|
|
%{python_sitelib}/pytest_instafail.py
|
|
|
|
|
%pycache_only %{python_sitelib}/__pycache__/pytest_instafail*.pyc
|
|
|
|
|
%{python_sitelib}/pytest_instafail-%{version}.dist-info
|
2018-06-01 07:08:04 +00:00
|
|
|
|
2019-02-14 14:10:45 +00:00
|
|
|
%changelog
|