{% set name = "modernize" %}
{% set version = "0.5" %}
{% set hash_type = "sha256" %}
{% set hash = "358dbb35baec7619d9b7cd5efed532c9f4a2e4e4a80f70c4d03f7aa30f76905d" %}
package:
  name: {{ name }}
  version: {{ version }}

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

build:
  entry_points:
    - python-modernize = libmodernize.main:main

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

requirements:
  build:
    - python
    - setuptools

  run:
    - python

test:
  imports:
    - libmodernize
    - libmodernize.fixes

  commands:
    - python-modernize --help

about:
  home: https://github.com/python-modernize/python-modernize
  license: BSD 3-clause
  license_file: LICENSE
  license_family: BSD
  dev_url: https://github.com/python-modernize/python-modernize
  doc_url: http://python-modernize.readthedocs.io/
  summary: 'A hack on top of 2to3 for modernizing code for hybrid codebases.'

extra:
  recipe-maintainers:
    - nicoddemus

Add recipe for modernize 0.5
Add recipe for modernize 0.5
