<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/921d1206e613d7ecfbd1e987fa10f4b6adb2e1cf">https://github.com/macports/macports-ports/commit/921d1206e613d7ecfbd1e987fa10f4b6adb2e1cf</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 921d120  davix: Fix livecheck and python version
</span>921d120 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 921d1206e613d7ecfbd1e987fa10f4b6adb2e1cf
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Jan 26 13:46:53 2019 +0000

<span style='display:block; white-space:pre;color:#404040;'>    davix: Fix livecheck and python version
</span>---
 net/davix/Portfile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/davix/Portfile b/net/davix/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4bfea63..e9d4357 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/davix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/davix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,16 +11,17 @@ github.setup        cern-fts davix 0.7.1 v
</span> version             ${github.version}
 revision            0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        ${github.homepage}/releases/download/R_[string map {. _} ${github.version}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set davix_tag       [string map {. _} ${github.version}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        ${github.homepage}/releases/download/R_${davix_tag}
</span> 
 checksums           rmd160  760e6dd707c262b68d38f35df621cfe08dbe81eb \
                     sha256  0d13c21d5d4ef9194313ae4cfba8095ac5a4272f276993c43103f833514f206b \
                     size    4336124
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.version   ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version   ${davix_tag}
</span> livecheck.type      regex
 livecheck.url       ${github.homepage}/tags
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex     v(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex     R_(\[0-9_\]+)${extract.suffix}
</span> 
 categories          net
 maintainers         {jonesc @cjones051073} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,18 +37,21 @@ long_description    Davix aims to make the task of managing files over \
</span> license             LGPL-2.1
 platforms           darwin
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver          3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_no_dot   [join [split ${py_ver} "."] ""]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib         port:libxml2 \
                     port:openssl \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:python36 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:python${py_ver_no_dot} \
</span>                     port:pkgconfig
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python${py_ver}
</span> 
 pre-configure {
     # Force use of system python in build scripts
     # Find command finds text files containing the string to be replaced.
     set pystringtoreplace "/usr/bin/env python2"
     foreach f [ exec find ${worksrcpath} -type f -and -name "*.py" ] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace -q "s|${pystringtoreplace}|/usr/bin/python|g" $f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace -q "s|${pystringtoreplace}|${prefix}/bin/python${py_ver}|g" $f
</span>     }
 }
</pre><pre style='margin:0'>

</pre>