Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-identify for openSUSE:Factory
checked in at 2025-08-13 16:29:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-identify (Old)
and /work/SRC/openSUSE:Factory/.python-identify.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-identify"
Wed Aug 13 16:29:33 2025 rev:22 rq:1299082 version:2.6.13
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-identify/python-identify.changes
2025-06-03 19:10:48.906107026 +0200
+++
/work/SRC/openSUSE:Factory/.python-identify.new.1085/python-identify.changes
2025-08-13 16:31:38.679230650 +0200
@@ -1,0 +2,11 @@
+Tue Aug 12 13:48:11 UTC 2025 - Nico Krapp <[email protected]>
+
+- migrate to libalternatives
+
+-------------------------------------------------------------------
+Tue Aug 12 12:39:47 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 2.6.13
+ * Added C++ 'ipp' and 'tpp' file extensions
+
+-------------------------------------------------------------------
Old:
----
identify-2.6.12.tar.gz
New:
----
identify-2.6.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-identify.spec ++++++
--- /var/tmp/diff_new_pack.yUgUOm/_old 2025-08-13 16:31:39.359259076 +0200
+++ /var/tmp/diff_new_pack.yUgUOm/_new 2025-08-13 16:31:39.363259244 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-identify
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,15 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
%{?sle15_python_module_pythons}
Name: python-identify
-Version: 2.6.12
+Version: 2.6.13
Release: 0
Summary: File identification library for Python
License: MIT
@@ -33,8 +39,13 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if %{with libalternatives}
+Requires: alts
+BuildRequires: alts
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
+%endif
Recommends: python-editdistance
BuildArch: noarch
%python_subpackages
@@ -57,6 +68,10 @@
%check
%pytest
+%pre
+# removing old update-alternatives entries
+%python_libalternatives_reset_alternative identify-cli
+
%post
%python_install_alternative identify-cli
++++++ identify-2.6.12.tar.gz -> identify-2.6.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/identify-2.6.12/.pre-commit-config.yaml
new/identify-2.6.13/.pre-commit-config.yaml
--- old/identify-2.6.12/.pre-commit-config.yaml 2025-05-23 22:37:37.000000000
+0200
+++ new/identify-2.6.13/.pre-commit-config.yaml 2025-08-09 21:34:48.000000000
+0200
@@ -14,16 +14,16 @@
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/reorder-python-imports
- rev: v3.14.0
+ rev: v3.15.0
hooks:
- id: reorder-python-imports
args: [--py39-plus, --add-import, 'from __future__ import annotations']
- repo: https://github.com/asottile/add-trailing-comma
- rev: v3.1.0
+ rev: v3.2.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/pyupgrade
- rev: v3.19.1
+ rev: v3.20.0
hooks:
- id: pyupgrade
args: [--py39-plus]
@@ -32,11 +32,11 @@
hooks:
- id: autopep8
- repo: https://github.com/PyCQA/flake8
- rev: 7.2.0
+ rev: 7.3.0
hooks:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.15.0
+ rev: v1.17.1
hooks:
- id: mypy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/identify-2.6.12/identify/extensions.py
new/identify-2.6.13/identify/extensions.py
--- old/identify-2.6.12/identify/extensions.py 2025-05-23 22:37:37.000000000
+0200
+++ new/identify-2.6.13/identify/extensions.py 2025-08-09 21:34:48.000000000
+0200
@@ -121,6 +121,7 @@
'ino': {'text', 'ino', 'c++'},
'inx': {'text', 'xml', 'inx'},
'ipynb': {'text', 'jupyter', 'json'},
+ 'ipp': {'text', 'c++'},
'ixx': {'text', 'c++'},
'j2': {'text', 'jinja'},
'jade': {'text', 'jade'},
@@ -264,6 +265,7 @@
'thrift': {'text', 'thrift'},
'tiff': {'binary', 'image', 'tiff'},
'toml': {'text', 'toml'},
+ 'tpp': {'text', 'c++'},
'ts': {'text', 'ts'},
'tsv': {'text', 'tsv'},
'tsx': {'text', 'tsx'},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/identify-2.6.12/setup.cfg
new/identify-2.6.13/setup.cfg
--- old/identify-2.6.12/setup.cfg 2025-05-23 22:37:37.000000000 +0200
+++ new/identify-2.6.13/setup.cfg 2025-08-09 21:34:48.000000000 +0200
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.6.12
+version = 2.6.13
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown