Revision: 74552 http://trac.macports.org/changeset/74552 Author: jmr@macports.org Date: 2010-12-21 11:11:25 -0800 (Tue, 21 Dec 2010) Log Message: ----------- py26-tkinter: whitespace, modeline Modified Paths: -------------- trunk/dports/python/py26-tkinter/Portfile Modified: trunk/dports/python/py26-tkinter/Portfile =================================================================== --- trunk/dports/python/py26-tkinter/Portfile 2010-12-21 19:09:01 UTC (rev 74551) +++ trunk/dports/python/py26-tkinter/Portfile 2010-12-21 19:11:25 UTC (rev 74552) @@ -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 @@ -3,37 +4,37 @@ PortGroup python26 1.0 -name py26-tkinter -version 2.6.6 -categories python graphics -platforms darwin -maintainers nomaintainer -description Python bindings to the Tk widget set -long_description ${description} +name py26-tkinter +version 2.6.6 +categories python graphics +platforms darwin +maintainers nomaintainer +description Python bindings to the Tk widget set +long_description ${description} -homepage http://www.python.org/doc/current/lib/module-Tkinter.html -master_sites http://www.python.org/ftp/python/${version}/ -distname Python-${version} -dist_subdir python26 +homepage http://www.python.org/doc/current/lib/module-Tkinter.html +master_sites http://www.python.org/ftp/python/${version}/ +distname Python-${version} +dist_subdir python26 checksums md5 cf4e6881bb84a7ce6089e4a307f71f14 \ sha1 a1daf2c2c7cffe0939c015260447572fe75c7e50 \ rmd160 2d63f4f0ad3c124a8e62215ca94bd0231350e912 -use_bzip2 yes +use_bzip2 yes -depends_lib-append port:tk +depends_lib-append port:tk -worksrcdir ${worksrcdir}/Modules +worksrcdir ${worksrcdir}/Modules -extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ - ${distname}/Modules/tkappinit.c" +extract.post_args "| tar -xf - ${distname}/Modules/_tkinter.c \ + ${distname}/Modules/tkappinit.c" post-extract { - file copy ${filespath}/setup.py ${worksrcpath} + file copy ${filespath}/setup.py ${worksrcpath} } configure { - reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py - reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py + reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py + reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py } -livecheck.type regex -livecheck.url http://www.python.org/download/releases/ -livecheck.regex Python (2.6.\[0-9\]+) +livecheck.type regex +livecheck.url http://www.python.org/download/releases/ +livecheck.regex Python (2.6.\[0-9\]+)