15
0
forked from pool/python-defcon

Accepting request 941186 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/941186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-defcon?expand=0&rev=6
This commit is contained in:
2021-12-17 22:54:30 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 10 deletions

View File

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

3
defcon-0.9.0.zip Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 16 10:22:57 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.9.0
* Makes glyph.image object “sticky”, just like lib objects (#352)
* Adds a .tempLib to font, layer, and glyph that is available for
the life of the object and is never saved with the ufo. (#367)
- Skip python36: FontTools now dropped it.
-------------------------------------------------------------------
Tue Mar 23 19:23:58 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@@ -16,32 +16,40 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-defcon
Version: 0.8.1
Version: 0.9.0
Release: 0
Summary: A set of flexible objects for representing UFO data
Summary: A set of UFO based objects for use in font editing applications
License: MIT
URL: http://code.typesupply.com
URL: https://github.com/robotools/defcon
Source: https://files.pythonhosted.org/packages/source/d/defcon/defcon-%{version}.zip
BuildRequires: %{python_module fs}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-FontTools >= 4.10.2
# SECTION fonttools[ufo,unicode]
Requires: python-fs >= 2.2
%if 0%{?python_version_nodots} < 39
Requires: python-unicodedata2 >= 13.0.0
%endif
# /SECTION
Suggests: python-fontPens >= 0.1.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module FontTools >= 4.10.2}
BuildRequires: %{python_module fs >= 2.2}
BuildRequires: %{python_module pytest >= 3.0.3}
BuildRequires: %{python_module unicodedata2 >= 13.0.0 if %python-base < 3.9}
# /SECTION
%python_subpackages
%description
A set of flexible objects for representing UFO data.
A set of UFO based objects optimized for use in font editing applications.
%prep
%setup -q -n defcon-%{version}
@@ -60,6 +68,7 @@ sed -i -e '1{\,^#!%{_bindir}/env python,d}' Lib/defcon/test/tools/test_unicodeTo
%files %{python_files}
%doc README.rst
%license License.txt
%{python_sitelib}/*
%{python_sitelib}/defcon
%{python_sitelib}/defcon-%{version}*-info
%changelog