{% set version = "3.11" %}


package:
  name: pyyaml
  version: {{ version }}

source:
  fn: PyYAML-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/P/PyYAML/PyYAML-{{ version }}.tar.gz
  md5: f50e08ef0fe55178479d3a618efe21db

build:
  number: 0
  script:
    - python setup.py --with-libyaml build_ext --include-dirs="${PREFIX}/include" --library-dirs="${PREFIX}/lib"  # [unix]
    - python setup.py --with-libyaml build_ext --include-dirs="%LIBRARY_INC% --library-dirs=%LIBRARY_LIB%         # [win]
    - python setup.py install
    - python setup.py test

requirements:
  build:
    - python
    - yaml

  run:
    - python
    - yaml

test:
  imports:
    - yaml
    - _yaml

about:
  home: http://pyyaml.org/wiki/PyYAML
  license: MIT
  summary: YAML parser and emitter for Python

extra:
  recipe-maintainers:
    - jakirkham
    - msarahan

Add a recipe to build pyyaml.
pyyaml: Add a recipe to build pyyaml.
