17
0

4 Commits

Author SHA256 Message Date
8c0a178bee Accepting request 1328120 from M17N
OBS-URL: https://build.opensuse.org/request/show/1328120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FontTools?expand=0&rev=27
2026-01-21 13:11:11 +00:00
0fd5fb26f3 - Update to 4.61.1 (bsc#1254366)
* [pointPen] Allow reverseFlipped parameter of DecomposingPointPen to take a ReverseFlipped enum value
  * [filterPen] Added ContourFilterPointPen, base pen for buffered contour operations, and
    OnCurveStartPointPen filter to ensure contours start with an on-curve point
  * [varLib.main]: SECURITY Only use basename(vf.filename) to prevent path traversal attacks when running
    fonttools varLib command, or code which invokes fonttools.varLib.main(). Fixes CVE-2025-66034
  * [feaLib] Sort BaseLangSysRecords by tag
  * [instancer] Support --remove-overlaps for fonts with CFF2 table
  * [unicodedata] Update to Unicode 17
  * More changes, see upstream changelog

OBS-URL: https://build.opensuse.org/package/show/M17N/python-FontTools?expand=0&rev=58
2026-01-19 16:11:49 +00:00
81f747179e Accepting request 1301396 from M17N
OBS-URL: https://build.opensuse.org/request/show/1301396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FontTools?expand=0&rev=26
2025-08-27 19:33:54 +00:00
46055b5f88 - 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

OBS-URL: https://build.opensuse.org/package/show/M17N/python-FontTools?expand=0&rev=56
2025-08-26 09:30:30 +00:00
4 changed files with 72 additions and 17 deletions

Binary file not shown.

3
fonttools-4.61.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7dfe8416ee774c0d70e086e08021dfa4e2284a89777e6ade1a6434e4157f7ab3
size 4004669

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Jan 19 15:31:56 UTC 2026 - Markéta Machová <mmachova@suse.com>
- Update to 4.61.1 (bsc#1254366)
* [pointPen] Allow reverseFlipped parameter of DecomposingPointPen to take a ReverseFlipped enum value
* [filterPen] Added ContourFilterPointPen, base pen for buffered contour operations, and
OnCurveStartPointPen filter to ensure contours start with an on-curve point
* [varLib.main]: SECURITY Only use basename(vf.filename) to prevent path traversal attacks when running
fonttools varLib command, or code which invokes fonttools.varLib.main(). Fixes CVE-2025-66034
* [feaLib] Sort BaseLangSysRecords by tag
* [instancer] Support --remove-overlaps for fonts with CFF2 table
* [unicodedata] Update to Unicode 17
* More changes, see upstream changelog
-------------------------------------------------------------------
Tue Aug 19 14:08:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 25 07:44:50 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com> Thu Jul 25 07:44:50 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-FontTools # spec file for package python-FontTools
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,9 +24,14 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-FontTools%{psuffix} Name: python-FontTools%{psuffix}
Version: 4.53.1 Version: 4.61.1
Release: 0 Release: 0
Summary: Suite of Tools and Libraries for Manipulating Fonts Summary: Suite of Tools and Libraries for Manipulating Fonts
License: MIT AND OFL-1.1 License: MIT AND OFL-1.1
@@ -41,10 +46,6 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip 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-Brotli >= 1.1.0
Recommends: python-freetype-py >= 2.4.0 Recommends: python-freetype-py >= 2.4.0
Recommends: python-lxml Recommends: python-lxml
@@ -53,17 +54,23 @@ Recommends: python-reportlab
Recommends: python-scipy >= 1.11.4 Recommends: python-scipy >= 1.11.4
Recommends: python-sympy >= 1.12 Recommends: python-sympy >= 1.12
Recommends: python-ufoLib2 >= 0.16.0 Recommends: python-ufoLib2 >= 0.16.0
Recommends: python-unicodedata2 >= 15.1.0 Recommends: python-unicodedata2 >= 17.0.0
Recommends: python-zopfli >= 0.2.3 Recommends: python-zopfli >= 0.1.4
Provides: python-fonttools = %{version}-%{release} Provides: python-fonttools = %{version}-%{release}
BuildArch: noarch
%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} Obsoletes: fonttools < %{version}-%{release}
Provides: 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 pytest}
%endif
%python_subpackages %python_subpackages
%description %description
@@ -99,7 +106,11 @@ export LANG=en_US.UTF-8
# We need these files to be installed for tests, but now we need them removed # We need these files to be installed for tests, but now we need them removed
# not to confuse %%files checks # not to confuse %%files checks
%python_expand rm -r %{buildroot}%{$python_sitelib} %python_expand rm -r %{buildroot}%{$python_sitelib}
%if %{with libalternatives}
rm -r %{buildroot}%{_datadir}/libalternatives
%else
rm -r %{buildroot}%{_sysconfdir}/alternatives rm -r %{buildroot}%{_sysconfdir}/alternatives
%endif
rm -r %{buildroot}%{_bindir} rm -r %{buildroot}%{_bindir}
rm -r %{buildroot}%{_mandir} rm -r %{buildroot}%{_mandir}
%endif %endif
@@ -117,6 +128,12 @@ rm -r %{buildroot}%{_mandir}
%python_uninstall_alternative pyftmerge %python_uninstall_alternative pyftmerge
%python_uninstall_alternative fonttools %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} %files %{python_files}
%license LICENSE LICENSE.external %license LICENSE LICENSE.external
%doc README.rst NEWS.rst %doc README.rst NEWS.rst