Compare commits

...
Sign in to create a new pull request.

20 commits

Author SHA1 Message Date
Fedora Release Engineering
330fbb290a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:36:13 +00:00
Dick Marinus
6bc98fe984 New upstream release 0.12 2025-12-11 20:53:38 +01:00
Python Maint
a08d87a282 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:06:43 +02:00
Python Maint
22f4e4a912 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:37:40 +02:00
Fedora Release Engineering
8d516bb16e Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:54:40 +00:00
Python Maint
945dba8c74 Rebuilt for Python 3.14 2025-06-04 00:50:27 +02:00
Dick Marinus
288ad7f602 update changelog 2025-05-29 15:40:15 +02:00
Dick Marinus
bb012e342b Python 3.14 fixes 2025-05-29 15:21:12 +02:00
Dick Marinus
eaaa9d6c21 replace python-magic with file-magic 2025-04-29 21:19:56 +02:00
Dick Marinus
dbb5b10f5e Add unittest 2025-04-28 07:57:44 +02:00
Tomas Tomecek
49c2330766 Depend on python-standard-mailcap
mailcap was dropped from the standard python library and moved to a
separate module that alot now depends on

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2025-04-15 11:01:47 +02:00
Fedora Release Engineering
cd35056885 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:53:23 +00:00
Miro Hrončok
53364269ea Remove displace manual Requires and BuildRequires 2024-11-18 12:14:13 +01:00
Miro Hrončok
983d61eb75 Run import check during the build
This requires generating the BuildRequires
2024-11-18 12:11:16 +01:00
Tomas Tomecek
cde1a052b9 Install alot's "defaults" files
Resolves #2316430

Co-authored-by: Dick Marinus <dick@mrns.nl>
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2024-11-14 14:30:14 +01:00
Tomas Tomecek
8f236012b3 alot 0.11
Thanks-to: Matej Focko <mfocko@redhat.com>
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2024-09-03 11:30:01 +02:00
Packit
b782b11e6d Update to 0.11 upstream release
- Resolves: rhbz#2308054

Upstream tag: 0.11
Upstream commit: a8a108e2

