From 97fc0910f2f62f80c27dc954415c64d359cf0d9051328e9d584ac89979f608ba Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 17 Dec 2021 10:36:54 +0000 Subject: [PATCH] Accepting request 940848 from home:bnavigator:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. OBS-URL: https://build.opensuse.org/request/show/940848 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defcon?expand=0&rev=12 --- defcon-0.8.1.zip | 3 --- defcon-0.9.0.zip | 3 +++ python-defcon.changes | 9 +++++++++ python-defcon.spec | 23 ++++++++++++++++------- 4 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 defcon-0.8.1.zip create mode 100644 defcon-0.9.0.zip diff --git a/defcon-0.8.1.zip b/defcon-0.8.1.zip deleted file mode 100644 index fe88f84..0000000 --- a/defcon-0.8.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:410adb6bd18996054ad82b0654aea2bc0a334a9ff7007fe983ec6f3f39f449ea -size 518659 diff --git a/defcon-0.9.0.zip b/defcon-0.9.0.zip new file mode 100644 index 0000000..2f31bbf --- /dev/null +++ b/defcon-0.9.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:140f51da51e9630a9fa11dfd34376c4e29785fdb0bddc2e371df5b36bec17b76 +size 519289 diff --git a/python-defcon.changes b/python-defcon.changes index 7fb2448..0f54dce 100644 --- a/python-defcon.changes +++ b/python-defcon.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Dec 16 10:22:57 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-defcon.spec b/python-defcon.spec index 4133066..98905d5 100644 --- a/python-defcon.spec +++ b/python-defcon.spec @@ -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