[104545] trunk/dports/python/py-genshi/Portfile

stromnov at macports.org stromnov at macports.org
Wed Mar 27 08:10:04 PDT 2013


Revision: 104545
          https://trac.macports.org/changeset/104545
Author:   stromnov at macports.org
Date:     2013-03-27 08:10:04 -0700 (Wed, 27 Mar 2013)
Log Message:
-----------
py-genshi: reformat Portfile

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

Modified: trunk/dports/python/py-genshi/Portfile
===================================================================
--- trunk/dports/python/py-genshi/Portfile	2013-03-27 14:43:59 UTC (rev 104544)
+++ trunk/dports/python/py-genshi/Portfile	2013-03-27 15:10:04 UTC (rev 104545)
@@ -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
@@ -2,9 +3,17 @@
 PortGroup           python 1.0
+
 name                py-genshi
 version             0.6
 revision            1
 categories-append   textproc www
+platforms           darwin
 license             BSD
+supported_archs     noarch
+
+python.versions     25 26 27
+
 maintainers         nomaintainer
+
 description         Python toolkit for generation of output for the web
+
 long_description \
@@ -14,21 +23,19 @@
    for parsing, generating, and processing HTML, XML or other textual \
    content for output generation on the web.
 
-platforms           darwin
-supported_archs     noarch
-
 homepage            http://genshi.edgewall.org/
 master_sites        http://ftp.edgewall.com/pub/genshi/
+
 distname            Genshi-${version}
 
 checksums           md5     604e8b23b4697655d36a69c2d8ef7187 \
                     sha1    8b4d5d43dc614bc83de49c5be1c3b8a3908a8062 \
                     rmd160  bca068da7956f03358d2f46cb4616e06506b8ae9
 
-python.default_version   27
-python.versions     25 26 27
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     Genshi-(\\d+(?:\\.\\d+)*)\.tar
-
+if {$subport != $name} {
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     Genshi-(\\d+(?:\\.\\d+)*)\.tar
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130327/1d676ed9/attachment.html>


More information about the macports-changes mailing list