# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup active_variants 1.1 PortGroup compilers 1.0 name py-qutip version 3.1.0 categories-append science platforms darwin license BSD maintainers nomaintainer description Quantum Toolbox in Python long_description QuTiP is open-source software for simulating the dynamics of open quantum systems. homepage http://qutip.org/ master_sites http://qutip.org/downloads/${version}/ distname qutip-${version} worksrcdir qutip-${version} checksums rmd160 21af2936a32bf6443eb2b6d1d4075e8a85e355da \ sha256 078399c9830c011ec189db222fcd45f71d2a135800874784d8386d67b4357402 python.versions 27 34 # py-scipy is not universal if {${name} ne ${subport}} { compilers.choose fc f77 f90 compilers.setup require_fortran depends_lib-append port:py${python.version}-cython \ port:py${python.version}-ipython \ port:py${python.version}-matplotlib \ port:py${python.version}-numpy \ port:py${python.version}-scipy require_active_variants py${python.version}-ipython "notebook parallel" require_active_variants py${python.version}-matplotlib latex use_parallel_build no python.add_archflags no universal_variant no build.args build.post_args-append --with-f90mc # why only archflags? build.env-append CFLAGS="${configure.cc_archflags}" \ OBJCFLAGS="${configure.objc_archflags}" \ CXXFLAGS="${configure.cxx_archflags}" \ FFLAGS="${configure.f77_archflags}" \ F90FLAGS="${configure.f90_archflags}" \ FCFLAGS="${configure.fc_archflags}" \ LDFLAGS="-undefined dynamic_lookup -bundle ${configure.ld_archflags}" livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex {qutip-([0-9\.]+)\.tar\.gz} }