{% set version = "2.6.0" %}

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

source:
  fn: h5py-{{ version }}.tar.gz
  url: https://github.com/h5py/h5py/archive/{{ version }}.tar.gz
  md5: 613c5776192eaf02ff96a82dfc6d2e78
  patches:
    # Patch a test that appears to be failing in some cases.
    # This patch has been submitted to upstream.
    # See the linked PR for more information.
    #
    # https://github.com/h5py/h5py/pull/697
    #
    - h5py_tests_old_test_file.py.patch
    - h5py_win_setup_build.py.patch
    # Fix flakiness on Python 3
    # https://github.com/h5py/h5py/pull/776
    - h5py_py3_flakiness.patch

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.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.

Update h5py recipe to version 2.7.0
Update h5py recipe to version 2.7.0
