|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-pytest-relaxed
|
|
|
|
# spec file for package python-pytest-relaxed
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -25,8 +25,10 @@ License: BSD-2-Clause
|
|
|
|
URL: https://github.com/bitprophet/pytest-relaxed
|
|
|
|
URL: https://github.com/bitprophet/pytest-relaxed
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module decorator >= 4}
|
|
|
|
BuildRequires: %{python_module decorator >= 4}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pytest >= 7}
|
|
|
|
BuildRequires: %{python_module pytest >= 7}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-decorator >= 4
|
|
|
|
Requires: python-decorator >= 4
|
|
|
|
@@ -42,20 +44,21 @@ Relaxed test discovery/organization plugin for pytest from python-paramiko autho
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%pytest tests
|
|
|
|
# Broken with pytest 8.4.
|
|
|
|
|
|
|
|
%pytest -k 'not test_skips_pytest_fixtures' tests
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python_sitelib}/pytest_relaxed
|
|
|
|
%{python_sitelib}/pytest_relaxed
|
|
|
|
%{python_sitelib}/pytest_relaxed-%{version}*-info
|
|
|
|
%{python_sitelib}/pytest_relaxed-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|