# -*- 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-qdarkstyle
python.rootname     QDarkStyle
version             3.2.3
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {petr @petrrr} openmaintainer

description         A dark stylesheet for Python and Qt applications
long_description    This package provides a dark style sheet for \
                    PySide/PyQt4/PyQt5 applications.

homepage            https://github.com/ColinDuquesnoy/QDarkStyleSheet

checksums           sha256  0c0b7f74a6e92121008992b369bab60468157db1c02cd30d64a5e9a3b402f1ae \
                    rmd160  48cab4ae93a3553b84b431fa90e24021b0fdb236 \
                    size    700957

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-helpdev \
                    port:py${python.version}-qtpy \
                    port:py${python.version}-qtsass

    post-destroot {
        set dest_doc ${destroot}${prefix}/share/doc/${subport}
        xinstall -d ${dest_doc}
        xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst CHANGES.rst \
            LICENSE.rst CONTRIBUTING.rst README.rst ${dest_doc}
    }
}
