{% set version = "2.7.0" %}

package:
  name: h5py
  version: {{ version }}

source:
  fn: h5py-{{ version }}.tar.gz
  url: https://github.com/h5py/h5py/archive/{{ version }}.tar.gz
  sha256: fff3a878c6adfa1b4f5c30b558a295d52dd4fee9174128c626ef416dec1b536b

build:
  number: 0

requirements:
  build:
    - python
    - setuptools
    - numpy x.x
    - hdf5 1.8.17|1.8.17.*
    - cython
    - six
    - pkgconfig

  run:
    - python
    - numpy x.x
    - hdf5 1.8.17|1.8.17.*
    - six
    - unittest2    # [py26]

test:
  imports:
    - h5py

about:
  home: http://www.h5py.org/
  license: BSD 3-Clause
  license_file: licenses/license.txt
  summary: Read and write HDF5 files from Python.

{% set version = "2.7.1" %}

package:
  name: h5py
  version: {{ version }}

source:
  fn: h5py-{{ version }}.tar.gz
  url: https://github.com/h5py/h5py/archive/{{ version }}.tar.gz
  sha256: 55bdefda47c49973ec24384097d18eb5f84797c057aaf0bf0b6b0f7860ad43e7

build:
  number: 0

requirements:
  build:
    - python
    - setuptools
    - numpy 1.11*
    - hdf5 1.8.17|1.8.17.*
    - cython
    - six
    - pkgconfig

  run:
    - python
    - numpy >=1.11
    - hdf5 1.8.17|1.8.17.*
    - six
    - unittest2    # [py26]

test:
  imports:
    - h5py

about:
  home: http://www.h5py.org/
  license: BSD 3-Clause
  license_file: licenses/license.txt
  summary: Read and write HDF5 files from Python.

Update h5py to version 2.7.1
Update h5py to version 2.7.1

Build against numpy 1.11 to support multiple NumPy versions
