Files
python-uharfbuzz/python-uharfbuzz.spec
Markéta Machová 54c0712833 Accepting request 1221474 from home:glaubitz:branches:devel:languages:python
- Update to 0.41.1
  * [pyproject.toml] Allow to build from source with the latest setuptools
    on non-PyPy. For PyPy keep setuptools pinned to '<72.2' to workaround
    compile error (#216).
- from version 0.41.0
  * Update to HarfBuzz 10.0.0
- from version 0.40.1
  * Fix deprecation message (#211)
- from version 0.40.0
  * Bind ot-metrics APIs (#204)
  * Bind hb-ot-var APIs (#208)
  * Deprecate most hb_ot_* functions and
    make them methods of Face or Font
  * classes. (#209)
  * Drop wheels for Python < 3.8 (#207)
- from version 0.39.5
  * Fixed issue with PyPI deployment that caused the previous release
    to fail to upload. No actual code changes since v0.39.4.
- from version 0.39.4
  * Added ability to dynamically link the uharfbuzz extension module
    to an external harfbuzz library by setting the USE_SYSTEM_LIBS=1
    environment variable (requires pkg-config) (#45, #201).
- Remove unzip package from BuildRequires
- Switch source archive format to TAR.GZ

OBS-URL: https://build.opensuse.org/request/show/1221474
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uharfbuzz?expand=0&rev=3
2024-11-05 15:38:07 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package python-uharfbuzz
#
# 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-uharfbuzz
Version: 0.41.1
Release: 0
Summary: Streamlined Cython bindings for the harfbuzz shaping engine
License: Apache-2.0
URL: https://github.com/trufont/uharfbuzz
Source: https://files.pythonhosted.org/packages/source/u/uharfbuzz/uharfbuzz-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module cython >= 0.28.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pkgconfig}
BuildRequires: %{python_module setuptools >= 36.4}
BuildRequires: %{python_module setuptools_scm >= 2.1}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module pytest}
BuildRequires: gcc-c++
BuildRequires: fdupes
%python_subpackages
%description
Streamlined Cython bindings for the harfbuzz shaping engine
%prep
%autosetup -p1 -n uharfbuzz-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitearch}/uharfbuzz
%{python_sitearch}/uharfbuzz-%{version}.dist-info
%changelog