aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2021-09-09 11:55:19 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2021-12-04 12:07:22 +0000
commit99f4b45c1d17c8b0bab439f49e3a42ee546416ab (patch)
treeabe5dde915ddfb23ab1253b95820c50201da0c8f
parentfc16547fa75f66b4293dd84ee5cda1f03d927f18 (diff)
downloadports-99f4b45c1d17c8b0bab439f49e3a42ee546416ab.tar.gz
ports-99f4b45c1d17c8b0bab439f49e3a42ee546416ab.zip
devel/py-pygit2: Update to 1.6.1
-rw-r--r--devel/py-pygit2/Makefile2
-rw-r--r--devel/py-pygit2/distinfo6
-rw-r--r--devel/py-pygit2/files/patch-src_types.h13
3 files changed, 17 insertions, 4 deletions
diff --git a/devel/py-pygit2/Makefile b/devel/py-pygit2/Makefile
index 93826e76cc62..af1f58b97dc6 100644
--- a/devel/py-pygit2/Makefile
+++ b/devel/py-pygit2/Makefile
@@ -3,7 +3,7 @@
# Also update devel/libgit2, devel/libgit2-glib, devel/rubygem-rugged
PORTNAME= pygit2
-PORTVERSION= 1.5.0
+PORTVERSION= 1.6.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pygit2/distinfo b/devel/py-pygit2/distinfo
index 6f1d53103889..6c36c3ab1c93 100644
--- a/devel/py-pygit2/distinfo
+++ b/devel/py-pygit2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618208442
-SHA256 (pygit2-1.5.0.tar.gz) = 9711367bd05f96ad6fc9c91d88fa96126ba2d1f1c3ea6f23c11402c243d66a20
-SIZE (pygit2-1.5.0.tar.gz) = 255958
+TIMESTAMP = 1631174621
+SHA256 (pygit2-1.6.1.tar.gz) = c3303776f774d3e0115c1c4f6e1fc35470d15f113a7ae9401a0b90acfa1661ac
+SIZE (pygit2-1.6.1.tar.gz) = 258338
diff --git a/devel/py-pygit2/files/patch-src_types.h b/devel/py-pygit2/files/patch-src_types.h
new file mode 100644
index 000000000000..4bfc3c6e8a95
--- /dev/null
+++ b/devel/py-pygit2/files/patch-src_types.h
@@ -0,0 +1,13 @@
+--- src/types.h.orig 2021-09-09 11:47:02 UTC
++++ src/types.h
+@@ -32,8 +32,8 @@
+ #include <Python.h>
+ #include <git2.h>
+
+-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 1)
+-#error You need a compatible libgit2 version (1.1.x)
++#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 2)
++#error You need a compatible libgit2 version (1.2.x)
+ #endif
+
+ /*