public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/toot] rawhide: Update to 0.52.1 + spec cleanup and modernization
Date: Wed, 05 Aug 2026 23:24:00 GMT [thread overview]
Message-ID: <178597224073.1.7171225227013868766.rpms-toot-341266095e13@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/toot
Branch : rawhide
Commit : 341266095e1345094edd6a70d68ccbf0f4b35df0
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-05T20:21:50-03:00
Stats : +15/-43 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/toot/c/341266095e1345094edd6a70d68ccbf0f4b35df0?branch=rawhide
Log:
Update to 0.52.1 + spec cleanup and modernization
Resolves: rhbz#2455051 - toot-0.52.1 is available
Resolves: rhbz#2485529 - F45FailsToInstall, FTBFS: toot: nothing provides
requested (python3dist(urwid) >= 3 with python3dist(urwid) < 4)
---
diff --git a/.gitignore b/.gitignore
index 33f2bdb..afd2db7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,28 +1 @@
-/toot-0.27.0.tar.gz
-/toot-0.28.0.tar.gz
-/toot-0.28.1.tar.gz
-/toot-0.29.0.tar.gz
-/toot-0.30.0.tar.gz
-/toot-0.31.0.tar.gz
-/toot-0.32.1.tar.gz
-/toot-0.33.0.tar.gz
-/toot-0.33.1.tar.gz
-/toot-0.34.0.tar.gz
-/toot-0.34.1.tar.gz
-/toot-0.35.0.tar.gz
-/toot-0.36.0.tar.gz
-/toot-0.37.0.tar.gz
-/toot-0.38.1.tar.gz
-/toot-0.38.2.tar.gz
-/toot-0.39.0.tar.gz
-/toot-0.42.0.tar.gz
-/toot-0.43.0.tar.gz
-/toot-0.44.1.tar.gz
-/toot-0.45.0.tar.gz
-/toot-0.46.0.tar.gz
-/toot-0.47.0.tar.gz
-/toot-0.47.1.tar.gz
-/toot-0.48.0.tar.gz
-/toot-0.48.1.tar.gz
-/toot-0.51.0.tar.gz
-/toot-0.51.1.tar.gz
+/toot-*.tar.gz
diff --git a/sources b/sources
index ec4990a..10e231e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (toot-0.51.1.tar.gz) = b23d5cba1a9d43bb8918163d49742732eca292f47e10657633c2247fa72693466c61b564ec0f2e1ccfd0188340fd5d3860c515b84a6b65cd0c490e2402ebe311
+SHA512 (toot-0.52.1.tar.gz) = b4625b9c830592c7b055cfe370a9d3a75b4327c9d72d5e6c675a5c4815bb9c5c261f6db1fe329401a45c20f226b27f59ae1a1b7882d88c003f57107fabcc041b
diff --git a/toot.spec b/toot.spec
index fc22f02..4480291 100644
--- a/toot.spec
+++ b/toot.spec
@@ -1,34 +1,33 @@
%global modname toot
Name: %{modname}
-Version: 0.51.1
+Version: 0.52.1
Release: %autorelease
Summary: A CLI and TUI tool for interacting with Mastodon
-# Automatically converted from old format: GPLv3 - review is highly recommended.
License: GPL-3.0-only
URL: https://github.com/ihabunek/%{modname}
-Source0: https://github.com/ihabunek/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
-# https://github.com/ihabunek/toot/issues/540
-# but tui is broken
-# Patch0: urwid.patch
+Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
+BuildRequires: python3-pytest
BuildRequires: python3-setuptools
+BuildRequires: python3dist(pillow)
BuildRequires: python3dist(setuptools-scm) >= 8
-BuildRequires: python3dist(wheel) python3dist(pytest) python3dist(pillow)
-BuildRequires: python3dist(urwid)
+BuildRequires: python3dist(wheel)
%description
Toot is a CLI and TUI tool for interacting with Mastodon instances
from the command line.
%prep
-%autosetup -n %{modname}-%{version}
+%autosetup -n %{modname}-%{version} -p1
rm -rf %{modname}.egg-info
find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';'
+# Relax urwid dependency to allow urwid >= 3.0 (including 4.x)
+sed -i 's/"urwid\~=3.0"/"urwid>=3.0"/' pyproject.toml
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
@@ -40,14 +39,14 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
%install
%pyproject_install
+%pyproject_save_files %{modname}
-#%check
-%{python3} -m pytest -k 'not test_console' --ignore=tests/tui/test_rich_text.py
+%check
+%pytest -k "not test_console" --ignore=tests/tui/test_rich_text.py
-%files -n %{modname}
+%files -n %{modname} -f %{pyproject_files}
%{_bindir}/toot
-%{python3_sitelib}/%{modname}
-%{python3_sitelib}/%{modname}-%{version}.dist-info/
+%doc README.rst
%license LICENSE
%changelog
reply other threads:[~2026-08-05 23:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178597224073.1.7171225227013868766.rpms-toot-341266095e13@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox