# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-zc-lockfile
python.rootname     zc.lockfile
version             3.0.post1
revision            0

categories-append   zope
supported_archs     noarch
platforms           {darwin any}
description         Basic inter-process locks
license             ZPL-2.1
maintainers         nomaintainer

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.


homepage            https://github.com/zopefoundation/zc.lockfile

checksums           rmd160  f08a398fc976ac26ec9745c74d02065b1ab6be54 \
                    sha256  adb2ee6d9e6a2333c91178dcb2c9b96a5744c78edb7712dc784a7d75648e81ec \
                    size    10190

python.versions     27 310 311 312 313

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version     2.0
        revision    0
        checksums   rmd160  815dc8aa3ec755fedd8066a1e905b1d94e1dbbcb \
                    sha256  307ad78227e48be260e64896ec8886edc7eae22d8ec53e4d528ab5537a83203b \
                    size    11923

        depends_build-append \
                    port:py${python.version}-setuptools
    }

    livecheck.type  none
}
