<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-contrib.
</pre>
<p><a href="https://github.com/macports/macports-contrib/commit/1a04ff98afd5d00de6f2cb42abd61a19b07aa4d7">https://github.com/macports/macports-contrib/commit/1a04ff98afd5d00de6f2cb42abd61a19b07aa4d7</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 1a04ff9 pypi2port.py: put parens after some prints, kill trailing whitespace
</span>1a04ff9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1a04ff98afd5d00de6f2cb42abd61a19b07aa4d7
</span>Author: Perry E. Metzger <perry@piermont.com>
AuthorDate: Sat Jul 14 10:59:49 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> pypi2port.py: put parens after some prints, kill trailing whitespace
</span>---
pypi2port/pypi2port.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
<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 dcfa932..a779d89 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;'>@@ -9,14 +9,14 @@ Redistribution and use in source and binary forms, with or without modification,
</span>
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
</span> in the documentation and/or other materials provided with the distribution.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
</span> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -132,9 +132,9 @@ def fetch(pkg_name, dict):
</span> # toolbar_width = int(file_size/block_sz)+1
toolbar_width = 30
# sys.stdout.write("["+"-"*int(file_size_dl/block_sz)+pattern[patternIndex]+" "*int((file_size-file_size_dl)/block_sz-1)+"] "+" "+"(%5d Kb of %5d Kb)"% (file_size_dl, file_size))
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print file_size
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print(file_size)
</span> incr = int(file_size/50)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print incr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print(incr)
</span> count = 0
left = 49
sys.stdout.write("["+"-"*int(count)+pattern[patternIndex]+" "*int(left)+"]"+"(%5d Kb of %5d Kb)"% (file_size_dl, file_size))
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -581,7 +581,7 @@ def create_portfile(dict, file_name, dict2):
</span> first=False
else:
file.write(' \\\n')
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file.write(' ')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file.write(' ')
</span> file.write('{0: <6} {1}'.format(chk, checksums_values[chk]))
file.write('\n\n')
else:
</pre><pre style='margin:0'>
</pre>