14
0

Accepting request 1003355 from home:iznogood:factory

- Update to version 1.21.0:
  * Require Python 3.7+
  * Require meson 0.53+
  * Using setup.py directly to build/install pycairo is deprecated.
    Use meson instead.
  * setup.py now requires setuptools. Previously it was optional.
  * The complete API reference is now included in the typing stubs,
    so it can be consumed/shown by IDEs.
- Add f5a795ea.patch: Some test improvements for cairo 1.17.6

OBS-URL: https://build.opensuse.org/request/show/1003355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=16
This commit is contained in:
2022-09-15 07:47:38 +00:00
committed by Git OBS Bridge
parent dea75cdaf6
commit 8c6a0f3b8d
5 changed files with 123 additions and 6 deletions

View File

@@ -20,12 +20,15 @@
%define skip_python2 1
%define oldpython python
Name: python-pycairo
Version: 1.20.1
Version: 1.21.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: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
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}
BuildRequires: %{python_module setuptools}
@@ -71,7 +74,7 @@ This package provides the headers and development files needed to build
packages that depend on Pycairo.
%prep
%setup -q -n pycairo-%{version}
%autosetup -n pycairo-%{version} -p1
%build
%python_build