Accepting request 1004945 from home:coolo:branches:openSUSE:Factory
- Update to 1.10.1 - Fix segfault in ``Signature`` repr `#1155 <https://github.com/libgit2/pygit2/pull/1155>`_ - Linux and macOS wheels for Python 3.11 `#1154 <https://github.com/libgit2/pygit2/pull/1154>`_ - Upgrade to libgit2 1.5 - Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and ``GIT_OPT_SET_OWNER_VALIDATION`` `#1150 <https://github.com/libgit2/pygit2/pull/1150>`_ - New ``untracked_files`` and ``ignored`` optional arguments for ``Repository.status(...)`` `#1151 <https://github.com/libgit2/pygit2/pull/1151>`_ - Remove support-libgit-1.5.patch no longer needed OBS-URL: https://build.opensuse.org/request/show/1004945 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=70
This commit is contained in:
BIN
pygit2-1.10.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
pygit2-1.10.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pygit2-1.9.2.tar.gz
(Stored with Git LFS)
BIN
pygit2-1.9.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 16:53:05 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- Update to 1.10.1
|
||||
- Fix segfault in ``Signature`` repr
|
||||
`#1155 <https://github.com/libgit2/pygit2/pull/1155>`_
|
||||
- Linux and macOS wheels for Python 3.11
|
||||
`#1154 <https://github.com/libgit2/pygit2/pull/1154>`_
|
||||
- Upgrade to libgit2 1.5
|
||||
- Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and
|
||||
``GIT_OPT_SET_OWNER_VALIDATION``
|
||||
`#1150 <https://github.com/libgit2/pygit2/pull/1150>`_
|
||||
- New ``untracked_files`` and ``ignored`` optional arguments for
|
||||
``Repository.status(...)``
|
||||
`#1151 <https://github.com/libgit2/pygit2/pull/1151>`_
|
||||
- Remove support-libgit-1.5.patch no longer needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 14:44:55 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -20,14 +20,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pygit2
|
||||
Version: 1.9.2
|
||||
Version: 1.10.1
|
||||
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 based on gh#libgit2/pygit2#14b1df84060ea4ab085202382e80672ec1a104e3
|
||||
Patch0: support-libgit-1.5.patch
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.4.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
|
@@ -1,15 +0,0 @@
|
||||
diff --git a/src/types.h b/src/types.h
|
||||
index 78023e28..e851eacb 100644
|
||||
--- a/src/types.h
|
||||
+++ b/src/types.h
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <Python.h>
|
||||
#include <git2.h>
|
||||
|
||||
-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 4)
|
||||
-#error You need a compatible libgit2 version (1.4.x)
|
||||
+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 4 && LIBGIT2_VER_MINOR <= 5)
|
||||
+#error You need a compatible libgit2 version (1.4.x or 1.5.x)
|
||||
#endif
|
||||
|
||||
/*
|
Reference in New Issue
Block a user