From 7657288abf6c86396c33a49275b92d924bd4eb82d69cc51756e998b3e5270292 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 29 Sep 2024 20:03:22 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=202.5.1:=20=20=20*=20fix=20bina?= =?UTF-8?q?ry=20wheel=20pypi=20upload=20in=20v2.5.0.=20-=20update=20to=202?= =?UTF-8?q?.5.0:=20=20=20*=20Add=20missing=20build-backend=20to=20pyprojec?= =?UTF-8?q?t.toml=20=20=20*=20freetype.Face.=5F=5Fdel=5F=5F:=20check=20fir?= =?UTF-8?q?st=20if=20FT=5FFace=5FDone=20has=20been=20=20=20=20=20set=20to?= =?UTF-8?q?=20None=20=20=20*=20Ot=20svg=20support=20=20=20*=20Google=20fon?= =?UTF-8?q?t=20ot=20svg=20update=20=20=20*=20Basic=20colrv1=20support=20?= =?UTF-8?q?=20=20*=20Fix=20PyInstaller=20hook=20=20=20*=20use=20custom=20P?= =?UTF-8?q?EP517=20build=20backend=20to=20require=20cmake=20=20=20=20=20co?= =?UTF-8?q?nditionally=20=20=20*=20Update=20to=20latest=20freetype=20and?= =?UTF-8?q?=20harfbuzz=20=20=20*=20Fix=20wrong=20enum=20name=20in=20Face.g?= =?UTF-8?q?et=5Ffstype()=20=20=20*=20Ft=20encoding=20fix=20=20=20*=20API?= =?UTF-8?q?=20for=20Unicode=20Variation=20Sequences,=20from=20=20=20=20=20?= =?UTF-8?q?https://freetype.org/freety=E2=80=A6=20=20=20*=20Fix=20bbox=20c?= =?UTF-8?q?alculation=20in=20hello-world=20example=20=20=20*=20Trusted=20p?= =?UTF-8?q?ublisher=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freetype-py?expand=0&rev=19 --- .gitattributes | 23 +++++++++ .gitignore | 1 + freetype-py-2.4.0.zip | 3 ++ freetype-py-2.5.1.zip | 3 ++ python-freetype-py.changes | 102 +++++++++++++++++++++++++++++++++++++ python-freetype-py.spec | 65 +++++++++++++++++++++++ 6 files changed, 197 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 freetype-py-2.4.0.zip create mode 100644 freetype-py-2.5.1.zip create mode 100644 python-freetype-py.changes create mode 100644 python-freetype-py.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/freetype-py-2.4.0.zip b/freetype-py-2.4.0.zip new file mode 100644 index 0000000..02ff2cd --- /dev/null +++ b/freetype-py-2.4.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ad81195d2f8f339aba61700cebfbd77defad149c51f59b75a2a5e37833ae12e +size 832493 diff --git a/freetype-py-2.5.1.zip b/freetype-py-2.5.1.zip new file mode 100644 index 0000000..7e578d2 --- /dev/null +++ b/freetype-py-2.5.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfe2686a174d0dd3d71a9d8ee9bf6a2c23f5872385cf8ce9f24af83d076e2fbd +size 851738 diff --git a/python-freetype-py.changes b/python-freetype-py.changes new file mode 100644 index 0000000..f3ad8fa --- /dev/null +++ b/python-freetype-py.changes @@ -0,0 +1,102 @@ +------------------------------------------------------------------- +Sun Sep 29 20:02:00 UTC 2024 - Dirk Müller + +- update to 2.5.1: + * fix binary wheel pypi upload in v2.5.0. +- update to 2.5.0: + * Add missing build-backend to pyproject.toml + * freetype.Face.__del__: check first if FT_Face_Done has been + set to None + * Ot svg support + * Google font ot svg update + * Basic colrv1 support + * Fix PyInstaller hook + * use custom PEP517 build backend to require cmake + conditionally + * Update to latest freetype and harfbuzz + * Fix wrong enum name in Face.get_fstype() + * Ft encoding fix + * API for Unicode Variation Sequences, from + https://freetype.org/freety… + * Fix bbox calculation in hello-world example + * Trusted publisher fix + +------------------------------------------------------------------- +Thu Jan 4 16:14:59 UTC 2024 - Matej Cepl + +- Clean up the SPEC file. + +------------------------------------------------------------------- +Thu Jan 4 12:45:19 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu Dec 7 20:40:20 UTC 2023 - Dirk Müller + +- update to 2.4.0: + * Update bundled dependencies (HarfBuzz 7.2.0 and FreeType + 2.13.0) + * Use leftside bearings to layout bitmaps by @HinTak to fix + #161 + * Correct copyright and description in examples/hello-vf.py + * Fix `FT_Glyph_Get_CBox()`/`FT_Outline_Get_CBox()` return type + treatment by @HinTak to fix #160 + +------------------------------------------------------------------- +Wed Sep 28 15:40:11 UTC 2022 - Yogalakshmi Arunachalam + +- update to 2.3.0 + * Add build rules for ARM 32 and 64 bits (#134). + * Add ARM64 builds for PyPI (#139) + * Add aarch64 builds for PyPI (#144) + * Update bundled FreeType version to 2.12.0 and add support for SDF rendering (#141, #148) + * Update bundled HarfBuzz to 4.2.1 (#148) + * Declare Python 3.7 the minimum supported version (#148) + * Fix bindings for FT_Outline (#142) + * Expose binding to FT_Outline_EmboldenXY (#143) + * Fix a Python 2 era print statement into a function call (#147) + +------------------------------------------------------------------- +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 + +- Update to 2.1.0.post1: + * no changelog given + +------------------------------------------------------------------- +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 + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Tue Nov 7 18:23:47 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-freetype-py.spec b/python-freetype-py.spec new file mode 100644 index 0000000..f3a2838 --- /dev/null +++ b/python-freetype-py.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-freetype-py +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-freetype-py +Version: 2.5.1 +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}.zip +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module toml} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: freetype2 +BuildRequires: python-rpm-macros +BuildRequires: unzip +Requires: freetype2 +BuildArch: noarch +%python_subpackages + +%description +Freetype python provides bindings for the FreeType library. +Only the high-level API is bound. + +%prep +%autosetup -p1 -n freetype-py-%{version} +sed -i -e '/^#!\//, 1d' freetype/ft_structs.py freetype/ft_types.py + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest tests + +%files %{python_files} +%license LICENSE.txt +%doc README.rst +%{python_sitelib}/freetype +%{python_sitelib}/freetype_py-%{version}*-info + +%changelog