Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-FontTools for
openSUSE:Factory checked in at 2025-08-27 21:33:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-FontTools (Old)
and /work/SRC/openSUSE:Factory/.python-FontTools.new.30751 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FontTools"
Wed Aug 27 21:33:54 2025 rev:26 rq:1301396 version:4.59.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-FontTools/python-FontTools.changes
2024-08-02 17:25:55.597814096 +0200
+++
/work/SRC/openSUSE:Factory/.python-FontTools.new.30751/python-FontTools.changes
2025-08-27 21:34:32.390332909 +0200
@@ -1,0 +2,24 @@
+Tue Aug 19 14:08:50 UTC 2025 - Markéta Machová <[email protected]>
+
+- Update to 4.59.1
+ * [varLib] Lets not add mac names if the rest of name doesn't have them
+ * [cffLib.specializer] Add cmdline to specialize a CFF2 font
+ * [varLib.interpolatable] Support CFF2 fonts
+ * Python 3.13 support
+ * [TupleVariation] Optimize for loading speed, not size
+ * [varStore] Sort the input todo list with the same sorting key used for the
opimizer's output
+ * [ttLib.__main__] Improvements around the -t flag
+ * [varLib.hvar] New module to add HVAR table to the font
+ * Drop Python 3.8, require 3.9+
+ * [HVAR, VVAR] Prune unused regions when using a direct mapping
+ * [GVAR] Add support for new GVAR table
+ * [feaLib] Remove duplicates from class pair pos classes instead of raising
an error
+ * [voltLib] Add some missing functionality and fixes to voltLib and VoltToFea
+ * Removed hard-dependency on pyfilesystem2 (fs package) from fonttools[ufo]
extra. This is
+ replaced by the fontTools.misc.filesystem package, a stdlib-only, drop-in
replacement for the
+ subset of the pyfilesystem2's API used by fontTools.ufoLib
+ * [xmlWriter] Replace illegal XML characters (e.g. control or
non-characters) with "?" when dumping to ttx
+ * More changes, see upstream changelog
+- Convert to libalternatives on SLE-16-based and newer systems
+
+-------------------------------------------------------------------
Old:
----
fonttools-4.53.1.tar.gz
New:
----
fonttools-4.59.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-FontTools.spec ++++++
--- /var/tmp/diff_new_pack.M9ikba/_old 2025-08-27 21:34:32.962356826 +0200
+++ /var/tmp/diff_new_pack.M9ikba/_new 2025-08-27 21:34:32.962356826 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-FontTools
#
-# Copyright (c) 2024 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
@@ -24,9 +24,14 @@
%define psuffix %{nil}
%bcond_with test
%endif
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
%{?sle15_python_module_pythons}
Name: python-FontTools%{psuffix}
-Version: 4.53.1
+Version: 4.59.1
Release: 0
Summary: Suite of Tools and Libraries for Manipulating Fonts
License: MIT AND OFL-1.1
@@ -41,12 +46,10 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
-# some packages should require fonttools[ufo] but expect fs to be pulled in by
default.
-Requires: python-fs >= 2.2.0
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
Recommends: python-Brotli >= 1.1.0
Recommends: python-freetype-py >= 2.4.0
+# some packages should require fonttools[ufo], but fs is not a hard dependency
anymore.
+Recommends: python-fs >= 2.2.0
Recommends: python-lxml
Recommends: python-munkres >= 1.1.4
Recommends: python-reportlab
@@ -56,14 +59,21 @@
Recommends: python-unicodedata2 >= 15.1.0
Recommends: python-zopfli >= 0.2.3
Provides: python-fonttools = %{version}-%{release}
+Obsoletes: fonttools < %{version}-%{release}
+Provides: fonttools = %{version}-%{release}
BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%if %{with test}
BuildRequires: %{python_module Brotli >= 1.1.0}
BuildRequires: %{python_module fs >= 2.4.16}
BuildRequires: %{python_module pytest}
%endif
-Obsoletes: fonttools < %{version}-%{release}
-Provides: fonttools = %{version}-%{release}
%python_subpackages
%description
@@ -99,7 +109,11 @@
# We need these files to be installed for tests, but now we need them removed
# not to confuse %%files checks
%python_expand rm -r %{buildroot}%{$python_sitelib}
+%if %{with libalternatives}
+rm -r %{buildroot}%{_datadir}/libalternatives
+%else
rm -r %{buildroot}%{_sysconfdir}/alternatives
+%endif
rm -r %{buildroot}%{_bindir}
rm -r %{buildroot}%{_mandir}
%endif
@@ -117,6 +131,12 @@
%python_uninstall_alternative pyftmerge
%python_uninstall_alternative fonttools
+%pre
+%python_libalternatives_reset_alternative ttx
+%python_libalternatives_reset_alternative pyftsubset
+%python_libalternatives_reset_alternative pyftmerge
+%python_libalternatives_reset_alternative fonttools
+
%files %{python_files}
%license LICENSE LICENSE.external
%doc README.rst NEWS.rst
++++++ fonttools-4.53.1.tar.gz -> fonttools-4.59.1.tar.gz ++++++
++++ 41880 lines of diff (skipped)