Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-imbox for openSUSE:Factory checked in at 2026-04-25 21:38:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-imbox (Old) and /work/SRC/openSUSE:Factory/.python-imbox.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imbox" Sat Apr 25 21:38:07 2026 rev:8 rq:1349222 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-imbox/python-imbox.changes 2025-05-30 17:26:02.661037571 +0200 +++ /work/SRC/openSUSE:Factory/.python-imbox.new.11940/python-imbox.changes 2026-04-25 21:43:04.131750006 +0200 @@ -1,0 +2,32 @@ +Sat Apr 25 09:11:33 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.10.1: + * Force push a pypi release + * Support for Python 3.11, 3.12 & 3.13 + * Drop support for Python 3.7, 3.8 & 3.9 + * Switch to pytest + * Switch to uv + * Add query uid__range + * fix substring search of subjects in Gmail, add support for + some Gmail extended IMAP + * Support filter message by mail body + * Attachments now getting Content-ID + * Update parser.py in + https://github.com/martinrusev/imbox/pull/192 + * Avoiding the error - ValueError: invalid literal for int() + with base 10 + * fix false exception on unknown encoding #202 + * Fix binascii.Error: Incorrect padding + * Preserve timezone info in date parsing + * Fix ignored headers + unnecessary major version check + * Local variable 'filename' value is not used + * Date handling improvement and various fixes + * Fix crash when semicolon present in attachment name + * Base64 decode param and recognize single file mails as + attachment + * [Fix] parse_attachment > cannot parse name + * Should first get content charset then str_encode with + charset. + * fix append and join of param parts + +------------------------------------------------------------------- Old: ---- imbox-0.9.8.tar.gz New: ---- imbox-0.10.1-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-imbox.spec ++++++ --- /var/tmp/diff_new_pack.X6KR7D/_old 2026-04-25 21:43:04.735774649 +0200 +++ /var/tmp/diff_new_pack.X6KR7D/_new 2026-04-25 21:43:04.735774649 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-imbox # -# Copyright (c) 2025 SUSE LLC +# 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 @@ -16,22 +16,37 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + Name: python-imbox -Version: 0.9.8 +Version: 0.10.1 Release: 0 Summary: Python IMAP for Human beings License: MIT Group: Development/Languages/Python URL: https://github.com/martinrusev/imbox -Source: https://files.pythonhosted.org/packages/source/i/imbox/imbox-%{version}.tar.gz +Source: https://github.com/martinrusev/imbox/archive/refs/tags/%{version}.tar.gz#/imbox-%{version}-gh.tar.gz BuildRequires: %{python_module chardet} BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet +BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -45,11 +60,25 @@ %install %pyproject_install +%python_clone -a %{buildroot}%{_bindir}/imbox %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + +%pre +%python_libalternatives_reset_alternative imbox + +%post +%python_install_alternative imbox + +%postun +%python_uninstall_alternative imbox + %files %{python_files} -%doc README.rst +%doc CHANGELOG.md README.md %license LICENSE +%python_alternative %{_bindir}/imbox %{python_sitelib}/imbox %{python_sitelib}/imbox-%{version}*-info
