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 2021-02-25 18:26:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-FontTools (Old)
and /work/SRC/openSUSE:Factory/.python-FontTools.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FontTools"
Thu Feb 25 18:26:55 2021 rev:7 rq:873070 version:4.19.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-FontTools/python-FontTools.changes
2020-08-25 09:36:21.500126808 +0200
+++
/work/SRC/openSUSE:Factory/.python-FontTools.new.2378/python-FontTools.changes
2021-02-25 18:27:00.210163572 +0100
@@ -1,0 +2,110 @@
+Fri Feb 12 13:48:21 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 4.19.1
+ * [woff2] An initial off-curve point with an overlap flag now
+ stays an off-curve point after compression.
+- Changes in 4.19.0
+ * [codecs] Handle errors parameter different from 'strict' for
+ the custom extended mac encodings (#2137, #2132).
+ * [featureVars] Raise better error message when a script is
+ missing the required default language system (#2154).
+ * [COLRv1] Avoid abrupt change caused by rounding
+ PaintRadialGradient.c0 when the start circle almost touches
+ the end circle's perimeter (#2148).
+ * [COLRv1] Support building unlimited lists of paints as 255-ary
+ trees of PaintColrLayers tables (#2153).
+ * [subset] Prune redundant format-12 cmap subtables when all
+ non-BMP characters are dropped (#2146).
+ * [basePen] Raise MissingComponentError instead of bare KeyError
+ when a referenced component is missing (#2145).
+- Only 'Recommend:' optional extra requirements (Some are not
+ available in TW python36 flavor anymore)
+- Don't require python36-scipy for testing. (NEP 29)
+
+-------------------------------------------------------------------
+Thu Jan 14 16:26:38 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 4.18.2:
+ - [COLRv1] Implemented ``PaintTranslate`` paint format (#2129).
+ - [varLib.cff] Fixed unbound local variable error (#1787).
+ - [otlLib] Don't crash when creating OpenType class definitions if some
glyphs
+ occur more than once (#2125).
+ - [colorLib] Speed optimization for ``LayerV1ListBuilder`` (#2119).
+ - [mutator] Fixed missing tab in ``interpolate_cff2_metrics`` (0957dc7a).
+ - [COLRv1] Update to latest draft: added ``PaintRotate`` and ``PaintSkew``
(#2118).
+ - [woff2] Support new ``brotlicffi`` bindings for PyPy (#2117).
+ - [glifLib] Added ``expectContentsFile`` parameter to ``GlyphSet``, for use
when
+ reading existing UFOs, to comply with the specification stating that a
+ ``contents.plist`` file must exist in a glyph set (#2114).
+ - [subset] Allow ``LangSys`` tags in ``--layout-scripts`` option (#2112).
For example:
+ ``--layout-scripts=arab.dflt,arab.URD,latn``; this will keep
``DefaultLangSys``
+ and ``URD`` language for ``arab`` script, and all languages for ``latn``
script.
+ - [varLib.interpolatable] Allow UFOs to be checked; report open paths, non
existant
+ glyphs; add a ``--json`` option to produce a machine-readable list of
+ incompatibilities
+ - [pens] Added ``QuartzPen`` to create ``CGPath`` from glyph outlines on
macOS.
+ Requires pyobjc (#2107).
+ - [feaLib] You can export ``FONTTOOLS_LOOKUP_DEBUGGING=1`` to enable feature
file
+ debugging info stored in ``Debg`` table (#2106).
+ - [otlLib] Build more efficient format 1 and format 2 contextual lookups
whenever
+ possible (#2101).
+ - [colorLib] Fixed regression in 4.17.0 when building COLR v0 table; when
color
+ layers are stored in UFO lib plist, we can't distinguish tuples from lists
so
+ we need to accept either types (e5439eb9, googlefonts/ufo2ft/issues#426).
+ - [colorLib/otData] Updated to latest draft ``COLR`` v1 spec (#2092).
+ - [svgLib] Fixed parsing error when arc commands' boolean flags are not
separated
+ by space or comma (#2094).
+ - [varLib] Interpret empty non-default glyphs as 'missing', if the default
glyph is
+ not empty (#2082).
+ - [feaLib.builder] Only stash lookup location for ``Debg`` if
``Builder.buildLookups_``
+ has cooperated (#2065, #2067).
+ - [varLib] Fixed bug in VarStore optimizer (#2073, #2083).
+ - [varLib] Add designspace lib key for custom feavar feature tag (#2080).
+ - Add HashPointPen adapted from psautohint. With this pen, a hash value of a
glyph
+ can be computed, which can later be used to detect glyph changes (#2005).
+ - [varLib.instancer] Fixed ``TypeError`` exception when instantiating a VF
with
+ a GSUB table 1.1 in which ``FeatureVariations`` attribute is present but
set to
+ ``None`` -- indicating that optional ``FeatureVariations`` is missing
(#2077).
+ - [glifLib] Make ``x`` and ``y`` attributes of the ``point`` element required
+ even when validation is turned off, and raise a meaningful ``GlifLibError``
+ message when that happens (#2075).
+ - [removeOverlaps] Added new module and ``removeOverlaps`` function that
merges
+ overlapping contours and components in TrueType glyphs. It requires the
+ `skia-pathops <https://github.com/fonttools/skia-pathops>`__ module.
+ Note that removing overlaps invalidates the TrueType hinting (#2068).
+ - [varLib.instancer] Added ``--remove-overlaps`` command-line option.
+ The ``overlap`` option in ``instantiateVariableFont`` now takes an
``OverlapMode``
+ enum: 0: KEEP_AND_DONT_SET_FLAGS, 1: KEEP_AND_SET_FLAGS (default), and 2:
REMOVE.
+ The latter is equivalent to calling ``removeOverlaps`` on the generated
static
+ instance. The option continues to accept ``bool`` value for backward
compatibility.
+ - [plistlib] Added typing annotations to plistlib module. Set up mypy static
+ typechecker to run automatically on CI (#2061).
+ - [ttLib] Implement private ``Debg`` table, a reverse-DNS namespaced JSON
dict.
+ - [feaLib] Optionally add an entry into the ``Debg`` table with the original
+ lookup name (if any), feature name / script / language combination (if
any),
+ and original source filename and line location. Annotate the ttx output for
+ a lookup with the information from the Debg table (#2052).
+ - [sfnt] Disabled checksum checking by default in ``SFNTReader`` (#2058).
+ - [Docs] Document ``mtiLib`` module (#2027).
+ - [varLib.interpolatable] Added checks for contour node count and operation
type
+ of each node (#2054).
+ - [ttLib] Added API to register custom table packer/unpacker classes (#2055).
+ - [feaLib] Allow anonymous classes in LookupFlags definitions (#2037).
+ - [Docs] Better document DesignSpace rules processing order (#2041).
+ - [ttLib] Fixed 21-year old bug in ``maxp.maxComponentDepth`` calculation
(#2044,
+ #2045).
+ - [varLib.models] Fixed misspelled argument name in CLI entry point
(81d0042a).
+ - [subset] When subsetting GSUB v1.1, fixed TypeError by checking whether the
+ optional FeatureVariations table is present (e63ecc5b).
+ - [Snippets] Added snippet to show how to decompose glyphs in a TTF (#2030).
+ - [otlLib] Generate GSUB type 5 and GPOS type 7 contextual lookups where
appropriate
+ (#2016).
+ - [feaLib/otlLib] Moved lookup subtable builders from feaLib to otlLib;
refactored
+ some common code (#2004, #2007).
+ - [docs] Document otlLib module (#2009).
+ - [glifLib] Fixed bug with some UFO .glif filenames clashing on
case-insensitive
+ filesystems (#2001, #2002).
+ - [colorLib] Updated COLRv1 implementation following changes in the draft
spec:
+ (#2008, googlefonts/colr-gradients-spec#24).
+
+-------------------------------------------------------------------
Old:
----
fonttools-4.13.0.zip
New:
----
fonttools-4.19.1.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-FontTools.spec ++++++
--- /var/tmp/diff_new_pack.6y9DE8/_old 2021-02-25 18:27:00.814163965 +0100
+++ /var/tmp/diff_new_pack.6y9DE8/_new 2021-02-25 18:27:00.818163967 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-FontTools
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,16 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
+%bcond_without test
%define psuffix -test
%else
%define psuffix %{nil}
+%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-FontTools%{psuffix}
-Version: 4.13.0
+Version: 4.19.1
Release: 0
Summary: Suite of Tools and Libraries for Manipulating Fonts
License: MIT AND OFL-1.1
@@ -38,34 +40,32 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
-Requires: python-Brotli >= 1.0.1
-Requires: python-fs >= 2.4.11
-Requires: python-lxml >= 4.0
-Requires: python-scipy >= 1.5.1
-Requires: python-sympy
-Requires: python-unicodedata2 >= 13.0.0
-Requires: python-zopfli >= 0.1.6
+Recommends: python-Brotli >= 1.0.1
+Recommends: python-fs >= 2.4.11
+Recommends: python-lxml >= 4.0
+Recommends: python-scipy >= 1.5.1
+Recommends: python-sympy
+Recommends: python-unicodedata2 >= 13.0.0
+Recommends: python-zopfli >= 0.1.6
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-reportlab
BuildArch: noarch
-%if "%{flavor}" == "test"
-BuildRequires: zip
-# SECTION test requirements
+%if %{with test}
BuildRequires: %{python_module Brotli >= 1.0.1}
BuildRequires: %{python_module fs >= 2.4.11}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module scipy >= 1.5.1}
BuildRequires: %{python_module sympy}
BuildRequires: %{python_module ufoLib2 >= 0.6.2}
BuildRequires: %{python_module zopfli >= 0.1.6}
+# TW does not have python36-scipy anymore (NEP 29). Tests are automatically
skipped.
+BuildRequires: %{python_module scipy >= 1.5.1 if (%python-base without
python36-base)}
%endif
-# /SECTION
-%ifpython3
-Obsoletes: fonttools < %{version}
-Provides: fonttools = %{version}
-Provides: python-fonttools = %{version}
+%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
+Obsoletes: fonttools < %{version}-%{release}
+Provides: fonttools = %{version}-%{release}
%endif
+Provides: python-fonttools = %{version}-%{release}
%python_subpackages
%description
@@ -97,24 +97,13 @@
rm %{buildroot}%{_bindir}/fonttools
%endif
-%if "%{flavor}" == "test"
+%if %{with test}
%check
-ufodir='Tests/ufoLib/testdata/TestFont1 (UFO3).ufo'
-if [ ! -e "${ufodir}z" ]; then
- # they forgot to ship Tests/ufoLib/testdata/TestFont1 (UFO3).ufoz
- pushd $(dirname "$ufodir")
- name=$(basename "$ufodir")
- zip -r "${name}z" "$name"
- popd
-else
- echo "this can be removed (including zip buildrequires)"
- exit 1
-fi
export LANG=en_US.UTF-8
-export PYTHONDONTWRITEBYTECODE=1
-%pytest
+%pytest -ra
+%endif
-%else
+%if "%{flavor}" != "test"
%post
%python_install_alternative ttx ttx.1
%python_install_alternative pyftsubset
@@ -128,12 +117,12 @@
%files %{python_files}
%license LICENSE LICENSE.external
%doc README.rst NEWS.rst
-%{python_sitelib}/*
%python_alternative %{_bindir}/pyftmerge
%python_alternative %{_bindir}/pyftsubset
%python_alternative %{_bindir}/ttx
%python_alternative %{_mandir}/man1/ttx.1%{?ext_man}
-
+%{python_sitelib}/fontTools
+%{python_sitelib}/fonttools-%{version}*-info
%endif
%changelog