# -*- 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 qt5 1.0 PortGroup python 1.0 PortGroup cxx11 1.1 name py-poppler-qt5 python.rootname python-poppler-qt5 set _n [string index ${python.rootname} 0] version 0.24.2 revision 4 platforms darwin license LGPL-2.1+ maintainers {gmail.com:davide.liessi @dliessi} openmaintainer description Python binding for Poppler-Qt5 long_description ${python.rootname} is a Python binding for Poppler-Qt5 \ that aims for completeness \ and for being actively maintained. \ Using this module you can access \ the contents of PDF files \ inside PyQt5 applications. homepage https://github.com/wbsoft/${python.rootname} master_sites pypi:${_n}/${python.rootname}/ distname ${python.rootname}-${version} checksums md5 1f45ed0f7f3cacc1d0f9e626bd5fb5c8 \ rmd160 baa134c6a9e466dddcb15a23f7238b88d1eed8af \ sha256 3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950 \ size 20944 python.versions 27 34 35 36 37 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:poppler-qt5 \ port:py${python.version}-sip \ port:py${python.version}-pyqt5 patchfiles patch-fix-qtxml.diff \ patch-fix-cxx11.diff \ patch-fix-demo.diff \ patch-types.sip.diff build.pre_args build_ext \ --qmake-bin=${qt_qmake_cmd} post-destroot { set doc_dir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${doc_dir} xinstall -m 644 -W ${worksrcpath} \ ChangeLog \ LICENSE \ README.rst \ ${doc_dir} set examples_dir ${destroot}${prefix}/share/examples/${subport} xinstall -d ${examples_dir} xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir} } livecheck.type none } else { livecheck.type pypi }