<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f26b722ab89a938dfd9b344f809d9e9dda6ae353">https://github.com/macports/macports-ports/commit/f26b722ab89a938dfd9b344f809d9e9dda6ae353</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 f26b722ab89 libproxy: Add and default to python312 variant
</span>f26b722ab89 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f26b722ab89a938dfd9b344f809d9e9dda6ae353
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 1 19:22:09 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> libproxy: Add and default to python312 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/68887
</span>---
net/libproxy/Portfile | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libproxy/Portfile b/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2ccd3968c6..97cc00524de 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,9 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup libproxy libproxy 0.4.18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span> epoch 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup libproxy libproxy 0.4.18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories net
maintainers {devans @dbevans} openmaintainer
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,7 @@ patchfiles-append patch-bindings-perl-src-CMakeLists.txt.diff \
</span> patch-libproxy-test-CMakeLists.txt.diff
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig
</span>
depends_lib-append path:bin/vala:vala \
path:lib/pkgconfig/glib-2.0.pc:glib2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,7 +67,7 @@ configure.cppflags-append -D_DARWIN_C_SOURCE=1
</span> # Set standard via cxx flags, as cmake.set_cxx_standard is not working properly
configure.cxxflags-append -std=c++11
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python310 python311 description {Build Bindings for Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python310 python311 python312 description {Build Bindings for Python 3.9} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/3.9
depends_lib-append port:python39
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,7 +75,7 @@ variant python39 conflicts python310 python311 description {Build Bindings for P
</span> -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.9/site-packages
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python39 python311 description {Build Bindings for Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python39 python311 python312 description {Build Bindings for Python 3.10} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/3.10
depends_lib-append port:python310
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,7 +83,7 @@ variant python310 conflicts python39 python311 description {Build Bindings for P
</span> -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.10/site-packages
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 conflicts python39 python310 description {Build Bindings for Python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python39 python310 python312 description {Build Bindings for Python 3.11} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/3.11
depends_lib-append port:python311
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,8 +91,16 @@ variant python311 conflicts python39 python310 description {Build Bindings for P
</span> -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.11/site-packages
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python310] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python312 conflicts python39 python310 python311 description {Build Bindings for Python 3.12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_prefix ${frameworks_dir}/Python.framework/Versions/3.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON3_EXECUTABLE=${prefix}/bin/python3.12 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.12/site-packages
</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 python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python312
</span> }
post-patch {
</pre><pre style='margin:0'>
</pre>