<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5454aad4db435fff00c6e7251d76a9308388467c">https://github.com/macports/macports-ports/commit/5454aad4db435fff00c6e7251d76a9308388467c</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 5454aad4db4 python pg: tweak .pydistutils.cfg
</span>5454aad4db4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5454aad4db435fff00c6e7251d76a9308388467c
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Dec 22 14:59:24 2020 +1100
<span style='display:block; white-space:pre;color:#404040;'> python pg: tweak .pydistutils.cfg
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This should hopefully give a better error message when dependencies are
</span><span style='display:block; white-space:pre;color:#404040;'> missing, given recent setuptool versions' response to setting
</span><span style='display:block; white-space:pre;color:#404040;'> allow_hosts globally.
</span>---
_resources/port1.0/group/python-1.0.tcl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/python-1.0.tcl b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 7bcdada77e6..1d5076c0a83 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/python-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,8 @@ post-extract {
</span> # Prevent setuptools' easy_install from downloading dependencies
set fs [open $env(HOME)/.pydistutils.cfg w+]
puts $fs {[easy_install]}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $fs {allow_hosts = None}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts $fs {index_url = ''}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts $fs {find_links = ''}
</span> close $fs
# Same for pip
file mkdir $env(HOME)/.config/pip
</pre><pre style='margin:0'>
</pre>