Changes between Initial Version and Version 9 of Ticket #4805
- Timestamp:
- Mar 24, 2016, 3:18:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4805
-
Property
Status
changed from
new
toclosed
- Property Cc markd@… idgregorio@… added
-
Property
Resolution
changed from
to
fixed
-
Property
Summary
changed from
py-matplotlib could have variant tk
toRFE: py-matplotlib could have variant tk
-
Property
Priority
changed from
Expected
toNormal
-
Property
Version
changed from
1.0
to - Property Owner changed from darwinports-bugs@… to michaelm@…
-
Property
Type
changed from
defect
toenhancement
- Property Port py-matplotlib added
-
Property
Status
changed from
-
Ticket #4805 – Description
initial v9 7 7 Portfile to enable the tkAgg backend as a variant: 8 8 9 {{{ 9 10 --- Portfile Mon Jul 4 05:48:43 2005 10 11 +++ Portfile.tk Fri Sep 2 10:12:39 2005 11 12 @@ -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|" \ 14 14 ${worksrcpath}/setup.py 15 15 } 16 - reinplace 17 "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \ 16 - reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \ 18 17 + 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|" \ 21 19 ${worksrcpath}/setup.py 22 20 + } else { 23 + reinplace 24 "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \ 21 + reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \ 25 22 + ${worksrcpath}/setup.py 26 23 + } 27 24 } 28 25 29 post-patch { reinplace "s|@@DPORTS_PREFIX@@|${prefix}|" 30 ${worksrcpath}/setupext.py } 26 post-patch { reinplace "s|@@DPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py } 31 27 @@ -61,3 +66,6 @@ 32 28 depends_lib-append port:py-gtk2 … … 36 32 + depends_lib-append port:py-tkinter 37 33 +} 34 }}}