{% set name = "requests-file" %}
{% set version = "1.5.1" %}

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: 07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - python
    - pip
  run:
    - python
    - requests >=1.0.0
    - six

test:
  imports:
    - requests_file

about:
  home: http://github.com/dashea/requests-file
  license: Apache
  license_file: LICENSE
  summary: file transport adapter for Requests
  description: |
    Requests-File is a transport adapter for use with the Requests Python
    library to allow local filesystem access via file:// URLs.
  doc_url: https://pypi.python.org/pypi/requests-file
  doc_source_url: https://github.com/dashea/requests-file/blob/master/README.rst
