Skip to content
Permalink
Browse files

py-matplotlib: update patch-setup.cfg.diff

- use the same order as in setup.cfg.template, also add qt5agg and set
    it to False
- Agg backend is included with matplotlib and always installed; set it
    to True and remove unneeded reinplace
  • Loading branch information
reneeotten authored and pmetzger committed Oct 11, 2018
1 parent a235b08 commit fdc88359e387a0c55fee87bee389f738d98d38a0
Showing with 13 additions and 13 deletions.
  1. +2 −3 python/py-matplotlib/Portfile
  2. +11 −10 python/py-matplotlib/files/patch-setup.cfg.diff
@@ -157,9 +157,8 @@ if {${name} ne ${subport}} {
default_variants-append +cairo
}

post-patch {
reinplace "s|^agg=False|agg=True|" ${worksrcpath}/setup.cfg
if {[variant_isset gtk3] && [variant_isset cairo]} {
if {[variant_isset gtk3] && [variant_isset cairo]} {
post-patch {
reinplace "s|^gtk3cairo=False|gtk3cairo=True|" ${worksrcpath}/setup.cfg
}
}
@@ -1,19 +1,20 @@
--- setup.cfg 2013-08-07 11:50:33.000000000 +0400
+++ setup.cfg 2013-08-07 11:54:34.000000000 +0400
@@ -0,0 +1,24 @@
--- setup.cfg 2018-10-03 11:50:33.000000000 +0400
+++ setup.cfg 2018-10-03 11:54:34.000000000 +0400
@@ -0,0 +1,25 @@
+[gui_support]
+agg=False
+tkagg=False
+agg=True
+cairo=False
+gtk=False
+gtkagg=False
+gtk3agg=False
+gtk3cairo=False
+wxagg=False
+gtkagg=False
+macosx=True
+windowing=False
+qt4agg=False
+pyside=False
+cairo=False
+qt4agg=False
+qt5agg=False
+tkagg=False
+windowing=False
+wxagg=False
+
+[packages]
+sample_data=True

0 comments on commit fdc8835

Please sign in to comment.
You can’t perform that action at this time.