<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fdc88359e387a0c55fee87bee389f738d98d38a0">https://github.com/macports/macports-ports/commit/fdc88359e387a0c55fee87bee389f738d98d38a0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fdc88359e387a0c55fee87bee389f738d98d38a0
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Wed Oct 3 11:37:55 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-matplotlib: update patch-setup.cfg.diff
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - use the same order as in setup.cfg.template, also add qt5agg and set
</span><span style='display:block; white-space:pre;color:#404040;'> it to False
</span><span style='display:block; white-space:pre;color:#404040;'> - Agg backend is included with matplotlib and always installed; set it
</span><span style='display:block; white-space:pre;color:#404040;'> to True and remove unneeded reinplace
</span>---
python/py-matplotlib/Portfile | 5 ++---
python/py-matplotlib/files/patch-setup.cfg.diff | 21 +++++++++++----------
2 files changed, 13 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-matplotlib/Portfile b/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d7b023..81b9ded 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,9 +157,8 @@ if {${name} ne ${subport}} {
</span> default_variants-append +cairo
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset gtk3] && [variant_isset cairo]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset gtk3] && [variant_isset cairo]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span> reinplace "s|^gtk3cairo=False|gtk3cairo=True|" ${worksrcpath}/setup.cfg
}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-matplotlib/files/patch-setup.cfg.diff b/python/py-matplotlib/files/patch-setup.cfg.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6a41c4d..9a677a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-matplotlib/files/patch-setup.cfg.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-matplotlib/files/patch-setup.cfg.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +1,20 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.cfg 2013-08-07 11:50:33.000000000 +0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.cfg 2013-08-07 11:54:34.000000000 +0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.cfg 2018-10-03 11:50:33.000000000 +0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.cfg 2018-10-03 11:54:34.000000000 +0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -0,0 +1,25 @@
</span> +[gui_support]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+agg=False
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+tkagg=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++agg=True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cairo=False
</span> +gtk=False
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+gtkagg=False
</span> +gtk3agg=False
+gtk3cairo=False
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+wxagg=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++gtkagg=False
</span> +macosx=True
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+windowing=False
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+qt4agg=False
</span> +pyside=False
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+cairo=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++qt4agg=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++qt5agg=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++tkagg=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++windowing=False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++wxagg=False
</span> +
+[packages]
+sample_data=True
</pre><pre style='margin:0'>
</pre>