Hi,

Here's an update to latest pep8.

ChangeLog:
- Reverted the fix in #368, “options passed on command line are only
  ones accepted” feature. This has many unintended consequences in
  pep8 and flake8 and needs to be reworked when I have more time. (Note
  from myself: this is the patch we had).
- Added support for Python 3.5. (Issue #420 & #459)
- Added support for multi-line config_file option parsing. (Issue #429)
- Improved parameter parsing. (Issues #420 & #456)

Bugs:
- Fixed BytesWarning on Python 3. (Issue #459)

make test on amd64 and i386 are fine. make test with devel/flake8 (its
only RDEP) doesn't change.

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/pep8/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile    24 Dec 2015 20:22:37 -0000      1.11
+++ Makefile    26 Mar 2016 17:51:20 -0000
@@ -2,9 +2,8 @@
 
 COMMENT =              python style guide checker
 
-MODPY_EGG_VERSION =    1.6.2
+MODPY_EGG_VERSION =    1.7.0
 DISTNAME =             pep8-${MODPY_EGG_VERSION}
-REVISION =             0
 
 CATEGORIES =           devel
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/pep8/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    26 Oct 2015 06:09:22 -0000      1.5
+++ distinfo    26 Mar 2016 17:51:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (pep8-1.6.2.tar.gz) = uLfjVjC1U54moZffxgBb6eHpoTVJazd3I6jrwBuby/8=
-SIZE (pep8-1.6.2.tar.gz) = 74534
+SHA256 (pep8-1.7.0.tar.gz) = oRPV9a16errO+d9ew/KvI6IKKABZIVd7Fd1YTQmdWQA=
+SIZE (pep8-1.7.0.tar.gz) = 79704
Index: patches/patch-pep8_py
===================================================================
RCS file: patches/patch-pep8_py
diff -N patches/patch-pep8_py
--- patches/patch-pep8_py       24 Dec 2015 20:22:37 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,46 +0,0 @@
-$OpenBSD: patch-pep8_py,v 1.1 2015/12/24 20:22:37 shadchin Exp $
-Reverted a change which had unintended repercussions in flake8.
-Refs:
- - https://mail.python.org/pipermail/code-quality/2015-March/000515.html
- - 
https://github.com/PyCQA/pep8/commit/435d1cbf995a659a82d1d4b42d25e3459556ef21
---- pep8.py.orig       Thu Dec 24 05:59:45 2015
-+++ pep8.py    Thu Dec 24 06:01:15 2015
-@@ -1984,24 +1984,24 @@ def read_config(options, args, arglist, parser):
- 
-     local_dir = os.curdir
- 
-+    if USER_CONFIG and os.path.isfile(USER_CONFIG):
-+        if options.verbose:
-+            print('user configuration: %s' % USER_CONFIG)
-+        config.read(USER_CONFIG)
-+
-+    parent = tail = args and os.path.abspath(os.path.commonprefix(args))
-+    while tail:
-+        if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
-+            local_dir = parent
-+            if options.verbose:
-+                print('local configuration: in %s' % parent)
-+            break
-+        (parent, tail) = os.path.split(parent)
-+
-     if cli_conf and os.path.isfile(cli_conf):
-         if options.verbose:
-             print('cli configuration: %s' % cli_conf)
-         config.read(cli_conf)
--    else:
--        if USER_CONFIG and os.path.isfile(USER_CONFIG):
--            if options.verbose:
--                print('user configuration: %s' % USER_CONFIG)
--            config.read(USER_CONFIG)
--
--        parent = tail = args and os.path.abspath(os.path.commonprefix(args))
--        while tail:
--            if config.read(os.path.join(parent, fn) for fn in PROJECT_CONFIG):
--                local_dir = parent
--                if options.verbose:
--                    print('local configuration: in %s' % parent)
--                break
--            (parent, tail) = os.path.split(parent)
- 
-     pep8_section = parser.prog
-     if config.has_section(pep8_section):

Reply via email to