public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-yaspin] f44: Unretirement rhbz#2553740
@ 2026-10-20 16:46
0 siblings, 0 replies; only message in thread
From: @ 2026-10-20 16:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-yaspin
Branch : f44
Commit : 30ffb00baf321be4ceeb2c722fa18160cb7ed2ef
Author : Terje Røsten <terjeros@gmail.com>
Date : 2026-10-20T18:38:32+02:00
Stats : +26/-70 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-yaspin/c/30ffb00baf321be4ceeb2c722fa18160cb7ed2ef?branch=f44
Log:
Unretirement rhbz#2553740
---
diff --git a/.gitignore b/.gitignore
index d9db93d..f899788 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/v0.14.0.tar.gz
+/yaspin-3.5.1.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 8b7c4a5..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# python-yaspin
-
-The python-yaspin package
\ No newline at end of file
diff --git a/python-yaspin.spec b/python-yaspin.spec
index 17a8965..aa69ce6 100644
--- a/python-yaspin.spec
+++ b/python-yaspin.spec
@@ -1,84 +1,42 @@
-%global srcname yaspin
+Summary: Yet Another Terminal Spinner for Python
Name: python-yaspin
-Version: 0.14.3
-Release: 6%{?dist}
+Version: 3.5.1
+Release: %autorelease
License: MIT
-URL: https://pypi.org/project/yaspin
-Source0: https://github.com/pavdmyt/yaspin/archive/v%{version}.tar.gz
+URL: https://github.com/pavdmyt/yaspin
+Source: %{pypi_source yaspin}
BuildArch: noarch
-Summary: Python library for terminal spinners
-%description
-Yet Another Terminal Spinner for Python.
-
-Yaspin provides a full-featured terminal spinner to show the progress
-during long-hanging operations.
-
-%package -n python3-%{srcname}
-Summary: %{summary}
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: python3-pytest
-%{?python_provide:%python_provide python3-%{srcname}}
+BuildRequires: python3-pytest-mock
+%global _description %{expand:
+Yaspin provides a full-featured terminal spinner to show the
+progress during long-hanging operations.}
-%description -n python3-%{srcname}
-Yet Another Terminal Spinner for Python.
+%description %_description
-Yaspin provides a full-featured terminal spinner to show the progress
-during long-hanging operations.
+%package -n python3-yaspin
+Summary: %{summary}
+%description -n python3-yaspin %_description
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -p1 -n yaspin-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
+%pytest
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l yaspin
%check
-# some tests are skipped because they are generated, some combinations are not supported use cases
-#example: tests/test_in_out.py::test_compose_out_with_color[None-''-bold] SKIPPED
-%{__python3} -m pytest
-
-%files -n python3-%{srcname}
-%license LICENSE
-%doc README.rst
-%{python3_sitelib}/%{srcname}-*.egg-info/
-%{python3_sitelib}/%{srcname}/
+%pyproject_check_import
+%files -n python3-yaspin -f %{pyproject_files}
%changelog
-* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.3-6
-- Rebuilt for Python 3.9
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.3-4
-- Rebuilt for Python 3.8.0rc1 (#1748018)
-
-* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.3-3
-- Rebuilt for Python 3.8
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sun May 12 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.3-1
-- update for 0.14.3
-
-* Mon Jan 14 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.0-4
-- fixed typo
-
-* Fri Jan 11 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.0-4
-- added BuildRequires
-- changed tabs to spaces
-
-* Thu Jan 10 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.0-3
-- fixed typo
-- deleted Requires
-
-* Wed Jan 9 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.0-2
-- added BuildRequires
-
-* Tue Jan 8 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.14.0-1
-- created package
+%autochangelog
diff --git a/sources b/sources
index 1779f18..de76224 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v0.14.3.tar.gz) = f6fc5e8a39c6d1606f68c9f2521aaa9ba1023b7b7b598d5125fc8b0f0bb2b228c81898014270a985ddb0add8e5f6edc9453a15bddb8c4b29f9b75577a6f94b4b
+SHA512 (yaspin-3.5.1.tar.gz) = 8e1f8bf5a7daa82b53d4b498d10aac4264a8b5f138735e06617863354a8167ea8f7e602c0caf2ab46dc9c337eba03cb7d446028bb8167b93f43986417f1675bf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 16:46 [rpms/python-yaspin] f44: Unretirement rhbz#2553740
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox