Revision: 116810 https://trac.macports.org/changeset/116810 Author: mmoll@macports.org Date: 2014-02-07 13:23:25 -0800 (Fri, 07 Feb 2014) Log Message: ----------- py-tables: update to version 3.1.0, use the correct mpi compiler if needed, use blosc port rather than built-in blosc version Modified Paths: -------------- trunk/dports/python/py-tables/Portfile Modified: trunk/dports/python/py-tables/Portfile =================================================================== --- trunk/dports/python/py-tables/Portfile 2014-02-07 20:57:20 UTC (rev 116809) +++ trunk/dports/python/py-tables/Portfile 2014-02-07 21:23:25 UTC (rev 116810) @@ -3,11 +3,13 @@ PortSystem 1.0 PortGroup python 1.0 +PortGroup mpi 1.0 +mpi.setup + set realname tables name py-${realname} -version 3.0.0 -revision 2 +version 3.1.0 categories-append science platforms darwin license BSD @@ -24,8 +26,8 @@ homepage http://www.pytables.org/ master_sites http://sourceforge.net/projects/pytables/files/pytables/${version} -checksums rmd160 d5a502f5d2e13d71a007aa988d8d9fc7af8cb812 \ - sha256 53532a59c8f03c3c5ef3c73c04f5bfd8384d6a3d508683cb87fc17af4c71dfe1 +checksums rmd160 5e3f28de32f9609cc124a4d135a4572245424a02 \ + sha256 92bd5052c61fef3d55505dcb1162150ea5e274b76c4e41633e8f78a9ad5f4dc1 distname ${realname}-${version} @@ -34,15 +36,19 @@ build.args --inplace \ --hdf5=${prefix} \ --bzip2=${prefix} \ - --lzo=${prefix} + --lzo=${prefix} \ + --blosc=${prefix} - compiler.cpath-append \ - ${prefix}/include/openmpi - destroot.args --hdf5=${prefix} \ --bzip2=${prefix} \ - --lzo=${prefix} - + --lzo=${prefix} \ + --blosc=${prefix} + pre-destroot { + # need to wrap this in a pre-destroot phase so that ${mpi.cc} expands to the right value + if {[mpi_variant_isset]} { + destroot.cmd env CC=${mpi.cc} ${destroot.cmd} + } + } depends_build-append \ port:py${python.version}-cython @@ -51,7 +57,8 @@ port:py${python.version}-numexpr \ port:zlib \ port:bzip2 \ - port:lzo2 + port:lzo2 \ + port:blosc if {${subport} eq "py26-${realname}" || ${subport} eq "py27-${realname}"} { depends_lib-append port:py${python.version}-scientific