Accepting request 1142082 from home:dirkmueller:Factory
- update to 4.47.2:
* [merge] Improve help message and add standard command line
options
* [otlLib] Pass ttFont to name.addName in buildStatTable
* [featureVars] Re-use FeatureVariationRecord's when possible
- always obsolete fonttools. We have switched to python311 stack
in SLE15 and need to get the obsoletes back
to prevent XML External Entity (XXE) attacks (9f61271):
thus not participating in CFF2 delta computation, similarly to how
binary wheel is available for the given platform, e.g. pypy).
- update to 4.47.0:
* [varLib.models] New API for VariationModel: ``getMasterScalars``
and ``interpolateFromValuesAndScalars``.
* [varLib.interpolatable] Various bugfixes and rendering
improvements. In particular, add a Summary page in the front,
and an Index and Table-of-Contents in the back. Change the
page size to Letter.
* [Docs/designspaceLib] Defined a new ``public.fontInfo`` lib key,
not used anywhere yet (#3358).
* [featureVars] Allow to register the same set of substitution
rules to multiple features. The ``addFeatureVariations``
function can now take a list of featureTags; similarly, the
lib key 'com.github.fonttools.varLib.featureVarsFeatureTag' can
now take a comma-separateed string of feature tags (e.g.
"salt,ss01") instead of a single tag (#3360).
* [featureVars] Don't overwrite GSUB FeatureVariations, but append
new records to it for features which are not already there. But
raise ``VarLibError`` if the feature tag already has feature
OBS-URL: https://build.opensuse.org/request/show/1142082
OBS-URL: https://build.opensuse.org/package/show/M17N/python-FontTools?expand=0&rev=50
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-FontTools
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@@ -24,10 +24,9 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-FontTools%{psuffix}
|
||||
Version: 4.47.0
|
||||
Version: 4.47.2
|
||||
Release: 0
|
||||
Summary: Suite of Tools and Libraries for Manipulating Fonts
|
||||
License: MIT AND OFL-1.1
|
||||
@@ -45,7 +44,7 @@ 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
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-Brotli >= 1.1.0
|
||||
Recommends: python-freetype-py >= 2.4.0
|
||||
Recommends: python-lxml >= 4.9.3
|
||||
@@ -63,10 +62,8 @@ BuildRequires: %{python_module Brotli >= 1.1.0}
|
||||
BuildRequires: %{python_module fs >= 2.4.16}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
||||
Obsoletes: fonttools < %{version}-%{release}
|
||||
Provides: fonttools = %{version}-%{release}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -129,7 +126,7 @@ rm -r %{buildroot}%{_mandir}
|
||||
%python_alternative %{_bindir}/fonttools
|
||||
%python_alternative %{_mandir}/man1/ttx.1%{?ext_man}
|
||||
%{python_sitelib}/fontTools
|
||||
%{python_sitelib}/fonttools-%{version}*-info
|
||||
%{python_sitelib}/fonttools-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user