Skip to content

Commit

Permalink
Update python-cairocffi to version 1.3.0 / rev 21 via SR 998513
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/998513
by user mcepl + dimstar_suse
- Disable xcb tests (they are just too unstable,
  gh#Kozea/cairocffi#203).
  • Loading branch information
mcepl authored and bmwiedemann committed Aug 23, 2022
1 parent ae7d85e commit d16126e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
Binary file modified packages/p/python-cairocffi/.files
Binary file not shown.
10 changes: 10 additions & 0 deletions packages/p/python-cairocffi/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,14 @@
<comment></comment>
<requestid>998293</requestid>
</revision>
<revision rev="21" vrev="4">
<srcmd5>973ed4c797c3719bd3306a04b2182a6f</srcmd5>
<version>1.3.0</version>
<time>1661257534</time>
<user>dimstar_suse</user>
<comment>- Disable xcb tests (they are just too unstable,
gh#Kozea/cairocffi#203).
</comment>
<requestid>998513</requestid>
</revision>
</revisionlist>
6 changes: 6 additions & 0 deletions packages/p/python-cairocffi/python-cairocffi.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 20 21:23:34 UTC 2022 - Matej Cepl <[email protected]>

- Disable xcb tests (they are just too unstable,
gh#Kozea/cairocffi#203).

-------------------------------------------------------------------
Fri Aug 19 15:40:07 UTC 2022 - Ben Greiner <[email protected]>

Expand Down
5 changes: 4 additions & 1 deletion packages/p/python-cairocffi/python-cairocffi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ sed -i 's/^from \./from cairocffi./' tests/*.py

%check
cd tests/
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -B -m pytest
# Don't test with NumPy in the python36 flavor, because python36-numpy is not in TW anymore
# Switch off test_xcb tests gh#Kozea/cairocffi#203
python36_ignore="--ignore test_numpy.py --ignore test_xcb.py"
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest ${$python_ignore}

%files %{python_files}
%license LICENSE
Expand Down

0 comments on commit d16126e

Please sign in to comment.