<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/db19162fb74912f6143579a7949cb520175f0c6f">https://github.com/macports/macports-ports/commit/db19162fb74912f6143579a7949cb520175f0c6f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit db19162fb74912f6143579a7949cb520175f0c6f
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sat May 25 14:11:59 2019 +0800

<span style='display:block; white-space:pre;color:#404040;'>    py-mitmproxy: add a variant to enable the onboarding app via older Tornado
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Bump revision so that all mitmproxy users will know the current
</span><span style='display:block; white-space:pre;color:#404040;'>    situation.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Ref: https://github.com/mitmproxy/mitmproxy/issues/3513
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/58343
</span>---
 python/py-mitmproxy/Portfile | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-mitmproxy/Portfile b/python/py-mitmproxy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cad58ea..81d834a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-mitmproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-mitmproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           github 1.0
</span> 
 
 github.setup        mitmproxy mitmproxy 4.0.4 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            3
</span> 
 name                py-${github.project}
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,6 +88,22 @@ if {${name} ne ${subport}} {
</span>               --ignore=test/mitmproxy/net/test_tcp.py \
               --ignore=test/mitmproxy/net/test_tls.py
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    variant onboardingapp description {Enable the onboarding app} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        patchfiles-delete       no-onboarding.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-replace     port:py${python.version}-tornado \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                port:py${python.version}-tornado5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        test.args-delete        --ignore=test/mitmproxy/addons/test_onboarding.py
</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 onboardingapp]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        notes {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            The onboarding app (for intercepting http://mitm.it and serving MITM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            CA certificates) is disabled by default due to incompatibility with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            Tornado 6.x. Please use the +onboardingapp variant to install older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            Tornado and enable them.
</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;'>+
</span>     livecheck.type  none
 } else {
     livecheck.type  pypi
</pre><pre style='margin:0'>

</pre>