{% set name = "cfgrib" %}
{% set version = "0.9.5.6" %}

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

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

build:
  noarch: python
  number: 0
  entry_points:
    - cfgrib=cfgrib.__main__:cfgrib_cli
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "

requirements:
  host:
    - attrs
    - cffi
    - click
    - eccodes 2.12.0
    - future
    - numpy
    - pip
    - pytest-runner
    - python
    - typing
    - xarray
  run:
    - attrs
    - cffi
    - click
    - eccodes >=2.12.0
    - future
    - numpy
    - python
    - typing
    - xarray >=0.11.0

test:
  imports:
    - cf2cdm
    - cfgrib
  commands:
    - cfgrib --help

about:
  home: https://github.com/ecmwf/cfgrib
  license: Apache Software
  license_family: APACHE
  license_file: LICENSE
  summary: Maps GRIB files to the NetCDF Common Data Model with CF Convention using ecCodes
  doc_url: https://github.com/ecmwf/cfgrib
  dev_url: https://github.com/ecmwf/cfgrib

extra:
  recipe-maintainers:
    - alexamici
    - StephanSiemen

Add a cfgrib conda package.
Add a cfgrib conda package.
