<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4a55d55440bda47c695cf5cf71cd6e66dc0fee4f">https://github.com/macports/macports-ports/commit/4a55d55440bda47c695cf5cf71cd6e66dc0fee4f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4a55d55440bda47c695cf5cf71cd6e66dc0fee4f
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Feb 28 03:44:59 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> bowtie2: allow greater control of Python version
</span>---
science/bowtie2/Portfile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/bowtie2/Portfile b/science/bowtie2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e36e912..31b9637 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/bowtie2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/bowtie2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,9 +31,12 @@ checksums rmd160 32fd950a84a901edc8db34a9939c2a7e8c82b8ef \
</span>
patchfiles patch-src-Makefile.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set python.version 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_ver_dot [join [split ${python.version} {}] "."]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace -W ${worksrcpath} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|^#!/usr/bin/env python\$|#!${prefix}/bin/python${python_ver_dot}|" \
</span> bowtie2-build \
bowtie2-inspect
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +48,7 @@ installs_libs no
</span> depends_lib-append port:zlib \
port:tbb
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run-append port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:python${python.version}
</span>
configure.cmd printenv
configure.pre_args
</pre><pre style='margin:0'>
</pre>