Revision: 130287 https://trac.macports.org/changeset/130287 Author: larryv@macports.org Date: 2014-12-29 17:20:57 -0800 (Mon, 29 Dec 2014) Log Message: ----------- py-pyprotocols: Add modeline, rearrange, reformat Modified Paths: -------------- trunk/dports/python/py-pyprotocols/Portfile Modified: trunk/dports/python/py-pyprotocols/Portfile =================================================================== --- trunk/dports/python/py-pyprotocols/Portfile 2014-12-30 01:20:55 UTC (rev 130286) +++ trunk/dports/python/py-pyprotocols/Portfile 2014-12-30 01:20:57 UTC (rev 130287) @@ -1,46 +1,45 @@ +# -*- 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-pyprotocols -version 1.0a0dev-r2302 -revision 1 -categories-append devel -license {PSF ZPL} -maintainers nomaintainer -description Protocol Definition, Declaration, \ - and Adaptation -long_description PyProtocols extends the PEP 246 adapt()\ - function with a new "declaration API" \ - that lets you easily define your own \ - interfaces and adapters, and declare \ - what adapters should be used to adapt\ - what types, objects, or interfaces. +name py-pyprotocols +version 1.0a0dev-r2302 +revision 1 +categories-append devel +platforms darwin +license {PSF ZPL} +maintainers nomaintainer -platforms darwin +description Protocol Definition, Declaration, and Adaptation +long_description PyProtocols extends the PEP 246 adapt() function \ + with a new "declaration API" that lets you easily \ + define your own interfaces and adapters, and \ + declare what adapters should be used to adapt\ + what types, objects, or interfaces. +homepage http://www.turbogears.org/ -homepage http://www.turbogears.org/ master_sites -dist_subdir python -distname PyProtocols-${version} -use_zip yes +dist_subdir python +distname PyProtocols-${version} +use_zip yes -checksums md5 04ab0051ceb961919607b025a92671f7 \ - sha1 cb6925bb3186de87ff51ba194379d705d4ce9ec9 \ - rmd160 580e78b65e819a3d74824fe6d9c32212749ae31e +checksums md5 04ab0051ceb961919607b025a92671f7 \ + sha1 cb6925bb3186de87ff51ba194379d705d4ce9ec9 \ + rmd160 580e78b65e819a3d74824fe6d9c32212749ae31e -python.versions 24 25 26 +python.versions 24 25 26 if {${name} ne ${subport}} { - depends_lib port:py${python.version}-decoratortools + depends_lib port:py${python.version}-decoratortools - post-destroot { - file delete -force ${destroot}${prefix}/share/doc/${subport} - file copy ${worksrcpath}/docs/ref \ - ${destroot}${prefix}/share/doc/${subport} - xinstall -m 644 -W ${worksrcpath} \ - CHANGES.txt README.txt TODO.txt UPGRADING.txt \ - ${destroot}${prefix}/share/doc/${subport} - } + post-destroot { + file delete -force ${destroot}${prefix}/share/doc/${subport} + file copy ${worksrcpath}/docs/ref \ + ${destroot}${prefix}/share/doc/${subport} + xinstall -m 644 -W ${worksrcpath} \ + CHANGES.txt README.txt TODO.txt UPGRADING.txt \ + ${destroot}${prefix}/share/doc/${subport} + } }
participants (1)
-
larryv@macports.org