# -*- 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-pyqt5-sip
python.rootname     PyQt5-sip
version             12.15.0
revision            0

categories-append   devel
license             {GPL-2 GPL-3 PSF}
maintainers         {reneeotten @reneeotten} openmaintainer

description         The sip module support for PyQt5
long_description    {*}${description}

homepage            https://www.riverbankcomputing.com/software/sip/

distname            PyQt5_sip-${version}

checksums           rmd160  ec161f1f405752849fe0ccb4ab472416f04f67ff \
                    sha256  d23fdfcf363b5cedd9d39f8a9c5710e7d52804f5b08a58e91c638b36eafcb702 \
                    size    104024

python.versions     38 39 310 311 312 313

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README \
            ${destroot}${docdir}
    }
}
