devel/py-pygit2: update to 1.7.1

Changelog:
https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst
This commit is contained in:
Matthias Fechner 2021-12-04 13:01:22 +01:00
parent 59c3b95df7
commit f6bfe11764
3 changed files with 5 additions and 18 deletions

View file

@ -3,7 +3,7 @@
# Also update devel/libgit2, devel/libgit2-glib, devel/rubygem-rugged
PORTNAME= pygit2
PORTVERSION= 1.6.1
PORTVERSION= 1.7.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -21,7 +21,7 @@ RUN_DEPENDS= ${MY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= python:3.5+
USES= python:3.8+
USE_PYTHON= autoplist distutils
MAKE_ENV= LIBGIT2=${LOCALBASE}
PYDISTUTILS_TEST_TARGET?= test

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1631174621
SHA256 (pygit2-1.6.1.tar.gz) = c3303776f774d3e0115c1c4f6e1fc35470d15f113a7ae9401a0b90acfa1661ac
SIZE (pygit2-1.6.1.tar.gz) = 258338
TIMESTAMP = 1638618402
SHA256 (pygit2-1.7.1.tar.gz) = d7faa29558436decc2e78110f38d6677eb366b683ba5cdc2803d47195711165d
SIZE (pygit2-1.7.1.tar.gz) = 281791

View file

@ -1,13 +0,0 @@
--- 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
/*