<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/cc99b46b2bbf7d8a0890528ebee8418ad37d3db4">https://github.com/macports/macports-ports/commit/cc99b46b2bbf7d8a0890528ebee8418ad37d3db4</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 cc99b46 py-flake8: update to 3.6.0
</span>cc99b46 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cc99b46b2bbf7d8a0890528ebee8418ad37d3db4
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Wed Oct 24 22:11:44 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-flake8: update to 3.6.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - remove no longer needed patches
</span><span style='display:block; white-space:pre;color:#404040;'> - use https for homepage
</span><span style='display:block; white-space:pre;color:#404040;'> - make use of python.rootname
</span>---
python/py-flake8/Portfile | 37 +++++++------------
python/py-flake8/files/patch-pr230.diff | 33 -----------------
python/py-flake8/files/patch-pr239.diff | 65 ---------------------------------
3 files changed, 13 insertions(+), 122 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-flake8/Portfile b/python/py-flake8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a6d0520..07f4b80 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-flake8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-flake8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,8 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name flake8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _n [string index ${_name} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-flake8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.6.0
</span> categories-append devel
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,23 +22,18 @@ long_description \
</span> output, features Git and Mercurial hook and is extendable through \
flake8.extension entry points.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://flake8.readthedocs.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://flake8.readthedocs.org/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${_name}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:${_n}/${_name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${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:#ffe0e0;'>-checksums rmd160 4533c09c33394ca31ab081ed09f370dfac415882 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7253265f7abd8b313e3892944044a365e3f4ac3fcdcfb4298f55ee9ddf188ba0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 140608
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 991d42b9e138b0368bc0670cdb5cdef483bb713e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6a35f5b8761f45c5513e3405f110a86bea57982c3b75b766ce7b65217abe1670 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 144684
</span>
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # apply upstream patches so that flake8 works with latest versions of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # pycodestyle and py-flakes [remove when new version is released]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-pr230.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-pr239.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append port:py${python.version}-pytest-runner
depends_lib-append port:py${python.version}-setuptools \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,16 +41,15 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-codestyle \
port:py${python.version}-flake8-mccabe
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Additional dependencies for Python 2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${python.version} < 30 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${python.version} eq 27 } {
</span> depends_lib-append port:py${python.version}-configparser \
port:py${python.version}-enum34
}
<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:#ffe0e0;'>- select.file ${filespath}/${_name}-${python.version}
</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 flake8 the one that is run\
when you execute the commands without a version suffix, e.g. 'flake8', run:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +79,5 @@ port select --set ${select.group} [file tail ${select.file}]
</span>
livecheck.type none
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type pypi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.name flake8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.name ${python.rootname}
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-flake8/files/patch-pr230.diff b/python/py-flake8/files/patch-pr230.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 809d7b5..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-flake8/files/patch-pr230.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,33 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2018-08-17 12:10:13.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2018-08-17 12:11:22.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22,7 +22,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # And in which releases we will update those ranges here:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "pyflakes >= 1.5.0, < 1.7.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "pycodestyle >= 2.0.0, < 2.4.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "pycodestyle >= 2.0.0, < 2.5.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "mccabe >= 0.6.0, < 0.7.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "setuptools >= 30",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -108,7 +108,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('module_imports_on_top_of_file'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('compound_statements'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('explicit_line_join'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PEP8_PLUGIN('break_around_binary_operator'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PEP8_PLUGIN('break_after_binary_operator'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PEP8_PLUGIN('break_before_binary_operator'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('comparison_to_singleton'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('comparison_negative'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PEP8_PLUGIN('comparison_type'),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.cfg.orig 2018-08-17 12:10:05.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.cfg 2018-08-17 12:10:31.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -9,7 +9,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- enum34; python_version<"3.4"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configparser; python_version<"3.2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pyflakes >= 1.5.0, < 1.7.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- pycodestyle >= 2.0.0, < 2.4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ pycodestyle >= 2.0.0, < 2.5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mccabe >= 0.6.0, < 0.7.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [egg_info]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-flake8/files/patch-pr239.diff b/python/py-flake8/files/patch-pr239.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 59b1a1e..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-flake8/files/patch-pr239.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,65 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2018-08-17 12:14:39.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2018-08-17 12:15:09.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -21,7 +21,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # And in which releases we will update those ranges here:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "pyflakes >= 1.5.0, < 1.7.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "pyflakes >= 2.0.0, < 2.1.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "pycodestyle >= 2.0.0, < 2.5.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "mccabe >= 0.6.0, < 0.7.0",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "setuptools >= 30",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.cfg.orig 2018-08-17 12:14:51.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.cfg 2018-08-17 12:15:24.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -8,7 +8,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- requires-dist =
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- enum34; python_version<"3.4"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configparser; python_version<"3.2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- pyflakes >= 1.5.0, < 1.7.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ pyflakes >= 2.0.0, < 2.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pycodestyle >= 2.0.0, < 2.5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mccabe >= 0.6.0, < 0.7.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- docs/source/user/error-codes.rst.orig 2018-08-17 12:19:12.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ docs/source/user/error-codes.rst 2018-08-17 12:18:49.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -54,6 +54,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +------+---------------------------------------------------------------------+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | F707 | an ``except:`` block as not the last exception handler |
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +------+---------------------------------------------------------------------+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+| F721 | doctest syntax error |
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-++------+---------------------------------------------------------------------+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+| F722 | syntax error in forward type annotation |
</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;'>- | F811 | redefinition of unused ``name`` from line ``N`` |
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +------+---------------------------------------------------------------------+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -69,6 +73,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +------+---------------------------------------------------------------------+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | F841 | local variable ``name`` is assigned to but never used |
</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;'>-+| F901 | ``raise NotImplemented`` should be ``raise NotImplementedError`` |
</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;'>- Note that some of these entries behave differently on Python 2 and Python 3,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for example F812 is specific to Python 2 only.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/flake8/plugins/pyflakes.py.orig 2018-08-17 12:21:07.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/flake8/plugins/pyflakes.py 2018-08-17 12:21:48.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -38,6 +38,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'ReturnOutsideFunction': 'F706',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'DefaultExceptNotLast': 'F707',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'DoctestSyntaxError': 'F721',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 'ForwardAnnotationSyntaxError': 'F722',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'RedefinedWhileUnused': 'F811',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'RedefinedInListComp': 'F812',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'UndefinedName': 'F821',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -45,6 +46,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'UndefinedLocal': 'F823',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'DuplicateArgument': 'F831',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'UnusedVariable': 'F841',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 'RaiseNotImplemented': 'F901',
</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></pre><pre style='margin:0'>
</pre>