Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-magic for
openSUSE:Factory checked in at 2022-02-17 23:39:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-magic (Old)
and /work/SRC/openSUSE:Factory/.python-python-magic.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-magic"
Thu Feb 17 23:39:59 2022 rev:7 rq:955449 version:0.4.25
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-magic/python-python-magic.changes
2021-10-23 00:50:22.141121367 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-magic.new.1958/python-python-magic.changes
2022-02-17 23:40:52.403700742 +0100
@@ -1,0 +2,42 @@
+Wed Feb 16 17:32:56 UTC 2022 - Matej Cepl <[email protected]>
+
+- Update to 0.4.25:
+ - Support file 5.41.
+ - Support os.PathLike types
+ - Fix compat mode handling with empty mime string
+ - Cleanup library loading
+ - add py.typed sentinal per https://www.python.org/dev/peps/pep-0561/#p???
+ - Check for cookie attribute before trying to delete it
+ - Revert "Fix bug in Magic when destructor called too early"
+ - Fix yet another import error
+ - add more doc pointers for compat mode, and enable PendingDeprecationW???
+ - restore python 2.7 to setup.py, to preserve back compat
+ - document libmagic compat layer
+ - prefix add_compat with an underscore to avoid namespace pollution
+ - remove from_open_file, since its duplicative with from_descriptor and???
+ - move typing stubs next to implementation
+ - temorarily remove dropped support for python2
+ - Revert "Remove Python2 from the tests"
+ - Merge branch 'master' into redo-compat
+ - Remove Python2 from the tests
+ - Add support for Python 3.9
+ - Added support for magic_descriptor routine
+ - Handle undecodable characters in description
+ - Handle libmagic versions that don't support MAGIC_EXTENSION
+ - MAGIC_EXTENSION support (file --extension)
+ - support changed mime types in test
+ - Fix tests with file 5.39
+ - add docker tests for archlinux
+ - Fallback to default behavior on setparam failure
+ - Fix bug in Magic when destructor called too early
+ - sheep Create basic stub file for magic.py
+ - various cleanups proposed by debian folks
+ - Merge in compatability mode with libmagic
+ - add from_open_file to match libmagic binding featureset
+- Remove upstreamed patches:
+ - fix-test-tumbleweed.patch
+ - fix-test.patch
+ - fix-4-file-5.40.patch
+ - fix-support-file-5.41.patch
+
+-------------------------------------------------------------------
Old:
----
0.4.18.tar.gz
fix-4-file-5.40.patch
fix-support-file-5.41.patch
fix-test-tumbleweed.patch
fix-test.patch
New:
----
0.4.25.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-magic.spec ++++++
--- /var/tmp/diff_new_pack.1admEN/_old 2022-02-17 23:40:53.167700736 +0100
+++ /var/tmp/diff_new_pack.1admEN/_new 2022-02-17 23:40:53.171700736 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-python-magic
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,30 +19,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-python-magic
-Version: 0.4.18
+Version: 0.4.25
Release: 0
Summary: File type identification using libmagic
License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/ahupp/python-magic
Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz
-#PATCH-FIX-OPENSUSE fix-test.patch -- adapt file outputs to opensuse
-Patch0: fix-test.patch
-Patch1: fix-test-tumbleweed.patch
-Patch2: fix-4-file-5.40.patch
-Patch3: fix-support-file-5.41.patch
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: file
BuildRequires: python-rpm-macros
Requires: file
-# python-python-magic and python-magic use the same namespace (ie. filename)
-# and have a very similar functionality but are incompatible to each other.
-# https://github.com/ahupp/python-magic/issues/21
-Conflicts: python-magic
+Provides: python-magic
BuildArch: noarch
%ifpython2
-Conflicts: %{oldpython}-magic
+Provides: %{oldpython}-magic
%endif
%python_subpackages
@@ -53,19 +46,6 @@
%prep
%setup -q -n python-magic-%{version}
-%if 0%{?suse_version} > 1500
-# Tumbleweed
-%patch1 -p1
-%elif 0%{?sle_version} < 150300 && 0%{?is_opensuse}
-# Leap 15.2 and older
-%patch0 -p1
-%endif
-%if %{?pkg_vcmp:%{pkg_vcmp file >= 5.40}}%{!?pkg_vcmp:0}
-%patch2 -p0
-%endif
-%if %{?pkg_vcmp:%{pkg_vcmp file >= 5.41}}%{!?pkg_vcmp:0}
-%patch3 -p1
-%endif
%build
%python_build
@@ -81,8 +61,7 @@
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/magic.py*
-%pycache_only %{python_sitelib}/__pycache__/magic*.py*
-%{python_sitelib}/python_magic-%{version}-py*.egg-info
+%{python_sitelib}/magic
+%{python_sitelib}/python_magic-%{version}*-info
%changelog
++++++ 0.4.18.tar.gz -> 0.4.25.tar.gz ++++++
++++ 2110 lines of diff (skipped)