Ticket #31523: Portfile

File Portfile, 2.1 KB (added by nonhermitian@…, 12 years ago)

QuTiP port file

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5name                py-qutip
6version             2.0.0
7
8PortGroup           python 1.0
9
10python.versions     27 32
11python.default_version 27
12
13categories          python science
14platforms           darwin
15maintainers         pnation openmaintainer
16license             GPL3
17homepage            http://code.google.com/p/qutip/
18description         QuTiP: Quantum Toolbox in Python
19long_description    ${description}. \
20                    QuTiP is open-source software for simulating the dynamics of \
21                    open quantum systems.  The QuTiP library depends on the \
22                    excellent Numpy and Scipy numerical packages. In addition, \
23                    graphical output is provided by Matplotlib.  QuTiP aims \
24                    to provide user-friendly and efficient numerical simulations \
25                    of a wide variety of Hamiltonian's, including those with \
26                    arbitrary time-dependence, commonly found in a wide range of \
27                    physics applications. QuTiP is freely available for use and/or \
28                    modification on all Unix based platforms. Being free of any \
29                    licensing fees, QuTiP is ideal for exploring quantum mechanics \
30                                        and dynamics in the classroom.
31
32master_sites        googlecode:qutip
33distname            QuTiP-${version}
34
35checksums \
36    sha1    a5dbd03aad8183c757ef7774f0b042e244976518
37
38if {${subport} != ${name}} {
39   
40    depends_lib-append  \
41        port:py${python.version}-scipy \
42        port:py${python.version}-cython \
43        port:py${python.version}-pyside \
44}
45
46post-destroot {
47        notes "To finish installing QuTiP run the following commands:
48       
49        sudo port install py${python.version}-ipython +notebook+parallel+pyside
50       
51        sudo port install py${python.version}-matplotlib +latex
52       
53        sudo port install texlive-latex-extra
54        "
55}
56
57livecheck.type      regex
58livecheck.url       http://code.google.com/p/qutip/
59livecheck.regex     QuTiP-(\[0-9\]+\.\[0-9\]+(\.\[0-9\]+)?)