# -*- 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 PortGroup github 1.0 github.setup spyder-ide qtpy 1.4.2 v name py-qtpy categories-append devel license MIT platforms darwin supported_archs noarch maintainers {eborisch @eborisch} openmaintainer description Abtraction layer for PySide/PyQt4/PyQt5 long_description QtPy (pronounced 'cutie pie') is a small abstraction layer \ that lets you write applications using a single api call \ to either PyQt or PySide. QtPy also provides a set of \ additional QWidgets. \ It provides support for PyQt5, PyQt4 and PySide using the \ PyQt5 layout (where the QtGui module has been split into \ QtGui and QtWidgets). checksums rmd160 f78a886f80e228954224ff189283a30edc27aa8a \ sha256 51f35b923f4b89824587e030032b0600ac65f825ee4f00085e5ca0e8a5efe5d6 \ size 29520 python.versions 27 34 35 36 if {${name} ne ${subport}} { livecheck.type none depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-pyqt4 # Will *work* with either/both under the hood, but provide variants to # determine what we label as depends_lib. (We need at least one installed, # and we don't want to force installing both.) variant qt5 description {Depend on pyqt5. (Else pyqt4)} { depends_lib-append port:py${python.version}-pyqt5 depends_lib-delete port:py${python.version}-pyqt4 } default_variants +qt5 post-destroot { file mkdir ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/LICENSE.txt \ ${destroot}${prefix}/share/doc/${subport} } }