[130301] trunk/dports/python/py-celementtree/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 29 17:21:27 PST 2014


Revision: 130301
          https://trac.macports.org/changeset/130301
Author:   larryv at macports.org
Date:     2014-12-29 17:21:27 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py-celementtree: Add modeline, rearrange, reformat

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

Modified: trunk/dports/python/py-celementtree/Portfile
===================================================================
--- trunk/dports/python/py-celementtree/Portfile	2014-12-30 01:21:25 UTC (rev 130300)
+++ trunk/dports/python/py-celementtree/Portfile	2014-12-30 01:21:27 UTC (rev 130301)
@@ -1,44 +1,47 @@
+# -*- 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-celementtree
-version			1.0.5-20051216
-license			MIT BSD
-platforms		darwin
-maintainers		afb openmaintainer
-description		C implementation of the ElementTree API, py-elementtree
-long_description	The cElementTree module is a C implementation of the \
-				ElementTree API. On typical documents, it's 15-20 times faster \
-				than the Python version of ElementTree, and uses 2-5 times \
-				less memory.
+name                py-celementtree
+version             1.0.5-20051216
+license             MIT BSD
+platforms           darwin
+maintainers         afb openmaintainer
 
-homepage		http://effbot.org/zone/celementtree.htm
-master_sites	http://effbot.org/downloads/
-distname		cElementTree-${version}
-checksums		sha1 b36c95fd90d53746424c10db45b102b8fab260b8
-use_zip			yes
+description         C implementation of the ElementTree API, \
+                    py-elementtree
+long_description    The cElementTree module is a C implementation of \
+                    the ElementTree API. On typical documents, it's \
+                    15-20 times faster than the Python version of \
+                    ElementTree, and uses 2-5 times less memory.
+homepage            http://effbot.org/zone/celementtree.htm
 
-python.versions	25 26 27
+master_sites        http://effbot.org/downloads/
+distname            cElementTree-${version}
+use_zip             yes
+checksums           sha1    b36c95fd90d53746424c10db45b102b8fab260b8
 
+python.versions     25 26 27
+
 if {${name} ne ${subport}} {
-	depends_lib-append	port:py${python.version}-elementtree
+    depends_lib-append  port:py${python.version}-elementtree
 
-	test.run		yes
-	test.cmd		${python.bin}
-	test.target		selftest.py
+    test.run            yes
+    test.cmd            ${python.bin}
+    test.target         selftest.py
 
-	post-destroot	{
-		xinstall -m 644 -W ${worksrcpath} CHANGES README \
-			${destroot}${prefix}/share/doc/${subport}
-		xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
-		eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
-			${destroot}${prefix}/share/examples/${subport}
-	}
-	livecheck.type	none
+    post-destroot   {
+        xinstall -m 644 -W ${worksrcpath} CHANGES README \
+            ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
+        eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
+            ${destroot}${prefix}/share/examples/${subport}
+    }
+    livecheck.type      none
 } else {
-	livecheck.type	regex
-	livecheck.url	http://effbot.org/downloads/
-	livecheck.regex	cElementTree-(\[0-9\.-\]+).tar.gz
+    livecheck.type      regex
+    livecheck.url       http://effbot.org/downloads/
+    livecheck.regex     cElementTree-(\[0-9\.-\]+).tar.gz
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/c1d00303/attachment.html>


More information about the macports-changes mailing list