{% set name = "cffi" %}
{% set version = "1.9.1" %}
{% set hash_type = "sha256" %}
{% set hash = "563e0bd53fda03c151573217b3a49b3abad8813de9dd0632e10090f6190fdaf8" %}

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
  {{ hash_type }}: {{ hash }}
  patches:
    - setup-linux.patch  # [unix]

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

requirements:
  build:
    - python
    - libffi  # [unix]
    - pycparser
    - setuptools
  run:
    - python
    - libffi  # [unix]
    - pycparser

test:
  imports:
    - cffi
    - _cffi_backend

about:
  home: https://bitbucket.org/cffi/cffi
  license: MIT
  license_file: LICENSE
  summary: Foreign Function Interface for Python calling C code.
  doc_url: http://cffi.readthedocs.org

{% set name = "cffi" %}
{% set version = "1.10.0" %}
{% set hash_type = "sha256" %}
{% set hash = "b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5" %}

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
  {{ hash_type }}: {{ hash }}
  patches:
    - setup-linux.patch  # [unix]

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

requirements:
  build:
    - python
    - libffi  # [unix]
    - pycparser
    - setuptools
  run:
    - python
    - libffi  # [unix]
    - pycparser

test:
  imports:
    - cffi
    - _cffi_backend

about:
  home: https://bitbucket.org/cffi/cffi
  license: MIT
  license_file: LICENSE
  summary: Foreign Function Interface for Python calling C code.
  doc_url: http://cffi.readthedocs.org

Update cffi recipe to version 1.10.0
Update cffi recipe to version 1.10.0
