# $Id: Portfile 88150 2011-12-20 23:21:57Z singingwolfboy@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-zc-lockfile
set real_name       zc.lockfile
version             1.0.0
python.versions     24 25 26 27
maintainers         singingwolfboy openmaintainer
platforms           darwin
description         Basic inter-process locks
license             ZPL-2.1

long_description \
    The zc.lockfile package provides a basic portable implementation of \
    interprocess locks using lock files. The purpose if not specifically to \
    lock files, but to simply provide locks with an implementation based on \
    file-locking primitives. Of course, these locks could be used to mediate \
    access to other files. For example, the ZODB file storage implementation uses \
    file locks to mediate access to file-storage database files. The database \
    files and lock file files are separate files.

categories-append   zope

homepage            http://pypi.python.org/pypi/${real_name}
master_sites        http://pypi.python.org/packages/source/z/${real_name}
distname            ${real_name}-${version}

checksums           rmd160  ffc9485e8a3f219b0fef65465b838df9d633706c \
                    sha256  1f170e46eff20ae6c81cad5465f26702f3d3435e0511fb7983cd61a6ed84d5c0

if {$name != $subport} {
    depends_build       port:py${python.version}-distribute
}
