<pre style='margin:0'>
Mark Moll (mamoll) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8f22c2af982bef66bee1bb7647f84005e57215bc">https://github.com/macports/macports-ports/commit/8f22c2af982bef66bee1bb7647f84005e57215bc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8f22c2af982bef66bee1bb7647f84005e57215bc
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Tue Mar 26 17:16:26 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pyqt5: add py-pyqt5-webengine subport
</span>---
python/py-pyqt5/Portfile | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyqt5/Portfile b/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b55495..a43f6e1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,10 +21,13 @@ checksums rmd160 bfe5376baf97bde0ebad0fd7f109e23ff3242975 \
</span> sha256 3718ce847d824090fd5f95ff3f13847ee75c2507368d4cbaeb48338f506e59bf \
size 3147086
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> python.versions 27 34 35 36 37
subport "${name}-common" {}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach py_ver ${python.versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport "py${py_ver}-pyqt5-webengine" {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${subport} eq "${name}-common"} {
description-append (.sip sourcefiles)
long_description-append This port contains the .sip source files.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +44,37 @@ if {${subport} eq "${name}-common"} {
</span> file copy {*}[glob -directory ${worksrcpath}/sip/ Q*] ${destroot}${prefix}/share/sip/PyQt5
file copy ${worksrcpath}/sip/Enginio ${destroot}${prefix}/share/sip/PyQt5
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[string first "webengine" ${subport}] != -1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description PyQt5 Webengine bindings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname PyQtWebEngine_gpl-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 5e0c3cd69448b8dee042ba6565c823e266c22a14 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 860704672ea1b616e1347be1f347bc1c749e64ed378370863fe209e84e9bd473 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 42474
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-pyqt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebengine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd "${python.bin} configure.py"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.spec_cmd --spec=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -q ${qt_qmake_cmd} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --verbose \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --sip=${prefix}/bin/sip-${python.branch} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --no-qsci-api \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --no-dist-info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.cmd make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.cmd ${build.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.destdir DESTDIR=${destroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> } elseif {${name} ne ${subport}} {
PortGroup qmake5 1.0
</pre><pre style='margin:0'>
</pre>