# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf PyYAML-$version

  tar xf $srcdir/PyYAML-$version.tar.?z*
  cd PyYAML-$version
  fixbuilddirpermissions
}

build() {
  python3 setup.py install --root=$pkg
  cp LICENSE $pkgdocs/

  mkfinalpkg
}

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