Accepting request 1118976 from home:uncomfyhalomacro:branches:devel:languages:python

- update to version 1.6.1
  * use in-line ABI mode
  * use in-line mode for xcffib
  * require xcffib 0.4.0+
  * update docs
  * build requires flit-core
- remove disabling of text_xcb_window

OBS-URL: https://build.opensuse.org/request/show/1118976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=56
This commit is contained in:
Ondřej Súkup 2023-10-19 14:28:09 +00:00 committed by Git OBS Bridge
parent 901d9c6fef
commit fea8365ad7
4 changed files with 18 additions and 6 deletions

BIN
cairocffi-1.5.1.tar.gz (Stored with Git LFS)

Binary file not shown.

3
cairocffi-1.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7
size 87436

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Oct 19 13:30:28 UTC 2023 - Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
- update to version 1.6.1
* use in-line ABI mode
* use in-line mode for xcffib
* require xcffib 0.4.0+
* update docs
* build requires flit-core
- remove disabling of text_xcb_window
-------------------------------------------------------------------
Fri May 5 09:45:47 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-cairocffi
Version: 1.5.1
Version: 1.6.1
Release: 0
Summary: Python cairo bindings based on cffi
License: BSD-3-Clause
@ -29,9 +29,10 @@ Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairo
Patch1: skip-pikepdf.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module cffi >= 1.1.0}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xcffib >= 0.3.2}
BuildRequires: %{python_module xcffib >= 0.4.0}
BuildRequires: cairo
Requires: cairo
Requires: python-cffi >= 1.1.0
@ -80,7 +81,7 @@ This package provides the optional gdk-pixbuf image loader module.
%check
# 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"
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest
%files %{python_files}
%license LICENSE