<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/faa86f9c486915273fa0a3c31662e99889bb69d7">https://github.com/macports/macports-ports/commit/faa86f9c486915273fa0a3c31662e99889bb69d7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new faa86f9c486 py-pygit2: update to version 1.10.0
</span>faa86f9c486 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit faa86f9c486915273fa0a3c31662e99889bb69d7
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun Jul 31 13:15:59 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-pygit2: update to version 1.10.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * update subports to py38 py39 py310
</span>---
python/py-pygit2/Portfile | 14 ++-
.../py-pygit2/files/patch-allow-libgit2-1.3.x.diff | 100 ---------------------
2 files changed, 6 insertions(+), 108 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pygit2/Portfile b/python/py-pygit2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d9085978f69..b8ad56723bc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pygit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pygit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,9 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup libgit2 pygit2 1.6.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup libgit2 pygit2 1.10.0 v
</span> name py-pygit2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories-append devel
license {GPL-2 Permissive}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,15 +17,13 @@ description Python bindings for libgit2
</span> long_description Pygit2 is a set of Python bindings to the libgit2 shared \
library, libgit2 implements the core of Git.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 53fb50124936514c9992f65868e6cc84c1fed16a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bf1d0ffa04fed24f645c997ebeeee2afd92bc4e73698592b9d11b6f397bc07ee \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3037247
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4bc3bc426eadc016df004c198f41783d3948a4e3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 451910df5816c2c95fa27f1ca71a06e35da22a106a21cdcc046d7a37c87813ba \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 752129
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38 39 310
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-allow-libgit2-1.3.x.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pygit2/files/patch-allow-libgit2-1.3.x.diff b/python/py-pygit2/files/patch-allow-libgit2-1.3.x.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index cac85c0e055..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pygit2/files/patch-allow-libgit2-1.3.x.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,100 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From dcde9eff5950492ab0d2565a07fd18d765332a96 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: <jdavid.ibp@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Thu, 16 Sep 2021 11:19:04 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Upgrade to libgit2 1.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Closes #1089
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Makefile | 2 +-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.sh | 14 +++++++-------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pygit2/decl/remote.h | 2 ++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/types.h | 4 ++--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 10 files changed, 29 insertions(+), 25 deletions(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index aa463bb1654f8049f0d5ca6142d5442a2695b34e..05115cdb984eee1b011ff0b092ce850f154d0379 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- .PHONY: build html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LIBSSH2_VERSION=1.9.0 LIBGIT2_VERSION=1.1.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LIBSSH2_VERSION=1.10.0 LIBGIT2_VERSION=1.3.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- html:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cd docs && find . -name "*rst" | entr make html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/build.sh b/build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index a24fa02fa10d377352f4a859e03510f7ba493bcc..18320996600bad04bca1931e2027f6bb5716e1c2 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- build.sh.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -23,19 +23,19 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# Build libgit2 1.1.0 (will use libssh2 if available), then build pygit2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Build libgit2 1.3.0 (will use libssh2 if available), then build pygit2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # inplace:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# LIBGIT2_VERSION=1.1.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# LIBGIT2_VERSION=1.3.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# Build libssh2 1.9.0 and libgit2 1.1.0, then build pygit2 inplace:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Build libssh2 1.10.0 and libgit2 1.3.0, then build pygit2 inplace:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# LIBSSH2_VERSION=1.9.0 LIBGIT2_VERSION=1.1.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# LIBSSH2_VERSION=1.10.0 LIBGIT2_VERSION=1.3.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# Tell where libssh2 is installed, build libgit2 1.1.0, then build pygit2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Tell where libssh2 is installed, build libgit2 1.3.0, then build pygit2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # inplace:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--# LIBSSH2_PREFIX=/usr/local LIBGIT2_VERSION=1.1.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# LIBSSH2_PREFIX=/usr/local LIBGIT2_VERSION=1.3.0 sh build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Build inplace and run the tests:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -95,7 +95,7 @@ fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Install libgit2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ -n "$LIBGIT2_VERSION" ]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- FILENAME=libgit2-$LIBGIT2_VERSION
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- wget https://github.com/libgit2/libgit2/releases/download/v$LIBGIT2_VERSION/$FILENAME.tar.gz -N
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ wget https://github.com/libgit2/libgit2/archive/refs/tags/v$LIBGIT2_VERSION.tar.gz -N -O $FILENAME.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tar xf $FILENAME.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cd $FILENAME
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CMAKE_PREFIX_PATH=$OPENSSL_PREFIX:$LIBSSH2_PREFIX cmake . \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/pygit2/decl/remote.h b/pygit2/decl/remote.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ff84371c3e1ce81a7e9914d4d4592638f41376bb..4e912c065cd6eaf19ef6d0304b0fd8f646edbff4 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- pygit2/decl/remote.h.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ pygit2/decl/remote.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -23,6 +23,7 @@ typedef struct {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- typedef int (*git_push_negotiation)(const git_push_update **updates, size_t len, void *payload);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- typedef int (*git_push_update_reference_cb)(const char *refname, const char *status, void *data);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+typedef int (*git_remote_ready_cb)(git_remote *remote, int direction, void *payload);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- typedef int (*git_url_resolve_cb)(git_buf *url_resolved, const char *url, int direction, void *payload);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- struct git_remote_callbacks {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -38,6 +39,7 @@ struct git_remote_callbacks {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- git_push_update_reference_cb push_update_reference;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- git_push_negotiation push_negotiation;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- git_transport_cb transport;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ git_remote_ready_cb remote_ready;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void *payload;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- git_url_resolve_cb resolve_url;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- };
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/types.h b/src/types.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ff967b81f76688f8f0958638d99a06f7bbacb99c..89ad3a00149a1326c3edfa20d2d69d629cb1d2a2 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/types.h.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/types.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -32,8 +32,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <Python.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <git2.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#error You need a compatible libgit2 version (1.1.x)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#error You need a compatible libgit2 version (1.3.x)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*
</span></pre><pre style='margin:0'>
</pre>