{% set name = "tabulate" %}
{% set version = "0.8.10" %}
{% set sha256 = "6c57f3f3dd7ac2782770155f3adb2db0b1a269637e42f27599925e64b114f519" %}

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
  script: {{ PYTHON }} -m pip install . -vv
  entry_points:
    - tabulate = tabulate:_main

requirements:
  host:
    - python
    - pip
    - setuptools
    - wheel
  run:
    - python

test:
  imports:
    - tabulate
  requires:
    - pip
  commands:
    - pip check || true  # [not win]
    - pip check || exit 0  # [win]
    - tabulate --help

about:
  home: https://github.com/astanin/python-tabulate
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Pretty-print tabular data in Python, a library and a command-line utility.
  dev_url: https://github.com/astanin/python-tabulate
  doc_url: https://github.com/astanin/python-tabulate/blob/master/README.md

extra:
  recipe-maintainers:
    - jakirkham
    - synapticarbors
