# -*- 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.17.1
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  179f6134df208cee20d81c7c4a98baab71dcef29 \
                    sha256  0eab72bcb628f1926bf5b9ac51259d4fa18e8b2a81d199071135458f7d087ea8 \
                    size    104136

python.versions     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}
    }
}
