# -*- 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 set _name QDarkStyle set _n [string index ${_name} 0] name py-qdarkstyle version 2.1 categories-append devel platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description A dark stylesheet for PyQt/PySide applications long_description This package provides a dark style sheet for \ PySide/PyQt4/PyQt5 applications. homepage https://github.com/ColinDuquesnoy/QDarkStyleSheet distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 0f50dd5f1c7ed07e3547115a5e614ea6 \ rmd160 f845a22dd31936b51ecfb7a184ff411d458ff0cf \ sha256 137eb8f707ddc954224ec28bfa03d1e2d5db8fbde0ad2f622294dfed36f9d6ea python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools # add COPYING post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 644 ${worksrcpath}/COPYING ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }