Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

4 changed files with 16 additions and 27 deletions

15
.gitignore vendored
View file

@ -1,17 +1,2 @@
/uharfbuzz-0.45.0-filtered.tar.gz
/uharfbuzz-0.46.0-filtered.tar.gz
/uharfbuzz-0.49.0-filtered.tar.gz
/uharfbuzz-0.50.0-filtered.tar.gz
/uharfbuzz-0.50.2-filtered.tar.gz
/uharfbuzz-0.51.0-filtered.tar.gz
/uharfbuzz-0.51.1-filtered.tar.gz
/uharfbuzz-0.51.2-filtered.tar.gz
/uharfbuzz-0.51.3-filtered.tar.gz
/uharfbuzz-0.51.4-filtered.tar.gz
/uharfbuzz-0.51.5-filtered.tar.gz
/uharfbuzz-0.51.6-filtered.tar.gz
/uharfbuzz-0.51.7-filtered.tar.gz
/uharfbuzz-0.52.0-filtered.tar.gz
/uharfbuzz-0.53.0-filtered.tar.gz
/uharfbuzz-0.53.1-filtered.tar.gz
/uharfbuzz-0.53.2-filtered.tar.gz

View file

@ -1,2 +0,0 @@
# This Source cannot be a URL because we must filter out certain files.
addFilter(r" invalid-url Source[0-9]+: uharfbuzz-.*-filtered\.tar\.gz")

View file

@ -1,5 +1,5 @@
Name: python-uharfbuzz
Version: 0.53.2
Version: 0.46.0
Release: %autorelease
Summary: Streamlined Cython bindings for the harfbuzz shaping engine
@ -51,10 +51,7 @@ URL: https://github.com/harfbuzz/uharfbuzz
Source0: uharfbuzz-%{version}-filtered.tar.gz
Source1: get_source
BuildSystem: pyproject
BuildOption(generate_buildrequires): -t
BuildOption(install): -l uharfbuzz
BuildRequires: python3-devel
BuildRequires: gcc-c++
BuildRequires: pkgconfig(harfbuzz-subset)
@ -70,24 +67,33 @@ Summary: %{summary}
%description -n python3-uharfbuzz %{common_description}
%prep -a
%prep
%autosetup -n uharfbuzz-%{version}
# Remove Cythonized C++ sources (if any remain):
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_using_cython
find . -type f -exec grep -FrinIl 'Generated by Cython' '{}' '+' |
xargs -r -t rm -v
%generate_buildrequires -p
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
export USE_SYSTEM_LIBS=1
%pyproject_buildrequires -t
%build -p
%build
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
export USE_SYSTEM_LIBS=1
%pyproject_wheel
%check -a
%install
%pyproject_install
%pyproject_save_files -l uharfbuzz
%check
# Requires SparseFont.ttf, omitted from the source archive, via the sparsefont
# fixture:
k="${k-}${k+ and }not test_sparsefont_coretext"

View file

@ -1 +1 @@
SHA512 (uharfbuzz-0.53.2-filtered.tar.gz) = adc87172df16724cf3f4408b35c5750cc295cb243f921dbb9ec5ece5058f161167ce79cbcaf09111dab0606ca8a9cdf5fe4584808cef4fc2052246dbb88f84b7
SHA512 (uharfbuzz-0.46.0-filtered.tar.gz) = 995afc0f40734213c2a76e41965db8c794070c762efdd6df804b0005e866a725b4c3da658560d3a337879fb5fc837e7587f2e26679ae524b089b375da269e79d