<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/39339495773f50f738c07b4301810ff046d0c543">https://github.com/macports/macports-ports/commit/39339495773f50f738c07b4301810ff046d0c543</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 39339495773f50f738c07b4301810ff046d0c543
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Fri Aug 17 09:45:52 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-codestyle: update to 2.4.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - enable tests
</span><span style='display:block; white-space:pre;color:#404040;'> - removed no longer needed post-extract phase
</span><span style='display:block; white-space:pre;color:#404040;'> - update livecheck and homepage
</span>---
python/py-codestyle/Portfile | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 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 d0926a6..c0460fb 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;'>@@ -12,7 +12,7 @@ name py-codestyle
</span> # 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.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.4.0
</span> categories-append devel
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,27 +25,20 @@ long_description \
</span> conventions in PEP 8 (https://www.python.org/dev/peps/pep-0008/). \
This package used to be called pep8, but was renamed.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/${_name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pycodestyle.readthedocs.io
</span>
master_sites pypi:[string index ${_name} 0]/${_name}/
distname ${_name}-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 240e342756af30cae0983b16303a2055 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 beb5e00fdd74e3811a180959bac9c2abfb7cbea0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 1a0281bb62c0a409e2318b6eb3b25e84c9840f8e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 96665
</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;'>- # fix wrong file permissions of the distfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse f ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file attributes ${f} -permissions a+r
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_run-append port:${_name}_select
select.group ${_name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,9 +50,12 @@ when you execute the commands without a version suffix, e.g. '${_name}', run:
</span> port select --set ${select.group} [file tail ${select.file}]
"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} pycodestyle.py --testsuite testsuite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
<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/${_name}/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type pypi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.name pycodestyle
</span> }
</pre><pre style='margin:0'>
</pre>