<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/7f371e01d24a39167fdc57a4d45d970012240e7f">https://github.com/macports/macports-ports/commit/7f371e01d24a39167fdc57a4d45d970012240e7f</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 7f371e01d24 libgit2-glib: update to version 0.28.0.1
</span>7f371e01d24 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7f371e01d24a39167fdc57a4d45d970012240e7f
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Tue Jun 30 21:31:13 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgit2-glib: update to version 0.28.0.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * use compiler.c_standard
</span><span style='display:block; white-space:pre;color:#404040;'> * port build configuration from autotools to meson
</span><span style='display:block; white-space:pre;color:#404040;'> * update dependencies
</span><span style='display:block; white-space:pre;color:#404040;'> * drop variant +python35, add +python38 as default
</span><span style='display:block; white-space:pre;color:#404040;'> * add g-ir-scanner boilerplate
</span>---
gnome/libgit2-glib/Portfile | 74 +++++++++++-------------
gnome/libgit2-glib/files/patch-configure.ac.diff | 21 -------
gnome/libgit2-glib/files/patch-libgit2-0.27.diff | 34 -----------
3 files changed, 35 insertions(+), 94 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgit2-glib/Portfile b/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14989cf274f..a61fde4be84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,12 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup gobject_introspection 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup meson 1.0
</span>
name libgit2-glib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.26.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license LGPL-2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.28.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2+
</span> set branch [join [lrange [split ${version} .] 0 1] .]
description Glib wrapper library around the libgit2 git access library.
long_description ${description}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,61 +19,58 @@ master_sites gnome:sources/${name}/${branch}/
</span>
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1f636833ae323c693cb92b4deb926b4d82c07627 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2ad6f20db2e38bbfdb6cb452704fe8a911036b86de82dc75bb0f3b20db40ce9c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 1450e1eeeb039881e6bfb5318cec70eccbe90b02 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e70118481241a841d5261bdd4caa3158b2ffcb5ccf9d4f32b6cf6563b83a0f28 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 138928
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk-doc
</span>
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gobject-introspection \
</span> port:libgit2 \
port:libssh2 \
port:vala
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.ac.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-libgit2-0.27.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 2011
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-gobject_introspection yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args -Dgtk_doc=true \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dpython=false
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args -fvi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-compile-warnings=minimum \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-vala \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-ssh \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-python=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# requires python >= 3.2.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 python37 description {Enable Python support, using python35} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --enable-python=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-python=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:py35-gobject3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.python ${prefix}/bin/python3.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# uses g-ir-scanner, which uses $CC from env
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend merger_build_env(${arch}) "CC=${configure.cc} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend merger_destroot_env(${arch}) "CC=${configure.cc} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append "CC=${configure.cc} ${configure.cc_archflags}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.env-append "CC=${configure.cc} ${configure.cc_archflags}"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 python37 description {Enable Python support, using python36} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --enable-python=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-python=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python37 python38 description {Enable Python support using python36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -Dpython=false
</span> depends_lib-append port:py36-gobject3
configure.python ${prefix}/bin/python3.6
configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.6/lib/pkgconfig/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python35 python36 description {Enable Python support, using python37} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --enable-python=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-python=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python36 python38 description {Enable Python support using python37} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -Dpython=false
</span> depends_lib-append port:py37-gobject3
configure.python ${prefix}/bin/python3.7
configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.7/lib/pkgconfig/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python36 python37 description {Enable Python support using python38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -Dpython=false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py38-gobject3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${prefix}/bin/python3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.8/lib/pkgconfig/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python36] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python38
</span> }
livecheck.type gnome-with-unstable
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgit2-glib/files/patch-configure.ac.diff b/gnome/libgit2-glib/files/patch-configure.ac.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 47eb52b9fd8..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libgit2-glib/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,21 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.ac.orig 2014-11-07 03:44:41.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure.ac 2014-11-07 03:46:24.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -151,6 +151,18 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "x$enable_python" = "xyes"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AM_PATH_PYTHON(3.2.3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dnl Override standard python locations with MacPorts version specific ones
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ AC_SUBST([PYTHON_PREFIX], [`$PYTHON -c 'import sys; print(sys.prefix);'`])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ AC_SUBST([PYTHON_EXEC_PREFIX], [`$PYTHON -c 'import sys; print(sys.exec_prefix)'`])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ AC_SUBST([pythondir], [$am_cv_python_pythondir])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pyoverridesdir="\$(pyexecdir)/gi/overrides"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgit2-glib/files/patch-libgit2-0.27.diff b/gnome/libgit2-glib/files/patch-libgit2-0.27.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 025eca16ca2..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libgit2-glib/files/patch-libgit2-0.27.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,34 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From f6d7a149b40a7b131852f4daf8b428bbc993b12e Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Steve Langasek <steve.langasek@ubuntu.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Sun, 8 Jul 2018 12:51:22 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Compatibility with libgit2 0.27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git_config_add_file_ondisk() now takes an additional (optional) 'repo'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-argument. Fix the build failure.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[smcv: Make the API change conditional on LIBGIT2_SOVERSION so we can
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build against either version]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fixes: #1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903146
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Signed-off-by: Simon McVittie <smcv@debian.org>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libgit2-glib/ggit-config.c | 3 +++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 3 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/libgit2-glib/ggit-config.c b/libgit2-glib/ggit-config.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index b6536ce..acdad95 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libgit2-glib/ggit-config.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libgit2-glib/ggit-config.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -295,6 +295,9 @@ ggit_config_add_file (GgitConfig *config,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ret = git_config_add_file_ondisk (_ggit_native_get (config),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (git_config_level_t)level,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if LIBGIT2_SOVERSION >= 27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ NULL,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- force);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- g_free (path);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.17.1
</span></pre><pre style='margin:0'>
</pre>