<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-contrib.
</pre>
<p><a href="https://github.com/macports/macports-contrib/commit/aac8f1b1e2012cd5472f41e119a7e61435544e6d">https://github.com/macports/macports-contrib/commit/aac8f1b1e2012cd5472f41e119a7e61435544e6d</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 aac8f1b pypi2port: Fix detection of pypi master_site
</span>aac8f1b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aac8f1b1e2012cd5472f41e119a7e61435544e6d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri May 11 19:15:10 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> pypi2port: Fix detection of pypi master_site
</span>---
pypi2port/pypi2port.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pypi2port/pypi2port.py b/pypi2port/pypi2port.py
</span><span style='display:block; white-space:pre;color:#808080;'>index 1e436b9..dcfa932 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pypi2port/pypi2port.py
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pypi2port/pypi2port.py
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -557,7 +557,7 @@ def create_portfile(dict, file_name, dict2):
</span> zip_set = False
if master_site:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if re.match('^https?://pypi.python.org/packages/', master_site):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if re.match('^https?://files\.pythonhosted\.org/packages/', master_site):
</span> file.write('master_sites pypi:{0}/{1}\n'.format(dict['name'][0], dict['name']))
else:
file.write('master_sites {0}\n'.format(master_site))
</pre><pre style='margin:0'>
</pre>