From f501b0840bd1aebfbd4211551d6a129ca6aec7fa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 14:59:41 +0000 Subject: [PATCH 1/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index f60b47f..c6e6528 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2024.2.26 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} # Automatically converted from old format: GPLv3 - review is highly recommended. @@ -80,6 +80,9 @@ popd %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 2024.2.26-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Jul 29 2024 Miroslav Suchý - 2024.2.26-4 - convert license to SPDX From c7224efcec35b985d36e4cfcf01162514a3528f8 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:00:27 +0200 Subject: [PATCH 2/9] update to v2025.4.15 --- .gitignore | 1 + python-html2text.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 76ccc63..3ea4577 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ html2text-2.38.py /html2text-2020.1.16.tar.gz /html2text-2024.2.25.tar.gz /html2text-2024.2.26.tar.gz +/html2text-2025.4.15.tar.gz diff --git a/python-html2text.spec b/python-html2text.spec index c6e6528..3e39c79 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -6,13 +6,12 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} -Version: 2024.2.26 -Release: 5%{?dist} +Version: 2025.4.15 +Release: 1%{?dist} Summary: %{common_sum} -# Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only -URL: http://alir3z4.github.io/%{upname} +URL: https://github.com/Alir3z4/%{upname}/ Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz BuildArch: noarch @@ -38,17 +37,22 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} -%{__rm} -fr *.egg-info +#%{__rm} -fr *.egg-info + +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install +%pyproject_install +%pyproject_save_files html2text + %{__mkdir} -p %{buildroot}%{_mandir}/man1 -%py3_install %{__mv} -f %{buildroot}%{_bindir}/%{upname} %{buildroot}%{_bindir}/python3-%{upname} export PYTHONPATH="%{buildroot}%{python3_sitelib}" help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname} @@ -63,10 +67,12 @@ popd %check +%pyproject_check_import %{__python3} -m pytest +%pytest %{_builddir} -%files -n python3-%{upname} +%files -n python3-%{upname} -f %{pyproject_files} %license AUTHORS.* COPYING %doc README.* ChangeLog.* PKG-INFO %{_bindir}/python3-%{upname} @@ -75,8 +81,6 @@ popd %{_mandir}/man1/python3-%{upname}.1* %{_mandir}/man1/%{upname}.1* %{_mandir}/man1/%{name}.1* -%{python3_sitelib}/%{upname} -%{python3_sitelib}/%{upname}-%{version}-py%{python3_version}.egg-info %changelog diff --git a/sources b/sources index c2e523f..03c28dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html2text-2024.2.26.tar.gz) = 8304dbc0a8d06ea1bbed4edccbbcb817423bab7acbaa9db84c6c9c3e74a8d1daec148cb591b76b7d5865224ea424b388316c867bda4b07b19ed91272b7beff88 +SHA512 (html2text-2025.4.15.tar.gz) = 2f12e293bb8aa87b4d03d3ec4698e8e8bf013acc9f69b25a2c7a1aacca9a8aaf646747c56a47bc15dae0601ecdc119ba4818daca933d4be7fa52f234c672d9f3 From 4925990bc967ca8156006701018e48a90a8fb134 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:24:02 +0200 Subject: [PATCH 3/9] fix license --- python-html2text.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 3e39c79..df7b73a 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -10,7 +10,7 @@ Version: 2025.4.15 Release: 1%{?dist} Summary: %{common_sum} -License: GPL-3.0-only +License: GPL-3.0-or-later URL: https://github.com/Alir3z4/%{upname}/ Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz From a87babb75b5b6b16e05b82ec780f752646430a40 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:33:12 +0200 Subject: [PATCH 4/9] cleanup --- python-html2text.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index df7b73a..a71a6f8 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -37,7 +37,6 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} -#%{__rm} -fr *.egg-info %generate_buildrequires %pyproject_buildrequires From 2d7afc8619ef9bf9bc3bf9db3d15344844169dd8 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 01:08:13 +0200 Subject: [PATCH 5/9] catch up changelog --- python-html2text.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-html2text.spec b/python-html2text.spec index a71a6f8..9275138 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -83,6 +83,9 @@ popd %changelog +* Wed May 21 2025 David Kaufmann - 2025.4.15-1 +- Update to 2025.4.15 + * Sat Jan 18 2025 Fedora Release Engineering - 2024.2.26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From acb38288261db47577f04abf74218e3d43e364e9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 22:47:44 +0200 Subject: [PATCH 6/9] Rebuilt for Python 3.14 --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 9275138..15b597f 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* Mon Jun 02 2025 Python Maint - 2025.4.15-2 +- Rebuilt for Python 3.14 + * Wed May 21 2025 David Kaufmann - 2025.4.15-1 - Update to 2025.4.15 From 8c8381846ee5cfa32e045d8a1b146e2fa9a67d87 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 08:15:28 +0000 Subject: [PATCH 7/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 15b597f..6942134 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2025.4.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 2025.4.15-2 - Rebuilt for Python 3.14 From afe6eb6fa8e97d21c48f449f759691ce2f4f7d46 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:52:44 +0200 Subject: [PATCH 8/9] Rebuilt for Python 3.14.0rc2 bytecode --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 6942134..090b388 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* Fri Aug 15 2025 Python Maint - 2025.4.15-4 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 2025.4.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From daa7120b41ad7712a47d96260fda0a16d60ce331 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:26:07 +0200 Subject: [PATCH 9/9] Rebuilt for Python 3.14.0rc3 bytecode --- python-html2text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-html2text.spec b/python-html2text.spec index 090b388..45f9598 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -7,7 +7,7 @@ also happens to be valid Markdown (a text-to-HTML format). Name: python-%{upname} Version: 2025.4.15 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_sum} License: GPL-3.0-or-later @@ -83,6 +83,9 @@ popd %changelog +* Fri Sep 19 2025 Python Maint - 2025.4.15-5 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 2025.4.15-4 - Rebuilt for Python 3.14.0rc2 bytecode