Commit authored by Packit automation (https://packit.dev/)
2024-08-26 21:44:50 +00:00
Miroslav Suchý
0c4c941fda convert GPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 11:22:39 +02:00
Fedora Release Engineering
9ab25ff068 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:52:00 +00:00
Python Maint
220712b47f Rebuilt for Python 3.13 2024-06-07 14:06:32 +02:00
6 changed files with 109 additions and 49 deletions

4
.gitignore vendored
View file

@ -2,6 +2,10 @@
/alot-a7075ea6226f2dfed0142529f73989961ee7b65d.tar.gz
/alot-0.6.tar.gz
/alot-0.6.tar.gz.asc
/alot-0.10
/alot-0.11
/0.7.tar.gz
/0.8.1.tar.gz
/0.10.tar.gz
/0.11.tar.gz
/v0.12.tar.gz

View file

@ -1,27 +0,0 @@
From 2f1d3760ffd3f60ba9d5563bb7985b39c229ab58 Mon Sep 17 00:00:00 2001
From: Tomas Tomecek <ttomecek@redhat.com>
Date: Thu, 12 Jan 2017 16:04:48 +0100
Subject: [PATCH] don't depend on weird python-magic distribution
https://github.com/pazz/alot/issues/765#issuecomment-143228725
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
---
setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
index d98e6c9..1bf5033 100755
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,6 @@ setup(
'urwid>=1.3.0',
'urwidtrees>=1.0.3',
'twisted>=18.4.0',
- 'python-magic',
'configobj>=4.7.0',
'gpg'
],
--
2.41.0

View file

@ -0,0 +1,25 @@
From 893538d39f60003489200cf166f806a4c335097d Mon Sep 17 00:00:00 2001
From: Dick Marinus <dick@mrns.nl>
Date: Sat, 6 Dec 2025 20:59:33 +0100
Subject: [PATCH] replace python-magic with file-magic
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 4a0acac6..b2ea86fa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,7 +30,7 @@ dependencies = [
"urwid>=1.3.0",
"urwidtrees>=1.0.3",
"twisted>=18.4.0",
- "python-magic",
+ "file-magic",
"configobj>=4.7.0",
"gpg>1.10.0",
"standard-mailcap; python_version>'3.12'"
--
2.52.0

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.80.0.post8+gf2b5fcbc.
The file was generated using packit 0.100.2.post1.dev4+g31a74ebd.

View file

@ -1,26 +1,23 @@
Name: alot
Version: 0.10
Release: 3%{?dist}
Version: 0.12
Release: 2%{?dist}
Summary: Experimental terminal MUA based on notmuch mail
License: GPLv3+
# Automatically converted from old format: GPLv3+ - review is highly recommended.
License: GPL-3.0-or-later
URL: https://github.com/pazz/alot
Source0: %{url}/archive/%{version}/%{version}.tar.gz
Patch0: 0001-don-t-depend-on-weird-python-magic-distribution.patch
Source: %{url}/archive/refs/tags/v%{version}.tar.gz
Patch: 0001-replace-python-magic-with-file-magic.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# needed to generate manpages
BuildRequires: python3-sphinx
BuildRequires: make
Requires: python3-notmuch >= 0.27
Requires: python3-urwid >= 1.3.0
Requires: python3-urwidtrees >= 1.0
Requires: python3-twisted >= 10.2.0
Requires: python3-magic
Requires: python3-configobj >= 4.7.0
Requires: python3-gpg
BuildRequires: python3-standard-mailcap
BuildRequires: make
BuildRequires: procps-ng
Requires: python3-standard-mailcap
%description
alot makes use of existing solutions where possible: It does not fetch, send or
@ -30,23 +27,84 @@ its display. You are responsible for automatic initial tagging.
%prep
%autosetup -p1
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_buildrequires
%build
%py3_build
%make_build man SPHINX_BUILD=sphinx-build-3 PYTHON=python3 -C docs
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%make_build man PYTHONPATH=${PYTHONPATH}:$RPM_BUILD_DIR/alot-%{version} SPHINX_BUILD=sphinx-build-3 PYTHON=python3 -C docs
%install
%py3_install
%pyproject_install
%pyproject_save_files -l alot
install -Dpm0644 docs/build/man/alot.1* -t %{buildroot}%{_mandir}/man1/
install -Dpm0644 alot/defaults/* -t %{buildroot}/%{python3_sitelib}/alot/defaults/
%files
%check
%pyproject_check_import
%{py3_test_envvars} %{python3} -m unittest
%files -f %{pyproject_files}
%license COPYING
%doc NEWS README.md
%{python3_sitelib}/alot/
%{python3_sitelib}/alot-*.egg-info/
%{_bindir}/alot
%{_mandir}/man1/alot.1*
%{python3_sitelib}/alot/defaults
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sat Dec 6 2025 Dick Marinus <dick@mrns.nl> - 0.12-1
- New upstream release 0.12
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.11-12
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.11-11
- Rebuilt for Python 3.14.0rc2 bytecode
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.11-9
- Rebuilt for Python 3.14
* Thu May 29 2025 Dick Marinus <dick@mrns.nl> - 0.11-8
- Python 3.14 fixes
* Tue Apr 29 2025 Dick Marinus <dick@mrns.nl> - 0.11-7
- Replace python-magic with file-magic
* Mon Apr 28 2025 Dick Marinus <dick@mrns.nl> - 0.11-6
- Add unittest
* Tue Apr 15 2025 Tomas Tomecek <ttomecek@redhat.com> - 0.11-5
- Depend on python-standard-mailcap
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Nov 18 2024 Miro Hrončok <mhroncok@redhat.com> - 0.11-3
- Run import check during the build
* Thu Nov 14 2024 Tomas Tomecek <ttomecek@redhat.com> - 0.11-2
- Install defaults
* Mon Aug 26 2024 Packit <hello@packit.dev> - 0.11-1
- New upstream release 0.11
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 0.10-6
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.10-4
- Rebuilt for Python 3.13
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (0.10.tar.gz) = b07c77f3a21c9670fb14a760d036ce0e14678dd6ae75585cc929f97db5126a7dbb7f411244d317fea2913692afca6ff9f439f9dbbf047acffb8fcea2ebef7056
SHA512 (v0.12.tar.gz) = 927dafd3a6f36ecd09be407384f676d9f89840c2a436e9f762627bf0073aba6a27363061257f32911f6e60a065e00b022e97799525e63568896ea07d3c2832f1