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

PortSystem 1.0
PortGroup python 1.0

name			py-linda
version			0.5.1
categories-append	net
license			LGPL-2.1+
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		simple implementation of a linda system
long_description	PyLinda is a simple implementation of a linda system, \
				however it also includes several of the more recently \
				proposed extensions to Linda in the form of multiple \
				tuple spaces, garbage collection, sane non-blocking \
				primitives and bulk tuple operations.

homepage		http://www-users.cs.york.ac.uk/~aw/pylinda/
master_sites	${homepage}/dist/ http://distfiles.macports.org/python/
distname		linda-${version}
checksums		md5 36b656030d812e971db4eeaeae1ff064

python.versions	24

if {${name} ne ${subport}} {
    patchfiles		patch-setup.py.diff
    post-patch {
        reinplace "s|__SUBPORT__|${subport}|" ${worksrcpath}/setup.py
    }
}
