From 853a8389b1f169b90f865c9505ca37a91d09d232cd895d1d4dc402c55f458d1d Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 14 Jul 2020 06:45:30 +0000 Subject: [PATCH] - Update to 2.2.0: * Expose FT_Outline_Decompose() as Outline.decompose() * examples/glyph-vector-decompose.py: Use larger size, and with FT_LOAD_NO_BITMAP, to avoid loading embedded bitmaps * Glyph.get_cbox: unbreak * Improve variable font support with examples * Update embedded FreeType and HarfBuzz in wheels to latest versions. * Drop Python 2 support and 32 bit wheels. - Update URL to use zip - Update BuildRequires - Drop bcond test now that upstream no longer supports Python 2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freetype-py?expand=0&rev=10 --- freetype-py-2.1.0.post1.tar.gz | 3 --- freetype-py-2.2.0.zip | 3 +++ python-freetype-py.changes | 15 +++++++++++++++ python-freetype-py.spec | 18 ++++++++---------- 4 files changed, 26 insertions(+), 13 deletions(-) delete mode 100644 freetype-py-2.1.0.post1.tar.gz create mode 100644 freetype-py-2.2.0.zip diff --git a/freetype-py-2.1.0.post1.tar.gz b/freetype-py-2.1.0.post1.tar.gz deleted file mode 100644 index 62ec7cb..0000000 --- a/freetype-py-2.1.0.post1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76383bb3e59efa6ce0be1797ed70207d7d1e421611df3aceb269673c4a77c2cc -size 594209 diff --git a/freetype-py-2.2.0.zip b/freetype-py-2.2.0.zip new file mode 100644 index 0000000..c8a9c39 --- /dev/null +++ b/freetype-py-2.2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf43716bc5246cd54a64b2238b942e8dc80b79eda92f814c720286fa6fab387a +size 827463 diff --git a/python-freetype-py.changes b/python-freetype-py.changes index 6b91143..b453f75 100644 --- a/python-freetype-py.changes +++ b/python-freetype-py.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jul 14 06:40:43 UTC 2020 - Steve Kowalik + +- Update to 2.2.0: + * Expose FT_Outline_Decompose() as Outline.decompose() + * examples/glyph-vector-decompose.py: Use larger size, and with + FT_LOAD_NO_BITMAP, to avoid loading embedded bitmaps + * Glyph.get_cbox: unbreak + * Improve variable font support with examples + * Update embedded FreeType and HarfBuzz in wheels to latest versions. + * Drop Python 2 support and 32 bit wheels. +- Update URL to use zip +- Update BuildRequires +- Drop bcond test now that upstream no longer supports Python 2 + ------------------------------------------------------------------- Thu Sep 12 12:08:16 UTC 2019 - Tomáš Chvátal diff --git a/python-freetype-py.spec b/python-freetype-py.spec index 05e2a9f..40477f5 100644 --- a/python-freetype-py.spec +++ b/python-freetype-py.spec @@ -1,7 +1,7 @@ # # spec file for package python-freetype-py # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Upstream performs tests only for Python 3.5 -%bcond_with test +%define skip_python2 1 Name: python-freetype-py -Version: 2.1.0.post1 +Version: 2.2.0 Release: 0 Summary: Freetype python bindings License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/rougier/freetype-py -Source: https://files.pythonhosted.org/packages/source/f/freetype-py/freetype-py-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/freetype-py/freetype-py-%{version}.zip +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module toml} BuildRequires: fdupes +BuildRequires: freetype2 BuildRequires: python-rpm-macros +BuildRequires: unzip Requires: freetype2 BuildArch: noarch -%if %{with test} -BuildRequires: freetype2 -%endif %python_subpackages %description @@ -53,10 +53,8 @@ sed -i -e '/^#!\//, 1d' freetype/ft_structs.py freetype/ft_types.py %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %pytest tests -%endif %files %{python_files} %license LICENSE.txt