Revision
141247
Author
petr@macports.org
Date
2015-10-13 07:12:29 -0700 (Tue, 13 Oct 2015)

Log Message

py-pep8-157: new port of pep8-157 @1.5.7 as by py-flake8, fixes #47429

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-pep8/Portfile (141246 => 141247)


--- trunk/dports/python/py-pep8/Portfile	2015-10-13 13:15:28 UTC (rev 141246)
+++ trunk/dports/python/py-pep8/Portfile	2015-10-13 14:12:29 UTC (rev 141247)
@@ -5,8 +5,11 @@
 PortGroup           python 1.0
 PortGroup           select 1.0
 
+set realname        pep8
+
 name                py-pep8
-set realname        pep8
+conflicts           py-pep8-157
+
 version             1.6.2
 categories-append   devel
 platforms           darwin

Property changes: trunk/dports/python/py-pep8-157


Added: svn:mergeinfo

/trunk/dports/python/py-pep8:133981-135342

Modified: trunk/dports/python/py-pep8-157/Portfile (130662 => 141247)


--- trunk/dports/python/py-pep8/Portfile	2015-01-02 06:28:13 UTC (rev 130662)
+++ trunk/dports/python/py-pep8-157/Portfile	2015-10-13 14:12:29 UTC (rev 141247)
@@ -5,19 +5,24 @@
 PortGroup           python 1.0
 PortGroup           select 1.0
 
-name                py-pep8
 set realname        pep8
+
+name                py-pep8-157
+conflicts           py-pep8
+
 version             1.5.7
 categories-append   devel
 platforms           darwin
 supported_archs     noarch
 license             MIT
-maintainers         gmail.com:patrik.hartlen openmaintainer
+maintainers         petr openmaintainer
 
 description         Python style guide checker
-long_description    pep8 is a tool to check your Python code against \
-                    some of the style conventions in PEP 8 \
-                    (http://www.python.org/dev/peps/pep-0008/)
+long_description    \
+    pep8 is a tool to check your Python code against some of the style \
+    conventions in PEP 8 (http://www.python.org/dev/peps/pep-0008/). \
+    This port is pinned to version 1.5.7 required for compatibility with \
+    py-flake8.
 
 homepage            https://pypi.python.org/pypi/${realname}/
 
@@ -26,7 +31,7 @@
 checksums           rmd160  21cb6831c8f239d86e46459f5e0e20cf4a4d95a2 \
                     sha256  15b42131b25f376165d195fe4e17b0a28311182aaf9330d5eb575bbeda5a6989
 
-python.versions     26 27 33 34
+python.versions     27 34
 
 if {${name} ne ${subport}} {
     depends_lib-append      port:py${python.version}-setuptools
@@ -43,6 +48,6 @@
     livecheck.type  none
 } else {
     livecheck.type  regex
-    livecheck.url   [lindex ${master_sites} 0]
-    livecheck.regex ">${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+    livecheck.url   https://pypi.python.org/pypi/${realname}/json
+    livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
 }

Deleted: trunk/dports/python/py-pep8-157/files/pep826 (130662 => 141247)


--- trunk/dports/python/py-pep8/files/pep826	2015-01-02 06:28:13 UTC (rev 130662)
+++ trunk/dports/python/py-pep8-157/files/pep826	2015-10-13 14:12:29 UTC (rev 141247)
@@ -1 +0,0 @@
-bin/pep8-2.6

Deleted: trunk/dports/python/py-pep8-157/files/pep833 (130662 => 141247)


--- trunk/dports/python/py-pep8/files/pep833	2015-01-02 06:28:13 UTC (rev 130662)
+++ trunk/dports/python/py-pep8-157/files/pep833	2015-10-13 14:12:29 UTC (rev 141247)
@@ -1 +0,0 @@
-bin/pep8-3.3