[129209] trunk/dports/python/py-htmlgen/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 8 19:06:39 PST 2014


Revision: 129209
          https://trac.macports.org/changeset/129209
Author:   larryv at macports.org
Date:     2014-12-08 19:06:38 -0800 (Mon, 08 Dec 2014)
Log Message:
-----------
py-htmlgen: Add modeline, rearrange, and reformat

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

Modified: trunk/dports/python/py-htmlgen/Portfile
===================================================================
--- trunk/dports/python/py-htmlgen/Portfile	2014-12-09 02:39:11 UTC (rev 129208)
+++ trunk/dports/python/py-htmlgen/Portfile	2014-12-09 03:06:38 UTC (rev 129209)
@@ -1,45 +1,52 @@
+# -*- 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-htmlgen
-version			2.2
-revision		1
-categories-append	textproc
-license			MIT
-platforms		darwin
-supported_archs	noarch
-maintainers		nomaintainer
-description		python class library for the generation of HTML documents
-long_description	HTMLgen is a class library for the generation of HTML \
-				documents with Python scripts. It's used when you want to \
-				create HTML pages containing information which changes from \
-				time to time. For example, you might want to have a page which \
-				provides an overall system summary of data collected nightly. \
-				Or maybe you have a catalog of data and images that you would \
-				like formed into a spiffy set of web pages for the world to \
-				browse. Python is a great scripting language for these tasks \
-				and with HTMLgen it is very straightforward to construct \
-				objects which are rendered out into consistently structured \
-				web pages. Of course, CGI scripts written in Python can take \
-				advantage of these classes as well.
+name                py-htmlgen
+version             2.2
+revision            1
+categories-append   textproc
+platforms           darwin
+license             MIT
+maintainers         nomaintainer
 
-homepage		http://starship.python.net/crew/friedrich/
-master_sites	freebsd
-distname		HTMLgen
-checksums		md5 cd20f8b63d3215e57289ddbf56c97f48
+description         python class library for the generation of HTML \
+                    documents
+long_description    HTMLgen is a class library for the generation of \
+                    HTML documents with Python scripts. It's used when \
+                    you want to create HTML pages containing \
+                    information which changes from time to time. For \
+                    example, you might want to have a page which \
+                    provides an overall system summary of data \
+                    collected nightly. Or maybe you have a catalog of \
+                    data and images that you would like formed into \
+                    a spiffy set of web pages for the world to browse. \
+                    Python is a great scripting language for these tasks \
+                    and with HTMLgen it is very straightforward to \
+                    construct objects which are rendered out into \
+                    consistently structured web pages. Of course, CGI \
+                    scripts written in Python can take advantage of \
+                    these classes as well.
+homepage            http://starship.python.net/crew/friedrich/
 
-python.versions	24 26
+supported_archs     noarch
 
+master_sites        freebsd
+distname            HTMLgen
+checksums           md5 cd20f8b63d3215e57289ddbf56c97f48
+
+python.versions     24 26
+
 if {${name} ne ${subport}} {
-    post-extract	{
+    post-extract {
         file copy ${filespath}/setup.py ${worksrcpath}
         file delete ${worksrcpath}/installp.py ${worksrcpath}/HTMLtest.py
         reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
     }
 
-    post-destroot	{
+    post-destroot {
         file delete -force ${destroot}${prefix}/share/doc/${subport}
         file copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141208/dbdc9237/attachment.html>


More information about the macports-changes mailing list