{% set name = "bmi-geotiff" %}
{% set version = "0.2" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: d93485f4af5705f08f84489d5c9fc5771900c8e3d72e97dd5985c76aae79cc17

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - python >=3.6
    - pip
  run:
    - python >=3.6
    - numpy
    - xarray
    - rasterio
    - pyyaml
    - bmipy

test:
  imports:
    - bmi_geotiff
  requires:
    - pip
  commands:
    - pip check    

about:
  home: https://github.com/csdms/bmi-geotiff
  license: MIT
  license_family: MIT
  license_file: LICENSE.md
  summary: |
    Access data (and metadata) from a GeoTIFF file through an API or a BMI
  description: |
    bmi-geotiff is a Python library that allows a user Basic Model Interface
    (BMI) access to data and metadata in GeoTIFF files through *xarray* and
    *rasterio*.
  doc_url: https://bmi-geotiff.readthedocs.io/
  dev_url: https://github.com/csdms/bmi-geotiff

extra:
  recipe-maintainers:
    - mdpiper

Add recipe for bmi-geotiff package
Add recipe for bmi-geotiff package
