Accepting request 708381 from home:mcalabkova:branches:devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/708381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freetype-py?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2019-06-07 14:36:17 +00:00 committed by Git OBS Bridge
parent ca5c1e2c62
commit 0db9aeb80e
4 changed files with 21 additions and 6 deletions

View File

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

3
freetype-py-2.1.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jun 7 13:55:56 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <mcepl@suse.com>

View File

@ -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}