Accepting request 1132147 from devel:languages:python

- update to 0.16.0:
  * Added `tempLib` property to Font, Layer and Glyph (like
    defcon's)
  * raise appropriate error when extras not installed
  * Bring guideline invariants up to spec
  * Made lazily loaded ufoLib2.Font objects pickleable by
    automatically un-lazifying them in custom `__getstate__`
    method (e0f3d6af).
  * Added optional support for de/serializing all ufoLib2 objects
    from/to JSON or MessagePack.
  * This uses ``cattrs`` custom converters to
    unstructure/structure ufoLib2 objects to/from basic
    serializable data structures.
  * See docstring in ``ufoLib2.serde::serde`` or #230 for
    examples.

- Update to version 0.13.1
 * Component.move: apply delta to offset directly rather than
 * Typing: add GlyphSet protocol. More elegant than referring to
   Layer and Glyph explicitly, which nicely avoids circular
 * 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
- skip python 3.6 build (no FontTools as it needs scipy)

OBS-URL: https://build.opensuse.org/request/show/1132147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ufoLib2?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-12-09 21:53:36 +00:00 committed by Git OBS Bridge
commit f7218f2fd9
4 changed files with 32 additions and 13 deletions

View File

@ -1,7 +1,26 @@
-------------------------------------------------------------------
Fri Dec 8 16:43:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.16.0:
* Added `tempLib` property to Font, Layer and Glyph (like
defcon's)
* raise appropriate error when extras not installed
* Bring guideline invariants up to spec
* Made lazily loaded ufoLib2.Font objects pickleable by
automatically un-lazifying them in custom `__getstate__`
method (e0f3d6af).
* Added optional support for de/serializing all ufoLib2 objects
from/to JSON or MessagePack.
* This uses ``cattrs`` custom converters to
unstructure/structure ufoLib2 objects to/from basic
serializable data structures.
* See docstring in ``ufoLib2.serde::serde`` or #230 for
examples.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 11 16:42:36 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Tue Oct 11 16:42:36 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.13.1 - Update to version 0.13.1
* Hotfix release to support cattrs v1.10.0 and set it as the minimum required version. It changed the name of a "omit if default" * Hotfix release to support cattrs v1.10.0 and set it as the minimum required version. It changed the name of a "omit if default"
parameter that is relevant for our converters. parameter that is relevant for our converters.
@ -28,22 +47,22 @@ Thu Dec 16 11:13:17 UTC 2021 - Ben Greiner <code@bnavigator.de>
Mon Feb 22 15:44:45 UTC 2021 - Ben Greiner <code@bnavigator.de> Mon Feb 22 15:44:45 UTC 2021 - Ben Greiner <code@bnavigator.de>
- update to v0.11.1 - update to v0.11.1
* Component.move: apply delta to offset directly rather than * Component.move: apply delta to offset directly rather than
translating, which fixes moving of flipped components. translating, which fixes moving of flipped components.
* Typing: add GlyphSet protocol. More elegant than referring to * Typing: add GlyphSet protocol. More elegant than referring to
Layer and Glyph explicitly, which nicely avoids circular Layer and Glyph explicitly, which nicely avoids circular
imports. imports.
* Some small typing fixes to circumvent microsoft/pyright#1297. * Some small typing fixes to circumvent microsoft/pyright#1297.
* Add APIs Font.object_lib(obj) and Glyph.object_lib(obj) to * Add APIs Font.object_lib(obj) and Glyph.object_lib(obj) to
explicitly handle the new public.objectLibs mechanism of explicitly handle the new public.objectLibs mechanism of
attaching libs to anchors, guidelines, contours, components and attaching libs to anchors, guidelines, contours, components and
points. points.
- Reinstate python36 build. FontTools does not need scipy anymore. - Reinstate python36 build. FontTools does not need scipy anymore.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 13 10:17:06 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Feb 13 10:17:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
- skip python 3.6 build (no FontTools as it needs scipy) - skip python 3.6 build (no FontTools as it needs scipy)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 23 12:03:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Thu Jul 23 12:03:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-ufoLib2 # spec file for package python-ufoLib2
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# 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
@ -20,7 +20,7 @@
%define skip_python2 1 %define skip_python2 1
%define skip_python36 1 %define skip_python36 1
Name: python-ufoLib2 Name: python-ufoLib2
Version: 0.13.1 Version: 0.16.0
Release: 0 Release: 0
Summary: UFO font processing library Summary: UFO font processing library
License: Apache-2.0 License: Apache-2.0

View File

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

3
ufoLib2-0.16.0.tar.gz Normal file
View File

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