forked from pool/python-pycairo
Accepting request 1038671 from home:dimstar:Factory
- Updtae to version 1.22.0: * Officially support Python 3.11. * PDFSurface.version_to_string(): Fix crash with negative versions. * typing: ImageSurface.get_stride() returns an int. * typing: Fix incorrect interface for Matrix constructor. * typing: Use Generic for Context. * docs: some cairo.Context fixes. * docs: try to make create_from_png/write_to_png more clear. * docs: add an example for how to convert a surface to pillow. * docs: cairo.Format.RGB24: document that unused bytes may be overwritten. * tests: don’t depend on specific ref counts. * tests: compatibility fixes for cairo 1.17.6. - Drop f5a795ea.patch: fixed upstream. OBS-URL: https://build.opensuse.org/request/show/1038671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=18
This commit is contained in:
@@ -20,14 +20,12 @@
|
||||
%define skip_python2 1
|
||||
%define oldpython python
|
||||
Name: python-pycairo
|
||||
Version: 1.21.0
|
||||
Version: 1.22.0
|
||||
Release: 0
|
||||
Summary: Python Bindings for Cairo
|
||||
License: LGPL-2.1-or-later OR MPL-1.1
|
||||
URL: https://github.com/pygobject/pycairo
|
||||
Source: %{url}/releases/download/v%{version}/pycairo-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM f5a795ea.patch -- Some test improvements for cairo 1.17.6
|
||||
Patch: %{url}/commit/f5a795ea.patch
|
||||
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Reference in New Issue
Block a user