{% set name = "MPAS-Analysis" %}
{% set version = "1.2" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/MPAS-Dev/{{ name }}/archive/{{ version }}.tar.gz
  sha256: 9a9c99c8a6c510d2f552a88744095ae31c67cb07f7b519d9ba6f6543f4584406

build:
    number: 0
    script: "{{ PYTHON }} -m pip install . --no-deps -vv"
    noarch: python
    entry_points:
        - mpas_analysis = mpas_analysis.__main__:main

requirements:
  host:
    - python
    - pip
  run:
    - python
    - numpy
    - scipy
    - matplotlib <3.0.0|>=3.0.2
    - netcdf4
    - xarray >=0.10.0
    - dask
    - bottleneck
    - basemap <1.2.0|>1.2.0
    - lxml
    - nco >=4.7.9
    - pillow
    - cmocean
    - progressbar2
    - requests
    - pyproj
    - setuptools
    - shapely

test:
  requires:
    - pytest
  imports:
    - mpas-analysis
    - pytest
  commands:
    - pytest --pyargs mpas_analysis

about:
  home: https://github.com/MPAS-Dev/MPAS-Analysis
  license: BSD 3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: 'Analysis of MPAS-Ocean and MPAS-Seaice simulations results'
  description: |
    Analysis for simulations produced with Model for Prediction Across Scales
    (MPAS) components and the Energy Exascale Earth System Model (E3SM), which
    used those components.
  doc_url: http://mpas-analysis.readthedocs.io
  dev_url: https://github.com/MPAS-Dev/MPAS-Analysis

extra:
  recipe-maintainers:
    - xylar
    - jhkennedy

Add a recipe for MPAS-Analysis
Add a recipe for MPAS-Analysis
