{% set name = "yarn-api-client" %}
{% set version = "v0.2.3" %}

package:
  name: {{ name|lower }}
  version: {{ version[1:] }}

source:
  git_url: https://github.com/toidi/hadoop-yarn-api-python-client.git
  git_rev: {{ version }}
  sha256: d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f

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

requirements:
  host:
    - python
    - pip
  run:
    - python

test:
  imports:
    - yarn_api_client

  commands:
    - python -m yarn_api_client --help
    - python -c "from yarn_api_client import ApplicationMaster, HistoryServer, NodeManager, ResourceManager"

about:
  home: https://python-client-for-hadoop-yarn-api.readthedocs.io/en/latest/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: Python client for Hadoop® YARN API
  doc_url: https://python-client-for-hadoop-yarn-api.readthedocs.io/en/latest/
  dev_url: https://github.com/toidi/hadoop-yarn-api-python-client.git

extra:
  recipe-maintainers:
    - ericdill
    - lresende

Add recipe for the yarn api client package
Add recipe for the yarn api client package
