description="Python bindings for YAML, using fast libYAML library"
url="http://pyyaml.org/wiki/PyYAML"

packager="tnut <tnut@nutyx.org>"
contributors=""

makedepends=(yaml cython)

name=python-yaml
version=6.0
release=2

_name=PyYAML

PKGMK_KEEP_SOURCES="no"
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${version}.tar.gz)

build() {
cd PyYAML-$version

python setup.py --with-libyaml build
python setup.py --with-libyaml install --prefix=/usr --root=$PKG --optimize=1
}
