<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/bafa4b407d0b1f0f217eaf68896898a80e2c3855">https://github.com/macports/macports-ports/commit/bafa4b407d0b1f0f217eaf68896898a80e2c3855</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bafa4b407d0b1f0f217eaf68896898a80e2c3855
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Sun Mar 17 18:35:59 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pep8: update to 1.7.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - make use of python.rootname
</span>---
python/py-pep8/Portfile | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pep8/Portfile b/python/py-pep8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 07a7c67..cccbdbe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pep8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pep8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,11 +4,9 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set realname pep8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> name py-pep8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.7.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.7.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories-append devel
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,22 +18,23 @@ long_description pep8 is a tool to check your Python code against \
</span> some of the style conventions in PEP 8 \
(https://www.python.org/dev/peps/pep-0008/)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/${realname}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pypi.python.org/pypi/${python.rootname}/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:p/${realname}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:p/${python.rootname}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 2b03109b0618afe3b04b3e63b334ac9d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 bca97f9cd30b21ce1f765b1f4f520747443b5d3e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 603821d06db945c71d811b5a8d78423c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 abf24374d1dfe2f028d5122d54d8dc9fc9a22bba \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 80334
</span>
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append port:${realname}_select
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- select.group ${realname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- select.file ${filespath}/${realname}-${python.version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${python.rootname}_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group ${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/${python.rootname}-${python.version}
</span> notes "
To make the Python ${python.branch} version of pep8 the one that is run\
when you execute the commands without a version suffix, e.g. 'pep8', run:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,8 +43,4 @@ port select --set ${select.group} [file tail ${select.file}]
</span> "
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi/${realname}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
</span> }
</pre><pre style='margin:0'>
</pre>