Accepting request 820819 from devel:languages:python
- 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/request/show/820819 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-freetype-py?expand=0&rev=5
This commit is contained in:
commit
bf4d0c6408
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76383bb3e59efa6ce0be1797ed70207d7d1e421611df3aceb269673c4a77c2cc
|
||||
size 594209
|
3
freetype-py-2.2.0.zip
Normal file
3
freetype-py-2.2.0.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf43716bc5246cd54a64b2238b942e8dc80b79eda92f814c720286fa6fab387a
|
||||
size 827463
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 06:40:43 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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 <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user