[101532] trunk/dports/python/py-pep8/Portfile

larryv at macports.org larryv at macports.org
Sat Jan 12 21:06:21 PST 2013


Revision: 101532
          https://trac.macports.org/changeset/101532
Author:   larryv at macports.org
Date:     2013-01-12 21:06:21 -0800 (Sat, 12 Jan 2013)
Log Message:
-----------
py-pep8: Add modeline; tweak whitespace and formatting.

Modified Paths:
--------------
    trunk/dports/python/py-pep8/Portfile

Modified: trunk/dports/python/py-pep8/Portfile
===================================================================
--- trunk/dports/python/py-pep8/Portfile	2013-01-13 04:58:48 UTC (rev 101531)
+++ trunk/dports/python/py-pep8/Portfile	2013-01-13 05:06:21 UTC (rev 101532)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -5,31 +6,33 @@
 PortGroup           select 1.0
 
 name                py-pep8
-set realname       pep8
+set realname        pep8
 version             1.4
-python.versions     26 27 31 32 33
 categories-append   devel
 platforms           darwin
 license             MIT
 maintainers         gmail.com:patrik.hartlen 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/)
 
 homepage            http://pypi.python.org/pypi/${realname}
+
 master_sites        http://pypi.python.org/packages/source/p/${realname}
 distname            ${realname}-${version}
-
 checksums           rmd160  bbbfbf9312ce690b38bd2a242d4d17747053222c \
                     sha256  3fbaedba1f61b40760366325825dc36a8fb60a86690f4bec2e1da2e807cbb187
 
+python.versions     26 27 31 32 33
+
 if {${subport} != ${name}} {
-    depends_build-append  port:py${python.version}-distribute
-    depends_run-append    port:py${python.version}-distribute \
-                          port:${realname}_select
-    select.group          ${realname}
-    select.file           ${filespath}/${realname}${python.version}
+    depends_build-append    port:py${python.version}-distribute
+    depends_run-append      port:py${python.version}-distribute \
+                            port:${realname}_select
+    select.group            ${realname}
+    select.file             ${filespath}/${realname}${python.version}
     notes "
 To make the Python ${python.branch} version of pep8 the one that is run\
 when you execute the commands without a version suffix, e.g. 'pep8', run:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130112/5fa0f261/attachment.html>


More information about the macports-changes mailing list