{% set name = "wurlitzer" %}
{% set version = "3.0.2" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 36051ac530ddb461a86b6227c4b09d95f30a1d1043de2b4a592e97ae8a84fcdf

build:
  skip: true  # [win or py<35]
  number: 0
  script: python -m pip install --no-deps --ignore-installed .

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

test:
  imports:
    - wurlitzer
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/minrk/wurlitzer
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Capture C-level stdout/stderr in Python
  dev_url: https://github.com/minrk/wurlitzer
  doc_url: https://github.com/minrk/wurlitzer/blob/main/README.md

extra:
  recipe-maintainers:
    - minrk
    - bjodah
    - asmeurer
