Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mediafile for
openSUSE:Factory checked in at 2023-04-25 21:54:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mediafile (Old)
and /work/SRC/openSUSE:Factory/.python-mediafile.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mediafile"
Tue Apr 25 21:54:47 2023 rev:4 rq:1082794 version:0.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mediafile/python-mediafile.changes
2023-01-03 15:05:12.726456192 +0100
+++
/work/SRC/openSUSE:Factory/.python-mediafile.new.1533/python-mediafile.changes
2023-04-25 21:54:47.495670159 +0200
@@ -1,0 +2,8 @@
+Tue Apr 25 06:53:17 UTC 2023 - [email protected]
+
+- drop python 2 support
+- added patches
+ fix https://github.com/beetbox/mediafile/issues/68
+ + python-mediafile-pyupgrade.patch
+
+-------------------------------------------------------------------
New:
----
python-mediafile-pyupgrade.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mediafile.spec ++++++
--- /var/tmp/diff_new_pack.KOsGfz/_old 2023-04-25 21:54:47.955672846 +0200
+++ /var/tmp/diff_new_pack.KOsGfz/_new 2023-04-25 21:54:47.959672869 +0200
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-mediafile
Version: 0.11.0
@@ -25,16 +24,17 @@
License: MIT
URL: https://github.com/beetbox/mediafile
Source:
https://files.pythonhosted.org/packages/source/m/mediafile/mediafile-%{version}.tar.gz
+# https://github.com/beetbox/mediafile/issues/68
+Patch0: python-mediafile-pyupgrade.patch
BuildRequires: %{python_module base >= 3.7}
-BuildRequires: %{python_module flit >= 2}
+BuildRequires: %{python_module flit-core >= 2}
BuildRequires: %{python_module mutagen >= 1.45}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six >= 1.9}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mutagen >= 1.45
-Requires: python-six >= 1.9
BuildArch: noarch
%python_subpackages
@@ -42,7 +42,7 @@
Handles low-level interfacing for files' tags. Wraps Mutagen to
%prep
-%setup -q -n mediafile-%{version}
+%autosetup -p1 -n mediafile-%{version}
%build
%pyproject_wheel
@@ -52,7 +52,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pyunittest -v
+%pytest -v
%files %{python_files}
%doc README.rst
++++++ python-mediafile-pyupgrade.patch ++++++
++++ 1702 lines (skipped)