Ticket #39233: Portfile

File Portfile, 1.4 KB (added by GregoryEAllen (Greg Allen), 11 years ago)

python/py-pyqtgraph/Portfile

Line 
1# $Id:$
2
3PortSystem         1.0
4PortGroup          python 1.0
5
6categories-append  graphics math
7name               py-pyqtgraph
8version            0.9.7
9homepage           http://pyqtgraph.org/
10maintainers        openmaintainer
11platforms          darwin
12license            MIT
13supported_archs    noarch
14
15description        scientific graphics and GUI library for Python
16long_description   PyQtGraph is a pure-python graphics and GUI library \
17                                        built on PyQt4 and numpy. It is intended for use in \
18                                        mathematics / scientific / engineering applications. \
19                                        It is very fast due to its heavy leverage of numpy \
20                                        for number crunching and Qt's GraphicsView framework \
21                                        for fast display.
22
23master_sites    http://pyqtgraph.org/downloads
24distname                pyqtgraph-${version}
25checksums               md5 53f1e9c5ad5ea52dd66d120aff2c617a \
26                                rmd160  68b37d7cac4caa27098aee7b8d55c56c30bfd607
27
28python.versions    27
29
30if {$subport != $name} {
31        variant pyqt4 conflicts pyside description "Qt interface via PyQt4" {
32        depends_lib-append      port:py${python.version}-pyqt4
33    }
34
35        variant pyside conflicts pyqt4 description "Qt interface via PySide" {
36        depends_lib-append      port:py${python.version}-pyside
37    }
38
39        variant opengl description "support for 3D graphics" {
40                depends_lib-append      port:py${python.version}-opengl
41        }
42}
43
44if {![variant_isset pyside]} {
45   default_variants +pyqt4
46}
47
48default_variants-append +opengl