# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem			1.0
PortGroup			python 1.0

name				py-ruledispatch
version				0.5a0.dev-r2306
categories-append		devel
license				{PSF ZPL}
maintainers			akitada openmaintainer
description			Rule-based Dispatching and Generic Functions
long_description		Rule-based Dispatching and Generic Functions
platforms			darwin

homepage			http://www.turbogears.org/
master_sites
dist_subdir			python
distname			RuleDispatch-${version}

checksums			md5 fc716f2e2d6247fb8e3b50f0e6476bcd \
				sha1 009fe952a3d469d31a656083ef951a61efa52dd6 \
				rmd160 e109c1df8f164993c3236af60397d61029040259

python.versions		24 25

if {${name} ne ${subport}} {
	depends_lib			port:py${python.version}-pyprotocols

	post-destroot {
		xinstall -m 644 -W ${worksrcpath} \
			TODO.txt ${destroot}${prefix}/share/doc/${subport}
	}
}
