<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6fd1026ed3fd853af2dfbca01143a23b48a5ceff">https://github.com/macports/macports-ports/commit/6fd1026ed3fd853af2dfbca01143a23b48a5ceff</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6fd1026ed3fd853af2dfbca01143a23b48a5ceff
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Sat Feb 2 12:08:41 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-codestyle: update to 2.5.0, fix tests
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - fix command to run tests
</span><span style='display:block; white-space:pre;color:#404040;'> - use python.rootname variable
</span><span style='display:block; white-space:pre;color:#404040;'> - use default PyPI livecheck
</span>---
python/py-codestyle/Portfile | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-codestyle/Portfile b/python/py-codestyle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c0460fb..9d6e224 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-codestyle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-codestyle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,15 +4,14 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name pycodestyle
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> name py-codestyle
<span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname pycodestyle
</span>
# CAUTION: Updates tend to break port `py-flake8` due to strict version caps.
# Please DO NOT update without cross-checking version compatibility and
# perform updates in a coordinated way.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.0
</span> categories-append devel
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,41 +20,38 @@ maintainers {petr @petrrr} openmaintainer
</span>
description Python style guide checker (formally called pep8)
long_description \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${_name} is a tool to check your Python code against some of the style \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${python.rootname} is a tool to check your Python code against some of the style \
</span> conventions in PEP 8 (https://www.python.org/dev/peps/pep-0008/). \
This package used to be called pep8, but was renamed.
homepage https://pycodestyle.readthedocs.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:[string index ${_name} 0]/${_name}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:[string index ${python.rootname} 0]/${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 rmd160 1a0281bb62c0a409e2318b6eb3b25e84c9840f8e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 96665
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 aa9a73b35c6bd921be4eb8c3a5bcd3cd09e20fd8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 98802
</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:${_name}_select
</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:#ffe0e0;'>- select.group ${_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group ${python.rootname}
</span> select.file ${filespath}/pycodestyle-py${python.version}
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-To make the Python ${python.branch} version of ${_name} the one that is run\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-when you execute the commands without a version suffix, e.g. '${_name}', run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To make the Python ${python.branch} version of ${python.rootname} the one that is run\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+when you execute the commands without a version suffix, e.g. '${python.rootname}', run:
</span>
port select --set ${select.group} [file tail ${select.file}]
"
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd ${python.bin} pycodestyle.py --testsuite testsuite
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target test
</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 pypi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.name pycodestyle
</span> }
</pre><pre style='margin:0'>
</pre>