Changes between Initial Version and Version 9 of Ticket #4805


Ignore:
Timestamp:
Mar 24, 2016, 3:18:30 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4805

    • Property Status changed from new to closed
    • Property Cc markd@… idgregorio@… added
    • Property Resolution changed from to fixed
    • Property Summary changed from py-matplotlib could have variant tk to RFE: py-matplotlib could have variant tk
    • Property Priority changed from Expected to Normal
    • Property Version changed from 1.0 to
    • Property Owner changed from darwinports-bugs@… to michaelm@…
    • Property Type changed from defect to enhancement
    • Property Port py-matplotlib added
  • Ticket #4805 – Description

    initial v9  
    77Portfile to enable the tkAgg backend as a variant:
    88
     9{{{
    910--- Portfile    Mon Jul  4 05:48:43 2005
    1011+++ Portfile.tk Fri Sep  2 10:12:39 2005
    1112@@ -37,8 +37,13 @@
    12                  reinplace
    13 "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
     13                 reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
    1414                   ${worksrcpath}/setup.py
    1515         }
    16 -        reinplace
    17 "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
     16-        reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
    1817+       if {![variant_isset tk]} {
    19 +               reinplace
    20 "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
     18+               reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
    2119                 ${worksrcpath}/setup.py
    2220+       } else {
    23 +               reinplace
    24 "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
     21+               reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
    2522+                ${worksrcpath}/setup.py
    2623+       }
    2724 }
    2825 
    29  post-patch { reinplace "s|@@DPORTS_PREFIX@@|${prefix}|"
    30 ${worksrcpath}/setupext.py }
     26 post-patch { reinplace "s|@@DPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py }
    3127@@ -61,3 +66,6 @@
    3228         depends_lib-append      port:py-gtk2
     
    3632+       depends_lib-append      port:py-tkinter
    3733+}
     34}}}