{% set name = "openscm-twolayermodel" %}
{% set version = "0.2.1" %}

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

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

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv"

requirements:
  host:
    - pip
    - python >=3.6
  run:
    - python >=3.6
    - scmdata >=0.7.4
    - tqdm

test:
  imports:
    - openscm_twolayermodel
  requires:
    - pip
  commands:
    - pip check
    - python -c "import openscm_twolayermodel; assert openscm_units.__version__ == '{{ version }}'"

about:
  home: https://github.com/openscm/openscm-twolayermodel
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Implementations of the two layer radiative forcing driven models by Held et al. (2010), Geoffroy et al. (2013) and Bloch-Johnson et al. (2015)
  doc_url: https://openscm-two-layer-model.readthedocs.io/en/stable/
  dev_url: https://github.com/openscm/openscm-twolayermodel

extra:
  recipe-maintainers:
    - znicholls

Add OpenSCM Two-layer Model recipe
Add OpenSCM Two-layer Model recipe
