# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-pyaml _pkgname="pyaml" pkgver=23.7.0 pkgrel=0 arch='noarch' pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data" url="https://pypi.python.org/pypi/pyaml" license="WTFPL" depends=" py3-yaml " makedepends=" py3-setuptools py3-gpep517 py3-wheel py3-installer " checkdepends=" py3-unidecode py3-pytest " source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" edbe58a3a7f1216a2463ac56af829c38b12b7194429691a92cb7f28ca926094e324d6e44d3fb64be40239dc8a6dc61d72946b107f5210ca83e73dec18b1428ef py3-pyaml-23.7.0.tar.gz "