[126771] trunk/dports/python/py-xlutils/Portfile

larryv at macports.org larryv at macports.org
Tue Oct 14 19:01:34 PDT 2014


Revision: 126771
          https://trac.macports.org/changeset/126771
Author:   larryv at macports.org
Date:     2014-10-14 19:01:34 -0700 (Tue, 14 Oct 2014)
Log Message:
-----------
py-xlutils: Reformat and rearrange

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

Modified: trunk/dports/python/py-xlutils/Portfile
===================================================================
--- trunk/dports/python/py-xlutils/Portfile	2014-10-15 01:41:02 UTC (rev 126770)
+++ trunk/dports/python/py-xlutils/Portfile	2014-10-15 02:01:34 UTC (rev 126771)
@@ -1,37 +1,35 @@
 # -*- 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
+PortSystem          1.0
+PortGroup           python 1.0
 
-name            py-xlutils
-version         1.5.2
-platforms       darwin
-supported_archs noarch
-python.versions	25 26 27
+name                py-xlutils
+version             1.5.2
+platforms           darwin
+license             MIT
+maintainers         nomaintainer
 
-maintainers     nomaintainer
-license         MIT
-description     Utilities for working with Excel files
-long_description \
-   This package provides a collection of utilities for working with Excel files.
+supported_archs     noarch
 
-homepage        http://www.python-excel.org
-master_sites    http://pypi.python.org/packages/source/x/xlutils/
-distname        xlutils-${version}
+description         Utilities for working with Excel files
+long_description    This package provides a collection of utilities for working with Excel files.
+homepage            http://www.python-excel.org
+
+master_sites        http://pypi.python.org/packages/source/x/xlutils/
+distname            xlutils-${version}
 checksums           rmd160  32724d2d6cb1e35b8a0d64ddb53c7095643afd34 \
                     sha256  5b8f2bc41983722a63009c0ab6216227d6bbc0a0f945c9cab33cd1ebac7666d0
 
-if {${name} ne ${subport}} {
-    depends_run     port:py${python.version}-xlrd \
-        port:py${python.version}-xlwt\
-        port:py${python.version}-errorhandler
-}
+python.versions     25 26 27
 
-if {${name} eq ${subport}} {
+if {${name} ne ${subport}} {
+    depends_run     port:py${python.version}-errorhandler \
+                    port:py${python.version}-xlrd \
+                    port:py${python.version}-xlwt
+    livecheck.type  none
+} else {
     livecheck.type     regex
     livecheck.url      http://pypi.python.org/pypi/xlutils
     livecheck.regex    xlutils-(\[1-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
-} else {
-    livecheck.type		none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141014/656ebdbe/attachment.html>


More information about the macports-changes mailing list