void-packages/srcpkgs/python3-yaml/template

23 lines
578 B
Bash

# Template file for 'python3-yaml'
pkgname=python3-yaml
version=5.3.1
revision=3
wrksrc="PyYAML-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libyaml-devel python3-devel"
short_desc="YAML parser and emitter for Python 3"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="MIT"
homepage="http://pyyaml.org/wiki/PyYAML"
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
checksum=b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}