<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/eae4b071848ee80b025543235d6ad51d975e1c5c">https://github.com/macports/macports-ports/commit/eae4b071848ee80b025543235d6ad51d975e1c5c</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 eae4b071848 weechat: update to 3.0
</span>eae4b071848 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit eae4b071848ee80b025543235d6ad51d975e1c5c
</span>Author: Calvin Ardi <calvin@isi.edu>
AuthorDate: Fri Nov 13 12:09:48 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> weechat: update to 3.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * add python39 variant
</span>---
irc/weechat/Portfile | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 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 25fb8e41992..583d86e8916 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;'>@@ -10,11 +10,11 @@ legacysupport.newest_darwin_requires_legacy 10
</span>
conflicts weechat-devel
name weechat
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 392af28dcbff7b9546b1d4040c7f3e13486fe968 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 eab406c385c3a10d0107ddc3aac6596ae8c59af99e9158c6d769e90ec9adfa0e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2206584
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 08e1903cfd3f63463ead1155af83537c815518ed \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6cb7d25a363b66b835f1b9f29f3580d6f09ac7d38505b46a62c178b618d9f1fb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2215408
</span>
master_sites https://weechat.org/files/src/
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,27 +69,32 @@ configure.args-append \
</span>
variant python requires python27 description {Compatibility variant, requires +python27} {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description "Bindings for python 2.7 plugins" conflicts python36 python37 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description "Bindings for python 2.7 plugins" conflicts python36 python37 python38 python39 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
configure.args-replace -DENABLE_PYTHON2=OFF -DENABLE_PYTHON2=ON
depends_lib-append port:python27
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 description "Bindings for python 3.6 plugins" conflicts python27 python37 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 description "Bindings for python 3.6 plugins" conflicts python27 python37 python38 python39 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python36
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 description "Bindings for python 3.7 plugins" conflicts python27 python36 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 description "Bindings for python 3.7 plugins" conflicts python27 python36 python38 python39 {
</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 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description "Bindings for python 3.8 plugins" conflicts python27 python36 python37 python39 {
</span> configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
depends_lib-append port:python38
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 description "Bindings for python 3.9 plugins" conflicts python27 python36 python37 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
set patchfile ${worksrcpath}/cmake/FindPython.cmake
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -101,6 +106,8 @@ post-patch {
</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}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|PYTHON python3|PYTHON python-3.9|g" ${patchfile}
</span> }
}
</pre><pre style='margin:0'>
</pre>