Ticket #42059: py-pyface_Portfile.diff
File py-pyface_Portfile.diff, 2.7 KB (added by jjstickel (Jonathan Stickel), 11 years ago) |
---|
-
python/py-pyface/Portfile
old new 5 5 PortGroup python 1.0 6 6 #PortGroup wxWidgets 1.0 7 7 8 PortGroup github 1.0 9 github.setup enthought pyface 4.4.0 10 8 11 name py-pyface 9 version 4.2.010 revision 111 12 categories-append devel 12 13 license BSD 13 14 maintainers gmail.com:jjstickel openmaintainer … … 18 19 abstraction layer, which is used to support the\ 19 20 "visualization" features of the Traits package. 20 21 platforms darwin 21 homepage https://github.com/enthought/pyface22 master_sites http://www.enthought.com/repo/ets/23 distname pyface-${version}24 22 25 checksums rmd160 cd4656b8cab966e6e9ef298a09926b596f1be6cf\26 sha256 f2dfc6edaca3e51f3efcdf4e1d85d1cf219e2989959c4683a6cff4f28d4f801c23 checksums rmd160 667a4b7acbab68167c53a158dd21487d0303e97b \ 24 sha256 f675d9ddb736328fc6ec8d1daf94d3779b66ed6640596dcc4a1d96c141806548 27 25 28 26 python.versions 26 27 29 27 30 28 if {${name} ne ${subport}} { 31 29 depends_build-append port:py${python.version}-setuptools 32 30 depends_lib-append port:py${python.version}-traits 33 }34 31 35 # removing wx variant until wxwidgets/wxpython mess gets sorted out; see ticke 36 # 38375, JJS 8/2/13 37 # variant wx description {Use wxWidgets backend} { 38 # if {${name} ne ${subport}} { 39 # depends_lib-append port:py${python.version}-wxpython-2.8 40 # } 41 # } 32 # # wx-3.0 is not fully compatible with enthought, JJS 1/8/14 33 # variant wx description {Use wxWidgets backend} { 34 # depends_lib-append port:py${python.version}-wxpython-3.0 35 # } 42 36 43 variant pyqt4 conflicts pyside description "Qt backend using PyQt4" { 44 if {${name} ne ${subport}} { 37 variant pyqt4 conflicts pyside description "Qt backend using PyQt4" { 45 38 # Can use either py*-pyqt4 or py*-pyqt4-devel. 46 39 depends_lib-append path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 47 40 } 48 }49 41 50 variant pyside conflicts pyqt4 description "Qt backend using PySide" { 51 if {${name} ne ${subport}} { 42 variant pyside conflicts pyqt4 description "Qt backend using PySide" { 52 43 depends_lib-append port:py${python.version}-pyside 53 44 } 54 }55 45 56 default_variants-append +pyqt4 46 default_variants-append +pyqt4 47 48 notes "If wxpython is installed, enthought modules will try to use it\ 49 even if pyqt4 (or pyside) are also installed" 50 }