Sync from SUSE:SLFO:Main python-cairocffi revision 0b00ab3a48226935a0f023bfea7b7854
This commit is contained in:
parent
3cf153518e
commit
1834747cbb
BIN
cairocffi-1.5.1.tar.gz
(Stored with Git LFS)
BIN
cairocffi-1.5.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
cairocffi-1.7.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
cairocffi-1.7.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 08:12:05 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Readd disabling test_xcb tests. Please, don’t reenable until
|
||||
gh#Kozea/cairocffi#203 is fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 07:38:34 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.7.0:
|
||||
* #227: Add get_hairline() and set_hairline() functions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 06:52:06 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 1.7.0:
|
||||
* Drop Python 3.7 support, add Python 3.12 support
|
||||
* #221: Add environment variable to set folder where DLLs are
|
||||
installed on Windows
|
||||
* #225: Use Ruff instead of Flake8 and isort
|
||||
- Refresh skip-pikepdf.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-cairocffi
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-cairocffi
|
||||
Version: 1.5.1
|
||||
Version: 1.7.1
|
||||
Release: 0
|
||||
Summary: Python cairo bindings based on cffi
|
||||
License: BSD-3-Clause
|
||||
@ -27,11 +27,12 @@ URL: https://github.com/Kozea/cairocffi
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
|
||||
# avoid pikepdf in Ring1, skipping the pikepdf related tests
|
||||
Patch1: skip-pikepdf.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
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 --ignore cairocffi/test_xcb.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
@ -1,16 +1,16 @@
|
||||
Index: cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
Index: cairocffi-1.7.0/cairocffi/test_cairo.py
|
||||
===================================================================
|
||||
--- cairocffi-1.5.1.orig/cairocffi/test_cairo.py
|
||||
+++ cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
@@ -21,7 +21,6 @@ import sys
|
||||
--- cairocffi-1.7.0.orig/cairocffi/test_cairo.py
|
||||
+++ cairocffi-1.7.0/cairocffi/test_cairo.py
|
||||
@@ -20,7 +20,6 @@ import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
import cairocffi
|
||||
-import pikepdf
|
||||
import pytest
|
||||
|
||||
from . import (
|
||||
@@ -239,6 +238,7 @@ def test_device_scale():
|
||||
import cairocffi
|
||||
@@ -240,6 +239,7 @@ def test_device_scale():
|
||||
|
||||
@pytest.mark.xfail(cairo_version() < 11504,
|
||||
reason='Cairo version too low')
|
||||
@ -18,7 +18,7 @@ Index: cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
def test_metadata():
|
||||
file_obj = io.BytesIO()
|
||||
surface = PDFSurface(file_obj, 1, 1)
|
||||
@@ -264,6 +264,7 @@ def test_metadata():
|
||||
@@ -265,6 +265,7 @@ def test_metadata():
|
||||
|
||||
@pytest.mark.xfail(cairo_version() < 11504,
|
||||
reason='Cairo version too low')
|
||||
@ -26,7 +26,7 @@ Index: cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
def test_outline():
|
||||
file_obj = io.BytesIO()
|
||||
surface = PDFSurface(file_obj, 1, 1)
|
||||
@@ -280,6 +281,7 @@ def test_outline():
|
||||
@@ -281,6 +282,7 @@ def test_outline():
|
||||
|
||||
@pytest.mark.xfail(cairo_version() < 11504,
|
||||
reason='Cairo version too low')
|
||||
@ -34,7 +34,7 @@ Index: cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
def test_page_label():
|
||||
file_obj = io.BytesIO()
|
||||
surface = PDFSurface(file_obj, 1, 1)
|
||||
@@ -291,6 +293,7 @@ def test_page_label():
|
||||
@@ -292,6 +294,7 @@ def test_page_label():
|
||||
|
||||
@pytest.mark.xfail(cairo_version() < 11504,
|
||||
reason='Cairo version too low')
|
||||
@ -42,7 +42,7 @@ Index: cairocffi-1.5.1/cairocffi/test_cairo.py
|
||||
def test_tag():
|
||||
file_obj = io.BytesIO()
|
||||
surface = PDFSurface(file_obj, 10, 10)
|
||||
@@ -419,6 +422,7 @@ def test_pdf_versions():
|
||||
@@ -420,6 +423,7 @@ def test_pdf_versions():
|
||||
assert file_obj.getvalue().startswith(b'%PDF-1.4')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user