{% set name = "gevent" %}
{% set version = "1.2.2" %}
{% set sha256 = "4791c8ae9c57d6f153354736e1ccab1e2baf6c8d9ae5a77a9ac90f41e2966b2d" %}

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

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

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  host:
    - cffi >=1.3.0  # [not win]
    - python
    - setuptools

  build:
    - {{ compiler('c') }}

  run:
    - cffi >=1.3.0  # [not win]
    - python
    - greenlet >=0.4.10

test:
  imports:
    - gevent
    - gevent.libev

about:
  home: http://www.gevent.org/
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'Coroutine-based network library'
  description: |
    Gevent uses greenlet to provide a high-level synchronous API on top of the libev event loop.
  doc_url: http://www.gevent.org/contents.html
  dev_url: https://github.com/gevent/gevent

extra:
  recipe-maintainers:
    - nehaljwani
