Ticket #44555: Portfile-qutip.diff
File Portfile-qutip.diff, 2.6 KB (added by jrjohansson@…, 10 years ago) |
---|
-
Portfile
old new 4 4 PortGroup python 1.0 5 5 PortGroup active_variants 1.1 6 6 name py-qutip 7 version 2.2.07 version 3.0.1 8 8 revision 1 9 9 categories-append science 10 10 platforms darwin 11 license GPL-311 license BSD 12 12 maintainers mf2k openmaintainer 13 13 description Quantum Toolbox in Python 14 14 long_description QuTiP is open-source software for simulating the dynamics of open quantum systems. 15 15 homepage http://qutip.org/ 16 16 master_sites http://qutip.org/downloads/${version}/ 17 distname QuTiP-${version}17 distname qutip-${version} 18 18 worksrcdir qutip-${version} 19 checksums rmd160 e2e6a8c8790e8cd1444b0e4f1c52c91d42fffada\20 sha256 a26a639d74b2754b3a1e329d91300e587e8c399d8a81d8f18a4a74c6d6f02ba319 checksums rmd160 b27a37dbe7da8aab58e4be88044e8fec2d0f1806 \ 20 sha256 8ec90a59786829fe55dece26a1798661d6174b848eb6bb9622edf270d32d833d 21 21 22 python.versions 26 27 22 python.versions 26 27 33 34 23 23 # py-scipy is not universal 24 24 if {${name} ne ${subport}} { 25 # Can use either py*-pyqt4 or py*-pyqt4-devel.26 25 depends_lib-append port:py${python.version}-cython \ 27 26 port:py${python.version}-ipython \ 28 27 port:py${python.version}-matplotlib \ 29 port:py${python.version}-mayavi \30 28 port:py${python.version}-numpy \ 31 path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 \ 32 port:py${python.version}-scipy \ 33 port:vtk5 29 port:py${python.version}-scipy 34 30 35 require_active_variants py${python.version}-ipython " pyqt4notebook parallel scientific"31 require_active_variants py${python.version}-ipython "notebook parallel scientific" 36 32 require_active_variants py${python.version}-matplotlib latex 37 require_active_variants vtk5 "python${python.version} qt4_mac"38 33 set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9} 39 34 set default_fortran_variant +gcc48 40 35 foreach ver ${gcc_versions} { … … 84 79 } else { 85 80 livecheck.type regex 86 81 livecheck.url ${homepage} 87 livecheck.regex { QuTiP-([0-9\.]+)\.tar\.gz}82 livecheck.regex {qutip-([0-9\.]+)\.tar\.gz} 88 83 } 84 No newline at end of file