{% set name = "flake8-polyfill" %}
{% set version = "1.0.2" %}
{% set sha256 = "e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda" %}

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:
  noarch: python
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools
  run:
    - python
    - flake8

test:
  imports:
    - flake8_polyfill

about:
  home: https://gitlab.com/pycqa/flake8-polyfill
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'Provides some compatibility helpers for Flake8 plugins that intend to support Flake8 2.x and 3.x simultaneously.'
  dev_url: https://gitlab.com/pycqa/flake8-polyfill

extra:
  recipe-maintainers:
    - dopplershift
