From 561fd60fe08b706363bdef0007ebdf5bca83b9aea00e7c1e76f1b6f14097c18a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Feb 2021 10:10:39 +0000 Subject: [PATCH] Accepting request 874378 from home:bnavigator:branches:devel:languages:python - update to v0.11.1 * Component.move: apply delta to offset directly rather than translating, which fixes moving of flipped components. * Typing: add GlyphSet protocol. More elegant than referring to Layer and Glyph explicitly, which nicely avoids circular imports. * Some small typing fixes to circumvent microsoft/pyright#1297. * Add APIs Font.object_lib(obj) and Glyph.object_lib(obj) to explicitly handle the new public.objectLibs mechanism of attaching libs to anchors, guidelines, contours, components and points. - Reinstate python36 build. FontTools does not need scipy anymore. OBS-URL: https://build.opensuse.org/request/show/874378 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ufoLib2?expand=0&rev=8 --- python-ufoLib2.changes | 16 ++++++++++++++++ python-ufoLib2.spec | 24 ++++++++++++++++-------- ufoLib2-0.11.1.zip | 3 +++ ufoLib2-0.8.0.zip | 3 --- 4 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 ufoLib2-0.11.1.zip delete mode 100644 ufoLib2-0.8.0.zip diff --git a/python-ufoLib2.changes b/python-ufoLib2.changes index 4adea6a..0468207 100644 --- a/python-ufoLib2.changes +++ b/python-ufoLib2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Feb 22 15:44:45 UTC 2021 - Ben Greiner + +- update to v0.11.1 + * Component.move: apply delta to offset directly rather than + translating, which fixes moving of flipped components. + * Typing: add GlyphSet protocol. More elegant than referring to + Layer and Glyph explicitly, which nicely avoids circular + imports. + * Some small typing fixes to circumvent microsoft/pyright#1297. + * Add APIs Font.object_lib(obj) and Glyph.object_lib(obj) to + explicitly handle the new public.objectLibs mechanism of + attaching libs to anchors, guidelines, contours, components and + points. +- Reinstate python36 build. FontTools does not need scipy anymore. + ------------------------------------------------------------------- Sat Feb 13 10:17:06 UTC 2021 - Dirk Müller diff --git a/python-ufoLib2.spec b/python-ufoLib2.spec index 7b08ce9..0f0e6f0 100644 --- a/python-ufoLib2.spec +++ b/python-ufoLib2.spec @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python36 1 Name: python-ufoLib2 -Version: 0.8.0 +Version: 0.11.1 Release: 0 Summary: UFO font processing library License: Apache-2.0 @@ -31,16 +30,25 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-FontTools >= 4.13.0 -Requires: python-attrs >= 19.3.0 -Suggests: python-lxml -Suggests: python-typing_extensions -BuildArch: noarch -# SECTION test requirements +# SECTION install_requires BuildRequires: %{python_module FontTools >= 4.0.0} BuildRequires: %{python_module attrs >= 19.2.0} +# via fonttools[ufo] +BuildRequires: %{python_module fs >= 2.2.0} +BuildRequires: %{python_module typing_extensions if %python-base < 3.8} +Requires: python-FontTools >= 4.0.0 +Requires: python-attrs >= 19.2.0 +Requires: python-fs >= 2.2.0 +%if 0%{?python_version_nodots} < 38 +Requires: python-typing_extensions +%endif +# /SECTION +# SECTION test requirements +BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest} # /SECTION +Suggests: python-lxml +BuildArch: noarch %python_subpackages %description diff --git a/ufoLib2-0.11.1.zip b/ufoLib2-0.11.1.zip new file mode 100644 index 0000000..0e92e67 --- /dev/null +++ b/ufoLib2-0.11.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94f8b1d59c64d41318c7874694c394ea6fc171fd7132b49a4c9b9c66f22f9620 +size 118203 diff --git a/ufoLib2-0.8.0.zip b/ufoLib2-0.8.0.zip deleted file mode 100644 index fdb8f57..0000000 --- a/ufoLib2-0.8.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ab84170f13ca2622103cb24f43db73a1107d41656c65fe65e70bd0c9a5edf69 -size 82448