# -*- 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 name py-h5py version 2.2.1 # h5py needs to be re-built after hdf5-18 upgrades revision 1 checksums \ rmd160 9e5ee73fa28e07e21439cef289b8e1945eccfd4e \ sha256 b4510cb74aef332847dc88e3df6910d7af68c709b3556fc960a687c56ba6a4cb \ sha1 4b511ed7aa28ac4c61188a121d42f17f3096c15a # Support for -devel set DEV_VERSION 0 subport py26-h5py-devel {set DEV_VERSION 26} subport py27-h5py-devel {set DEV_VERSION 27} subport py32-h5py-devel {set DEV_VERSION 32} subport py33-h5py-devel {set DEV_VERSION 33} subport py34-h5py-devel {set DEV_VERSION 34} python.versions 26 27 32 33 34 if {${DEV_VERSION}} { python.version ${DEV_VERSION} # epoch was already set to a date; continuing with that approach epoch 20130904 version 2.2.1 conflicts py${python.version}-h5py checksums \ rmd160 9e5ee73fa28e07e21439cef289b8e1945eccfd4e \ sha256 b4510cb74aef332847dc88e3df6910d7af68c709b3556fc960a687c56ba6a4cb \ sha1 4b511ed7aa28ac4c61188a121d42f17f3096c15a } elseif {${name} ne ${subport}} { conflicts py${python.version}-h5py-devel } python.default_version 27 platforms darwin license BSD maintainers macports.org:eborisch \ openmaintainer description Read and write HDF5 files from Python long_description \ The h5py package provides both a high- and low-level interface to the \ HDF5 library from Python. The low-level interface is intended to be a \ complete wrapping of the HDF5 API, while the high-level component \ supports access to HDF5 files, datasets and groups using established \ Python and NumPy concepts. \ \n\nA strong emphasis on automatic conversion between Python (Numpy) \ datatypes and data structures and their HDF5 equivalents vastly \ simplifies the process of reading and writing data from Python. homepage http://www.h5py.org master_sites http://h5py.googlecode.com/files/ distname h5py-${version} if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-numpy \ port:hdf5-18 post-destroot { system -W ${destroot}${prefix} "mkdir -p share/doc/${subport}" copy ${worksrcpath}/lzf/LICENSE.txt \ ${destroot}${prefix}/share/doc/${subport} } } livecheck.type googlecode livecheck.name h5py livecheck.regex {h5py-(\d+(?:\.\d+)*).tar.gz}