# Description: Python bindings for YAML, using fast libYAML library
# URL: https://pyyaml.org/wiki/PyYAML
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libyaml python3-cython

name=python3-yaml
version=6.0
release=1
source=(https://pypi.python.org/packages/source/P/PyYAML/PyYAML-$version.tar.gz)
#source=(https://github.com/yaml/pyyaml/archive/$version/PyYAML-$version.tar.gz)

build() {
  #cd pyyaml-$version
  cd PyYAML-$version
  /usr/bin/python3 setup.py --with-libyaml build
  /usr/bin/python3 setup.py  --with-libyaml install \
    --prefix=/usr \
    --root=$PKG \
    -O1 \
    --skip-build
}
