APP=python-pyyaml
VERSION=5.4.1
BUILD=1sml
HOMEPAGE='https://pyyaml.org'
DESC="Next-generation YAML parser and emitter for python"
REQUIRES="python-markdown"

build() {
  mkandenterbuilddir
  rm -rf PyYAML-$VERSION

  tar xf $SRCDIR/PyYAML-$VERSION.tar.?z*
  cd PyYAML-$VERSION
  fixbuilddirpermissions

  python3 setup.py install --prefix="" --root=$PKG
  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
359c45d843fd839797572efeab121f17b1947647960dfb062f3618f25f71e1a6bc4bab14a1720b6b67f256089d5d48c452ec5419e3130222765c7ca41db11dad  PyYAML-5.4.1.tar.gz
"
