# -*- 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.0 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 d47b6256dd9845b7f687c4dbe7bd9a16f9e8a76a \ sha256 80273cdf1e9cd6fe8895902869b42d0c935817ff197be90109afdfd6bd00c24a 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} } }