<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7cf7b7418233c8c21db4fe193bc02a6eea68bc1a">https://github.com/macports/macports-ports/commit/7cf7b7418233c8c21db4fe193bc02a6eea68bc1a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 7cf7b74 py-spyder: add webkit variant
</span>7cf7b74 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7cf7b7418233c8c21db4fe193bc02a6eea68bc1a
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Mon May 13 09:53:15 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-spyder: add webkit variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add support for older Mac OS X systems (<= 10.8) that cannot install
</span><span style='display:block; white-space:pre;color:#404040;'> QtWebEngine. It will still require user intervention since this needs
</span><span style='display:block; white-space:pre;color:#404040;'> the non-default "webkit" variant for py-pyqt5.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58445
</span>---
python/py-spyder/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-spyder/Portfile b/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a934cbb..0cb3390 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-spyder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +73,13 @@ if {${name} ne ${subport}} {
</span>
variant small description "Remove all optional dependencies." {}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant webkit description "Use QtWebKit; only recommended for systems that do not support QtWebEngine" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pyqt5-webengine \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants py${python.version}-pyqt5 webkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant no_anti_alias description "Use non-anti-aliased fonts in editor." {
patchfiles-append patch-spyder_utils_syntaxhighlighters.py.diff
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,6 +104,10 @@ if {${name} ne ${subport}} {
</span> path:${python.pkgd}/PIL:py${python.version}-Pillow
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +webkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set WINPDB_BIN_NAME winpdb-${python.branch}
patchfiles-append patch-spyder_config_base.py.diff \
patch-spyder_plugins_editor.py.diff \
</pre><pre style='margin:0'>
</pre>