# -*- 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-irodsclient
python.rootname     python-irodsclient
version             2.0.0
revision            0

categories-append   net databases science
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {petr @petrrr} openmaintainer

description         A Python client for iRODS, a distributed data management system.

long_description    The integrated Rule-Oriented Data System (iRODS) is open source data \
                    management system used by research organizations and government \
                    agencies worldwide. This Python packages provides an client API.

homepage            https://github.com/irods/python-irodsclient

checksums           rmd160  31cb6a3b735083216ef7c728c2fd8bd37ecd7fa9 \
                    sha256  4b9de7534c1eeecea4f0d875205cfdc73f7310693748e098b4a3b58c3d781883 \
                    size    245771

python.versions     312

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-defusedxml \
                    port:py${python.version}-prettytable \
                    port:py${python.version}-six

    post-destroot {
        set dest_doc ${destroot}${prefix}/share/doc/${subport}
        xinstall -d  ${dest_doc}
        xinstall -m 0755 -W ${worksrcpath} README.md \
            CHANGELOG.rst AUTHORS LICENSE.txt ${dest_doc}
    }
}
