<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c77d96a3165e2d314c68bfa5b9465534f35732bb">https://github.com/macports/macports-ports/commit/c77d96a3165e2d314c68bfa5b9465534f35732bb</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 c77d96a3165 gexiv2: add and default to python 3.10
</span>c77d96a3165 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c77d96a3165e2d314c68bfa5b9465534f35732bb
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 28 23:09:53 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> gexiv2: add and default to python 3.10
</span>---
gnome/gexiv2/Portfile | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gexiv2/Portfile b/gnome/gexiv2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 28a33ad2cf8..19945f154ac 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gexiv2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gexiv2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,27 +39,32 @@ depends_lib port:exiv2 \
</span> path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
path:bin/vala:vala
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python37 python38 python39 description {Build Python3 bindings using Python 3.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python37 python38 python39 python310 description {Build Python3 bindings using Python 3.6} {
</span> depends_lib-append port:py36-gobject3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python36 python38 python39 description {Build Python3 bindings using Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python36 python38 python39 python310 description {Build Python3 bindings using Python 3.7} {
</span> depends_lib-append port:py37-gobject3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python36 python37 python39 description {Build Python3 bindings using Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python36 python37 python39 python310 description {Build Python3 bindings using Python 3.8} {
</span> depends_lib-append port:py38-gobject3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python36 python37 python38 description {Build Python3 bindings using Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python36 python37 python38 python310 description {Build Python3 bindings using Python 3.9} {
</span> depends_lib-append port:py39-gobject3
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python36 python37 python38 python39 description {Build Python3 bindings using Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py310-gobject3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset python36] && \
![variant_isset python37] && \
![variant_isset python38] && \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python39] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python310
</span> }
patchfiles patch-python-bins.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +78,8 @@ post-patch {
</span> reinplace "s|@@PYTHON3_BIN@@|${prefix}/bin/python3.8|" ${worksrcpath}/meson.build
} elseif {[variant_isset python39]} {
reinplace "s|@@PYTHON3_BIN@@|${prefix}/bin/python3.9|" ${worksrcpath}/meson.build
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PYTHON3_BIN@@|${prefix}/bin/python3.10|" ${worksrcpath}/meson.build
</span> } else {
configure.args-append -Dpython3_girdir=no
}
</pre><pre style='margin:0'>
</pre>