- update to 1.0.0:

* Add support for pytest 8.x
  * Drop support for Python 3.7
- Remove python_module macro definition
- initial package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sugar?expand=0&rev=18
This commit is contained in:
2024-02-01 20:53:58 +00:00
committed by Git OBS Bridge
parent 5f4472d298
commit 53a49c86f5
4 changed files with 19 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1e74c1abfa55f7241cf7088032b6e378566f16b938f3f08905e2cf4494edd46
size 14874

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6422e83258f5b0c04ce7c632176c7732cab5fdb909cb39cca5c9139f81276c0a
size 14992

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 1 20:51:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.0.0:
* Add support for pytest 8.x
* Drop support for Python 3.7
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 27 12:46:32 UTC 2023 - ecsos <ecsos@opensuse.org> Thu Jul 27 12:46:32 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-sugar # spec file for package python-pytest-sugar
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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
@@ -18,15 +18,17 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-sugar Name: python-pytest-sugar
Version: 0.9.7 Version: 1.0.0
Release: 0 Release: 0
Summary: Pretty printer for pytest progress Summary: Pretty printer for pytest progress
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/Frozenball/pytest-sugar URL: https://github.com/Frozenball/pytest-sugar
Source: https://files.pythonhosted.org/packages/source/p/pytest-sugar/pytest-sugar-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-sugar/pytest-sugar-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module termcolor} BuildRequires: %{python_module termcolor}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest Requires: python-pytest
@@ -41,10 +43,10 @@ pytest-sugar is a plugin for py.test that shows failures and errors instantly an
%setup -q -n pytest-sugar-%{version} %setup -q -n pytest-sugar-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -55,6 +57,6 @@ pytest-sugar is a plugin for py.test that shows failures and errors instantly an
%doc README.md %doc README.md
%pycache_only %{python_sitelib}/__pycache__/*.pyc %pycache_only %{python_sitelib}/__pycache__/*.pyc
%{python_sitelib}/pytest_sugar.py %{python_sitelib}/pytest_sugar.py
%{python_sitelib}/pytest_sugar-%{version}*-info %{python_sitelib}/pytest_sugar-%{version}.dist-info
%changelog %changelog