<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/efc0800fe9b74cde0e8bb8b3688569d29190ac69">https://github.com/macports/macports-ports/commit/efc0800fe9b74cde0e8bb8b3688569d29190ac69</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 efc0800 itstool: update to version 2.0.6, default to +python27
</span>efc0800 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit efc0800fe9b74cde0e8bb8b3688569d29190ac69
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Mar 11 18:10:31 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> itstool: update to version 2.0.6, default to +python27
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Variant +python37 is included but should be considered experimental
</span><span style='display:block; white-space:pre;color:#404040;'> as a few bugs still exist.
</span>---
textproc/itstool/Portfile | 34 +++++++++++++++++++----------
textproc/itstool/files/patch-configure.diff | 15 ++-----------
2 files changed, 25 insertions(+), 24 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/itstool/Portfile b/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a7b267a..666dbc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,13 +3,8 @@
</span> PortSystem 1.0
name itstool
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# reverted from version 2.0.3 to 2.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 2.0.3 has severe memory usage/performance issues
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 2.0.4 crashes due to improper libxml2 memory management issues
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# upstream looking to 2.0.5 for a (yet undetermined) fix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span> epoch 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.0.6
</span> license GPL-3+
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,19 +21,36 @@ master_sites http://files.itstool.org/${name}
</span>
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 04531d2a4a8c5fef3b77888cb267063af2cb2917 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 536ebd2f700485fa7ebba81656eee703495b24e6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 103067
</span>
supported_archs noarch
installs_libs no
depends_build port:gawk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:py27-libxml2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> patchfiles patch-configure.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python37 description {Use Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py27-libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 description {Use Python 3.7 (experimental, still a few bugs)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py37-libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
livecheck.type regex
livecheck.url http://itstool.org/download/
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/itstool/files/patch-configure.diff b/textproc/itstool/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 452825c..43d85cb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/itstool/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/itstool/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2014-02-26 10:38:45.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2014-02-26 10:38:53.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2018-10-28 13:57:57.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2019-01-11 13:10:27.000000000 -0800
</span> @@ -2466,9 +2466,9 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,14 +12,3 @@
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2600,8 +2600,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py_module=libxml2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module $py_module" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--$as_echo_n "checking for python module $py_module... " >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--echo "import $py_module" | python - &>/dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$as_echo_n "checking for python module $py_module using $PYTHON... " >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+echo "import $py_module" | $PYTHON - &>/dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test $? -ne 0; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $as_echo "not found" >&6; }
</span></pre><pre style='margin:0'>
</pre>