Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-mimeparse for
openSUSE:Factory checked in at 2024-09-10 21:14:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-mimeparse (Old)
and /work/SRC/openSUSE:Factory/.python-python-mimeparse.new.17570 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-mimeparse"
Tue Sep 10 21:14:45 2024 rev:10 rq:1199891 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-mimeparse/python-python-mimeparse.changes
2023-04-22 21:58:24.488480254 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-mimeparse.new.17570/python-python-mimeparse.changes
2024-09-10 21:16:00.448972025 +0200
@@ -1,0 +2,11 @@
+Tue Sep 10 13:29:06 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 2.0.0:
+ * `python-mimeparse` brings support for CPython 3.13 (by
+ addressing the removal of the `cgi` module), and drops
+ support for Python 3.7. Also included are packaging, tooling,
+ and CI improvements. `python-mimeparse` is otherwise a stable
+ and mature project that hopefully does not need much active
+ development.
+
+-------------------------------------------------------------------
Old:
----
python-mimeparse-1.6.0.tar.gz
New:
----
python_mimeparse-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-mimeparse.spec ++++++
--- /var/tmp/diff_new_pack.57qCot/_old 2024-09-10 21:16:01.052997175 +0200
+++ /var/tmp/diff_new_pack.57qCot/_new 2024-09-10 21:16:01.056997343 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-mimeparse
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,20 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
%{?sle15_python_module_pythons}
Name: python-python-mimeparse
-Version: 1.6.0
+Version: 2.0.0
Release: 0
Summary: Basic functions for parsing and matching mime-type names
License: MIT
URL: https://github.com/dbtsai/python-mimeparse
-Source:
https://files.pythonhosted.org/packages/source/p/python-mimeparse/python-mimeparse-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/p/python-mimeparse/python_mimeparse-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
-%ifpython2
-Obsoletes: %{oldpython}-mimeparse < 0.1.4
-Provides: %{oldpython}-mimeparse = %{version}
-%endif
%python_subpackages
%description
@@ -42,13 +38,13 @@
the HTTP specification [RFC 2616] for a complete explanation.
%prep
-%setup -q -n python-mimeparse-%{version}
+%autosetup -p1 -n python_mimeparse-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,5 +55,5 @@
%doc README.rst
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/mimeparse.py*
-%{python_sitelib}/python_mimeparse-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/python_mimeparse-%{version}.dist-info