diff --git a/freetype-py-1.1.tar.gz b/freetype-py-1.1.tar.gz deleted file mode 100644 index 8ecae18..0000000 --- a/freetype-py-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e078cac1f85a92f4e191d2f7f0d675a1b1a3b5db31817c483fd9792293187be5 -size 157371 diff --git a/freetype-py-2.1.0.tar.gz b/freetype-py-2.1.0.tar.gz new file mode 100644 index 0000000..24637ab --- /dev/null +++ b/freetype-py-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9145d4502be26b757c2e3209bc705c957885787edf6ce28661a7d559ffc466f +size 594198 diff --git a/python-freetype-py.changes b/python-freetype-py.changes index f29d73a..85ac516 100644 --- a/python-freetype-py.changes +++ b/python-freetype-py.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jun 7 13:55:56 UTC 2019 - Marketa Calabkova + +- Update to version 2.1.0 + * Freetype-py can now install the library with a bundled FreeType binary. + * Update bundled FreeType to 2.10.0 + * Update bundled HarfBuzz to 2.3.1 + * Add Python 3.7 builds to PyPI + * FT_Face can now be instantiated with a file path or a byte + stream from memory + * Fix bug where outline and bitmap could be off by one grid unit + in one of the examples, when extrema did not have on-curve points. + ------------------------------------------------------------------- Tue Dec 4 12:48:12 UTC 2018 - Matej Cepl diff --git a/python-freetype-py.spec b/python-freetype-py.spec index 78bcb6f..3027105 100644 --- a/python-freetype-py.spec +++ b/python-freetype-py.spec @@ -1,7 +1,7 @@ # # spec file for package python-freetype-py # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Upstream performs tests only for Python 3.5 %bcond_with test Name: python-freetype-py -Version: 1.1 +Version: 2.1.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 +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,7 +55,7 @@ sed -i -e '/^#!\//, 1d' freetype/ft_structs.py freetype/ft_types.py %if %{with test} %check -%python_exec setup.py test +%pytest tests %endif %files %{python_files}