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
This commit is contained in:
Dirk Mueller 2021-02-23 10:10:39 +00:00 committed by Git OBS Bridge
parent 88d43fe980
commit 561fd60fe0
4 changed files with 35 additions and 11 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Feb 22 15:44:45 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <dmueller@suse.com>

View File

@ -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

3
ufoLib2-0.11.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94f8b1d59c64d41318c7874694c394ea6fc171fd7132b49a4c9b9c66f22f9620
size 118203

View File

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