forked from pool/python-pygit2
[info=d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:3/python-pygit2?expand=0&rev=1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
mtime: 1730806374
|
||||
commit: 8f774c3b9f40d04f66a46759d57c82ef5d71a8e1989bc375a9493ec49c78810e
|
||||
mtime: 1738158783
|
||||
commit: d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07
|
||||
url: https://src.opensuse.org/mcepl/python-pygit2.git
|
||||
revision: 8f774c3b9f40d04f66a46759d57c82ef5d71a8e1989bc375a9493ec49c78810e
|
||||
revision: d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5679ea7608681403ab243a0f778be1990c99f5a64cfe201fa19ad3ba56bd9592
|
||||
oid sha256:9634e7b64c2b70479f43e87b0fdb22296be8deeb2d97ceff09d2eefb4d00226f
|
||||
size 280
|
||||
|
@@ -1,27 +0,0 @@
|
||||
|
||||
---
|
||||
src/repository.c | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/src/repository.c
|
||||
+++ b/src/repository.c
|
||||
@@ -1065,7 +1065,8 @@ Repository_create_commit(Repository *sel
|
||||
|
||||
err = git_commit_create(&oid, self->repo, update_ref,
|
||||
py_author->signature, py_committer->signature,
|
||||
- encoding, message, tree, parent_count, parents);
|
||||
+ encoding, message, tree, parent_count,
|
||||
+ (const git_commit **)parents);
|
||||
if (err < 0) {
|
||||
Error_set(err);
|
||||
goto out;
|
||||
@@ -1147,7 +1148,8 @@ Repository_create_commit_string(Reposito
|
||||
|
||||
err = git_commit_create_buffer(&buf, self->repo,
|
||||
py_author->signature, py_committer->signature,
|
||||
- encoding, message, tree, parent_count, parents);
|
||||
+ encoding, message, tree, parent_count,
|
||||
+ (const git_commit **)parents);
|
||||
if (err < 0) {
|
||||
Error_set(err);
|
||||
goto out;
|
BIN
pygit2-1.16.0.tar.gz
(Stored with Git LFS)
BIN
pygit2-1.16.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pygit2-1.17.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pygit2-1.17.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Remove upstreamed const-parents.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.17.0
|
||||
* Upgrade to libgit2 1.9
|
||||
* Add certificate_check callback to Remote.ls_remotes(...)
|
||||
* Fix build with GCC 14
|
||||
* Documentation: fix typo in Repository.status(...) docstring
|
||||
* Fix tests with Python 3.13.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 10:50:38 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@@ -19,15 +19,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pygit2
|
||||
Version: 1.16.0
|
||||
Version: 1.17.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.17.0}
|
||||
|
Reference in New Issue
Block a user