From 03a8b2eafbf4bc6795aa2d7fec1b10411d229e224847fe83bf8fd67ad74f8c5f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 30 Sep 2022 11:17:49 +0000 Subject: [PATCH] Accepting request 1007220 from home:mcalabkova:branches:devel:languages:python - Avoid pulling in python-pikepdf in the stagings OBS-URL: https://build.opensuse.org/request/show/1007220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=50 --- python-cairocffi.changes | 5 +++++ python-cairocffi.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-cairocffi.changes b/python-cairocffi.changes index 5940576..074c57f 100644 --- a/python-cairocffi.changes +++ b/python-cairocffi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 09:27:55 UTC 2022 - Markéta Machová + +- Avoid pulling in python-pikepdf in the stagings + ------------------------------------------------------------------- Thu Sep 29 08:06:36 UTC 2022 - Fabian Vogt diff --git a/python-cairocffi.spec b/python-cairocffi.spec index ba9370f..fba7f31 100644 --- a/python-cairocffi.spec +++ b/python-cairocffi.spec @@ -28,7 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairo Source1: https://raw.githubusercontent.com/Kozea/cairocffi/master/LICENSE BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module pikepdf} +# we don't want pikepdf in Ring1 stagings +#BuildRequires: %{python_module pikepdf} BuildRequires: %{python_module setuptools >= 39.2.0} BuildRequires: %{python_module xcffib >= 0.3.2} BuildRequires: cairo @@ -91,6 +92,8 @@ sed -i 's/^from \./from cairocffi./' tests/*.py %check cd tests/ +# test_cairo.py needs pikepdf, remove it +rm test_cairo.py # Switch off test_xcb_window (gh#Kozea/cairocffi#203) %python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest -k "not test_xcb_window" *.py