Update to 1.16.0:
- Add support for Python 3.13
- Drop support for Python 3.9
- New Repository.hashfile(...)
- New Option.GET_MWINDOW_FILE_LIMIT and
Option.SET_MWINDOW_FILE_LIMIT
- Fix overriding certificate_check(...) callback via argument
to RemoteCallbacks(...)
- Add py.typed
- Fix discover_repository(...) annotation
Add const-parents.patch to fix FTBFS (gh#libgit2/pygit2!1324).
This commit is contained in:
@@ -19,14 +19,18 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pygit2
|
||||
Version: 1.15.1
|
||||
Version: 1.16.0
|
||||
Release: 0
|
||||
Summary: Python bindings for libgit2
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/libgit2/pygit2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM const-parents.patch gh#libgit2/pygit2!1324 mcepl@suse.com
|
||||
# use correct type of git_commit_create() function
|
||||
Patch0: const-parents.patch
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.16.0}
|
||||
BuildRequires: %{python_module cffi >= 1.17.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -39,7 +43,7 @@ BuildRequires: libgit2-devel >= 1.1
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cached-property
|
||||
%requires_eq python-cffi
|
||||
Requires: python-cffi >= 1.17.0
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user