Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-html2text for
openSUSE:Factory checked in at 2025-07-08 15:27:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-html2text (Old)
and /work/SRC/openSUSE:Factory/.python-html2text.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-html2text"
Tue Jul 8 15:27:56 2025 rev:27 rq:1290927 version:2025.4.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes
2024-03-19 17:32:27.908139575 +0100
+++
/work/SRC/openSUSE:Factory/.python-html2text.new.7373/python-html2text.changes
2025-07-08 15:28:01.971721135 +0200
@@ -1,0 +2,19 @@
+Mon Jul 7 02:18:35 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 2025.4.15:
+ * Upgrade Build Tools to Lates
+ * Support tri-backquote style code block and fix ordered list indent
+ * Fix invalid character reference parsing
+- Correct parsing error in changes file.
+
+-------------------------------------------------------------------
+Wed Jun 4 13:09:18 UTC 2025 - Nico Krapp <[email protected]>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------
+Tue May 27 16:19:15 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
@@ -336 +354,0 @@
-
Old:
----
html2text-2024.2.26.tar.gz
New:
----
html2text-2025.4.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-html2text.spec ++++++
--- /var/tmp/diff_new_pack.J1jW7S/_old 2025-07-08 15:28:02.735753076 +0200
+++ /var/tmp/diff_new_pack.J1jW7S/_new 2025-07-08 15:28:02.735753076 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-html2text
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,25 @@
#
+%bcond_without libalternatives
%define upname html2text
-%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-%{upname}
-Version: 2024.2.26
+Version: 2025.4.15
Release: 0
Summary: Python script for turning HTML into Markdown text
License: GPL-3.0-only
-Group: Development/Languages/Python
URL: https://github.com/Alir3z4/html2text/
Source:
https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires(post): update-alternatives
-Requires(preun): update-alternatives
+Requires: alts
Provides: html2text = %{version}-%{release}
Obsoletes: html2text < %{version}-%{release}
BuildArch: noarch
@@ -51,29 +53,27 @@
rm -r *.egg-info/
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/%{upname}
-%post
-%python_install_alternative html2text
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative html2text
-%postun
-%python_uninstall_alternative html2text
+# post and postun macro call is not needed with only libalternatives
%check
-# otherwise python 3.6 does not automatically select UTF-8 for console output
-export LANG=en_US.UTF-8
%pytest
%files %{python_files}
%license COPYING
%doc README.md AUTHORS.rst ChangeLog.rst
%python_alternative %{_bindir}/%{upname}
-%{python_sitelib}/*
-%{python_sitelib}/*.egg-info/
+%{python_sitelib}/html2text
+%{python_sitelib}/html2text-%{version}.dist-info
++++++ html2text-2024.2.26.tar.gz -> html2text-2025.4.15.tar.gz ++++++
++++ 1888 lines of diff (skipped)