forked from pool/python-cairocffi
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
This commit is contained in:
parent
935b2a111d
commit
03a8b2eafb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 09:27:55 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Avoid pulling in python-pikepdf in the stagings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 08:06:36 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user