# -*- 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-fasteners
version             0.20
revision            0
license             Apache-2
platforms           {darwin any}
supported_archs     noarch
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         A python package that provides useful locks
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  0aa84a1d12dfec3caccd338f382a5cefbdb959ab \
                    sha256  55dce8792a41b56f727ba6e123fcaee77fd87e638a6863cec00007bfea84c8d8 \
                    size    25087

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    pre-test {
        # diskcache not in macports
        delete ${test.dir}/tests/test_reader_writer_lock.py
    }

    depends_test-append     port:py${python.version}-eventlet

    test.run                yes
}
