# -*- 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.16.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  cd8a6c702092a2ac9c2cfdd67b231b5e34f41211 \
                    sha256  8cfb0345b9438a18ec1dd3952054c2ac1508bd9e306092a96df99329382e3e25 \
                    size    103977

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}
    }
}
