<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/73662e9aca425c151ad73ea48a07322343644e3d">https://github.com/macports/macports-ports/commit/73662e9aca425c151ad73ea48a07322343644e3d</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 73662e9aca4 weechat: update to 3.4.1, remove old python variants
</span>73662e9aca4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 73662e9aca425c151ad73ea48a07322343644e3d
</span>Author: Calvin Ardi <calvin@isi.edu>
AuthorDate: Sun Mar 13 23:49:19 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> weechat: update to 3.4.1, remove old python variants
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - set default python variant to python310
</span><span style='display:block; white-space:pre;color:#404040;'> - remove EOL python27 and python36 variants
</span>---
irc/weechat/Portfile | 35 ++++++++++-------------------------
1 file changed, 10 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/irc/weechat/Portfile b/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6b3d108a191..dc78e00c95b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,11 +9,11 @@ PortGroup legacysupport 1.0
</span> legacysupport.newest_darwin_requires_legacy 10
name weechat
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.4.1
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 26d4141ab8e7ab2d3cfbbe9e3e9c33994fd374fb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7cd3dcc7029e888de49e13ebbcc3749586ff59c9d97f89f5eeb611067c7bb94c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2617640
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e4eed9dd4ee8e0d61c7ab59a6dbd1d397c279402 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7e088109ad5dfbcb08a9a6b1dd70ea8236093fed8a13ee9d9c98881d7b1aeae7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2617856
</span>
master_sites https://weechat.org/files/src/
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,35 +75,24 @@ configure.args-append \
</span> -DENABLE_TCL=OFF \
-DENABLE_TESTS=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python requires python27 description {Compatibility variant, requires +python27} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python requires python310 description {Compatibility variant, requires +python310} {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description "Bindings for Python 2.7 plugins" conflicts python36 python37 python38 python39 python310 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -DENABLE_PYTHON2=OFF -DENABLE_PYTHON2=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python27
</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;'>-variant python36 description "Bindings for Python 3.6 plugins" conflicts python27 python37 python38 python39 python310 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python36
</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;'>-variant python37 description "Bindings for Python 3.7 plugins" conflicts python27 python36 python38 python39 python310 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 description "Bindings for Python 3.7 plugins" conflicts python38 python39 python310 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python37
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 description "Bindings for Python 3.8 plugins" conflicts python27 python36 python37 python39 python310 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description "Bindings for Python 3.8 plugins" conflicts python37 python39 python310 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python38
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 description "Bindings for Python 3.9 plugins" conflicts python27 python36 python37 python38 python310 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 description "Bindings for Python 3.9 plugins" conflicts python37 python38 python310 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python39
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 description "Bindings for Python 3.10 plugins" conflicts python27 python36 python37 python38 python39 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 description "Bindings for Python 3.10 plugins" conflicts python37 python38 python39 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python310
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,11 +100,7 @@ variant python310 description "Bindings for Python 3.10 plugins" conflicts pytho
</span> post-patch {
set patchfile ${worksrcpath}/cmake/FindPython.cmake
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset python27]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s|PYTHON python2|PYTHON python-2.7|g" ${patchfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s|PYTHON python3|PYTHON python-3.6|g" ${patchfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset python37]} {
</span> reinplace -E "s|PYTHON python3|PYTHON python-3.7|g" ${patchfile}
} elseif {[variant_isset python38]} {
reinplace -E "s|PYTHON python3|PYTHON python-3.8|g" ${patchfile}
</pre><pre style='margin:0'>
</pre>