[101808] trunk/dports/python

larryv at macports.org larryv at macports.org
Sat Jan 19 17:01:32 PST 2013


Revision: 101808
          https://trac.macports.org/changeset/101808
Author:   larryv at macports.org
Date:     2013-01-19 17:01:31 -0800 (Sat, 19 Jan 2013)
Log Message:
-----------
py-autopep8: New port (#37628).

Added Paths:
-----------
    trunk/dports/python/autopep8_select/
    trunk/dports/python/autopep8_select/Portfile
    trunk/dports/python/autopep8_select/files/
    trunk/dports/python/autopep8_select/files/base
    trunk/dports/python/autopep8_select/files/none
    trunk/dports/python/py-autopep8/
    trunk/dports/python/py-autopep8/Portfile
    trunk/dports/python/py-autopep8/files/
    trunk/dports/python/py-autopep8/files/autopep826
    trunk/dports/python/py-autopep8/files/autopep827
    trunk/dports/python/py-autopep8/files/autopep831
    trunk/dports/python/py-autopep8/files/autopep832
    trunk/dports/python/py-autopep8/files/autopep833

Added: trunk/dports/python/autopep8_select/Portfile
===================================================================
--- trunk/dports/python/autopep8_select/Portfile	                        (rev 0)
+++ trunk/dports/python/autopep8_select/Portfile	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1,32 @@
+# -*- 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
+PortGroup           select 1.0
+
+name                autopep8_select
+version             0.1
+categories          python
+license             BSD
+platforms           darwin
+supported_archs     noarch
+
+maintainers         gmail.com:patrik.hartlen openmaintainer
+
+description         common files for selecting default autopep8 version
+long_description    This port installs files that allow 'port select' \
+                    to be used to create links to the preferred default \
+                    version of autopep8.
+
+homepage            http://www.macports.org/
+
+distfiles
+use_configure       no
+build               {}
+
+destroot {
+    select::install autopep8 ${filespath}/base
+    select::install autopep8 ${filespath}/none
+}
+
+livecheck.type      none


Property changes on: trunk/dports/python/autopep8_select/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/autopep8_select/files/base
===================================================================
--- trunk/dports/python/autopep8_select/files/base	                        (rev 0)
+++ trunk/dports/python/autopep8_select/files/base	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8

Added: trunk/dports/python/autopep8_select/files/none
===================================================================
--- trunk/dports/python/autopep8_select/files/none	                        (rev 0)
+++ trunk/dports/python/autopep8_select/files/none	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+-

Added: trunk/dports/python/py-autopep8/Portfile
===================================================================
--- trunk/dports/python/py-autopep8/Portfile	                        (rev 0)
+++ trunk/dports/python/py-autopep8/Portfile	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1,44 @@
+# -*- 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
+PortGroup           python 1.0
+PortGroup           select 1.0
+
+name                py-autopep8
+set realname        autopep8
+version             0.8
+categories-append   devel
+platforms           darwin
+license             MIT
+maintainers         gmail.com:patrik.hartlen openmaintainer
+
+description         A tool that automatically formats Python code to \
+                    conform to the PEP 8 style guide
+long_description    autopep8 formats Python code based on the output \
+                    of the pep8_ utility.
+
+homepage            http://pypi.python.org/pypi/${realname}
+
+master_sites        http://pypi.python.org/packages/source/a/${realname}
+distname            ${realname}-${version}
+checksums           rmd160  b071390601a2c8a78d5976f9c36ee3b535121041 \
+                    sha256  b363982590c9f764c1614464a13b1820421e72ddf6d32bb0bbbc5bc3bf14d1a8
+
+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 \
+                            port:py${python.version}-pep8
+    select.group            ${realname}
+    select.file             ${filespath}/${realname}${python.version}
+    notes "
+To make the Python ${python.branch} version of autopep8 the one that is run\
+when you execute the commands without a version suffix, e.g. 'autopep8', run:
+
+    port select --set ${select.group} [file tail ${select.file}]
+"
+
+}


Property changes on: trunk/dports/python/py-autopep8/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py-autopep8/files/autopep826
===================================================================
--- trunk/dports/python/py-autopep8/files/autopep826	                        (rev 0)
+++ trunk/dports/python/py-autopep8/files/autopep826	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8-2.6

Added: trunk/dports/python/py-autopep8/files/autopep827
===================================================================
--- trunk/dports/python/py-autopep8/files/autopep827	                        (rev 0)
+++ trunk/dports/python/py-autopep8/files/autopep827	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8-2.7

Added: trunk/dports/python/py-autopep8/files/autopep831
===================================================================
--- trunk/dports/python/py-autopep8/files/autopep831	                        (rev 0)
+++ trunk/dports/python/py-autopep8/files/autopep831	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8-3.1

Added: trunk/dports/python/py-autopep8/files/autopep832
===================================================================
--- trunk/dports/python/py-autopep8/files/autopep832	                        (rev 0)
+++ trunk/dports/python/py-autopep8/files/autopep832	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8-3.2

Added: trunk/dports/python/py-autopep8/files/autopep833
===================================================================
--- trunk/dports/python/py-autopep8/files/autopep833	                        (rev 0)
+++ trunk/dports/python/py-autopep8/files/autopep833	2013-01-20 01:01:31 UTC (rev 101808)
@@ -0,0 +1 @@
+bin/autopep8-3.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130119/592f7f27/attachment.html>


More information about the macports-changes mailing list