# -*- 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-llfuse
version             1.3.8
revision            0
checksums           rmd160  8d36d4c44959e6c51a89b60bbb44ddb39c836920 \
                    sha256  b9b573108a840fbaa5c8f037160cc541f21b8cbdc15c5c8a39d5ac8c1b6c4cbc \
                    size    481447

categories-append   devel fuse
platforms           darwin
license             LGPL-2+
maintainers         nomaintainer

description         Python bindings for the low-level FUSE API
long_description    Python-LLFUSE is a set of Python bindings for the low \
                    level FUSE API.

homepage            https://github.com/python-llfuse/python-llfuse/

python.versions     27 35 36 37 38 39

if {${name} ne ${subport}} {
    depends_build-append    port:pkgconfig \
                            port:py${python.version}-setuptools

    depends_lib-append      port:osxfuse
    if {${python.version} eq 27} {
        depends_lib-append  port:py${python.version}-contextlib2
    }

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} LICENSE Changes.rst \
            README.rst ${destroot}${docdir}
    }

    livecheck.type          none
}
