# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $

PortSystem			1.0
PortGroup			python25 1.0

name				py25-pyprotocols
version				1.0a0dev-r2302
revision			1
categories-append		devel
maintainers			stechert akitada openmaintainer
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.

platforms			darwin

homepage			http://www.turbogears.org/
master_sites			http://files.turbogears.org/eggs/
distname			PyProtocols-${version}
use_zip				yes

checksums			md5 04ab0051ceb961919607b025a92671f7 \
				sha1 cb6925bb3186de87ff51ba194379d705d4ce9ec9 \
				rmd160 580e78b65e819a3d74824fe6d9c32212749ae31e

depends_lib			port:py25-decoratortools

post-destroot {
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/docs/ref \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} \
		CHANGES.txt README.txt TODO.txt UPGRADING.txt \
		${destroot}${prefix}/share/doc/${name}
}
