# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup spyder-ide qtpy 1.1.2 v name py-qtpy categories-append devel license MIT platforms darwin supported_archs noarch maintainers 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 e41a77df5fb80bb18017486b9329b3daae0a2e0d \ sha256 86f95bd2a72f6ba6d377706664a7f5d7b0c7e21edf1b45c6055884e7f96f769a python.versions 27 34 35 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 } post-destroot { file mkdir ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/LICENSE.txt \ ${destroot}${prefix}/share/doc/${subport} } }