Files
python-yaspin/python-yaspin.spec
Steve Kowalik e046e26215 - Update to 3.4.0:
* Drop Python 3.9 support
  * Fix Spinner.frames type hint (#261)
  * Support custom streams via stream argument (#235)
  * Update cli-spinners to v3.3.0
  * Deprecate is_jupyter() method
  * Add Python 3.14 support (#253)
  * Add @inject_spinner decorator (#256)
  * Update cli-spinners to v3.2.1
  * termcolor version >=3 support (#254)
  * Fix long messages behavior by truncating them via custom ellipsis (#240)
  * Add Python 3.13 support
  * Update cli-spinners to v3.2.0
  * Add py.typed marker file to be compliant with PEP561 (#237)
  * Update cli-spinners to v2.9.2
  * Fix NameError when using yaspin as a decorator (#230)
  * Drop Python 3.8 support
  * Drop Python 3.7 support
  * Add Python 3.12 support
  * Update cli-spinners to v2.9.0
  * Add Python 3.11 support (#217)
  * Simple type hints for better IDE completions (#214)
  * Replace termcolor-whl with renewed termcolor (#218)
  * Support new colors and highlights from termcolor v2.2.0 (#218)
  * Fix ANSI control sequences in Jupyter notebooks (#176, #193, #195)
  * Drop Python 3.6 support
  * Add Python 3.10 support
  * Replace termcolor with termcolor-whl (#171)
  * Update cli-spinners to v2.7.0
  * Ensure cursor is visible in case of failures (#152)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yaspin?expand=0&rev=18
2026-02-12 04:22:50 +00:00

63 lines
1.7 KiB
RPMSpec

#
# spec file for package python-yaspin
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-yaspin
Version: 3.4.0
Release: 0
Summary: Yet Another Terminal Spinner
License: MIT
URL: https://github.com/pavdmyt/yaspin
Source: https://files.pythonhosted.org/packages/source/y/yaspin/yaspin-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-termcolor
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module termcolor}
# /SECTION
%python_subpackages
%description
Yet Another Terminal Spinner.
%prep
%setup -q -n yaspin-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/yaspin
%{python_sitelib}/yaspin-%{version}*-info
%changelog