# -*- 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: Portfile 67169 2010-04-30 14:39:39Z eborisch@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-h5py
version             1.3.0
revision            1
platforms           darwin
categories          python
maintainers         macports.org:eborisch \
                    openmaintainer
description         Python Module for working with HDF5 files

long_description    The h5py package provides a simple, Pythonic interface to \
                    HDF5. A straightforward high-level interface allows the \
                    manipulation of HDF5 files, groups and datasets using \
                    established Python and NumPy metaphors. \
                    Additionally, the library offers a low-level interface \
                    which exposes the majority of the HDF5 C API in a Pythonic,\
                    object-oriented fashion.

homepage            http://code.google.com/p/h5py/
master_sites        http://h5py.googlecode.com/files/
distname            h5py-${version}
checksums           md5 e1ea1c1e4c5b899c44b6fe4cb1eac464 \
                    sha1 9398cb3a11ea7f6b62738330206c7dce7c7c2132 \
                    rmd160 49e475ca6bf2de375eb98b5c8cca78b534d1ef6f

use_configure       yes

configure.universal_args
configure.pre_args
configure.cmd       ${python.bin} setup.py configure
configure.args      --api=18 --hdf5=${prefix}

build.cmd-delete    --no-user-cfg
depends_lib-append  port:py26-numpy port:hdf5-18

post-destroot	{
                    system "chmod -R a+r ${destroot}${prefix}"
}

