sync ports with The Matrix
This commit is contained in:
parent
15ac3e795a
commit
09b3080379
180 changed files with 9334 additions and 2187 deletions
|
@ -1,9 +1,8 @@
|
|||
COMMENT= libgit2 bindings in Python
|
||||
|
||||
MODPY_EGG_VERSION= 1.12.2
|
||||
MODPY_EGG_VERSION= 1.13.0
|
||||
DISTNAME= pygit2-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-git2-${MODPY_EGG_VERSION}
|
||||
REVISION= 0
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_PI= Yes
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libgit/pygit2-1.12.2.tar.gz) = VuhdDmbelX1ZnR77JAnTmv7v2PAQCb/aB5a0Kktng1g=
|
||||
SIZE (libgit/pygit2-1.12.2.tar.gz) = 738453
|
||||
SHA256 (libgit/pygit2-1.13.0.tar.gz) = bd43Q2+rFCZK09bLxarj/VVeualoCnv91uVkzXe14rg=
|
||||
SIZE (libgit/pygit2-1.13.0.tar.gz) = 738850
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/diff.h
|
||||
--- pygit2/decl/diff.h.orig
|
||||
+++ pygit2/decl/diff.h
|
||||
@@ -54,6 +54,7 @@ typedef struct {
|
||||
void *payload;
|
||||
uint32_t context_lines;
|
||||
uint32_t interhunk_lines;
|
||||
+ git_oid_t oid_type;
|
||||
uint16_t id_abbrev;
|
||||
git_off_t max_size;
|
||||
const char *old_prefix;
|
|
@ -1,16 +0,0 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/oid.h
|
||||
--- pygit2/decl/oid.h.orig
|
||||
+++ pygit2/decl/oid.h
|
||||
@@ -1,3 +1,7 @@
|
||||
+typedef enum {
|
||||
+ GIT_OID_SHA1 = 1, /**< SHA1 */
|
||||
+} git_oid_t;
|
||||
+
|
||||
typedef struct git_oid {
|
||||
unsigned char id[20];
|
||||
} git_oid;
|
|
@ -1,16 +0,0 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/remote.h
|
||||
--- pygit2/decl/remote.h.orig
|
||||
+++ pygit2/decl/remote.h
|
||||
@@ -83,6 +83,7 @@ typedef struct {
|
||||
int update_fetchhead;
|
||||
git_remote_autotag_option_t download_tags;
|
||||
git_proxy_options proxy_opts;
|
||||
+ int depth;
|
||||
git_remote_redirect_t follow_redirects;
|
||||
git_strarray custom_headers;
|
||||
} git_fetch_options;
|
|
@ -1,19 +0,0 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: src/types.h
|
||||
--- src/types.h.orig
|
||||
+++ src/types.h
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <Python.h>
|
||||
#include <git2.h>
|
||||
|
||||
-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 6)
|
||||
-#error You need a compatible libgit2 version (1.6.x)
|
||||
+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 7)
|
||||
+#error You need a compatible libgit2 version (1.7.x)
|
||||
#endif
|
||||
|
||||
/*
|
Loading…
Add table
Add a link
Reference in a new issue