{% set name = "astor" %}
{% set version = "0.8.1" %}
{% set sha256 = "6a6effda93f4e1ce9f618779b2dd1d9d84f1e32812c23a29b3fff6fd7f63fa5e" %}

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
  noarch: python
  script: {{ PYTHON }} -m pip install . --no-deps -vv

requirements:
  build:
    - python
    - pip

  run:
    - python

test:
  imports:
    - astor

about:
  home: https://github.com/berkerpeksag/astor
  license: BSD-3-Clause
  summary: 'Read, rewrite, and write Python ASTs nicely'
  license_file: LICENSE
  description: |
    astor is designed to allow easy manipulation of Python source via the AST.
  doc_url: http://astor.readthedocs.io/en/latest/
  dev_url: https://github.com/berkerpeksag/astor

extra:
  recipe-maintainers:
    - drewokane
    - xhochy
