<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/07b83da2e10347e45fefd695d4fd200cf0735b66">https://github.com/macports/macports-ports/commit/07b83da2e10347e45fefd695d4fd200cf0735b66</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 07b83da2e10347e45fefd695d4fd200cf0735b66
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sun Oct 23 22:47:21 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> dbus-python: doc variant only for Python => 3.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - set python310 as default
</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/65981
</span>---
devel/dbus-python/Portfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/dbus-python/Portfile b/devel/dbus-python/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d6edf2a064..bc74f108830 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/dbus-python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/dbus-python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ set python_versions {27 35 36 37 38 39 310}
</span>
# this default version should stay synchronized with python_get_default_version
# in the python PortGroup
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_default_version 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_default_version 310
</span>
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,7 +81,9 @@ foreach python_version ${python_versions} {
</span>
configure.python ${prefix}/bin/python${python_branch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant doc description {Enable documentation building} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python_version} >= 37} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant doc description {Enable documentation building} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> # ${python_version} and ${python_branch} do not have the right value inside variant block,
# so put it here.
if {[variant_isset doc]} {
</pre><pre style='margin:0'>
</pre>