# Template file for 'python3-marshmallow'
pkgname=python3-marshmallow
version=3.6.1
revision=1
archs=noarch
wrksrc="marshmallow-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest python3-simplejson python3-pytz"
short_desc="Library for converting complex datatypes (Python3)"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="MIT"
homepage="https://github.com/marshmallow-code/marshmallow"
changelog="https://raw.githubusercontent.com/marshmallow-code/marshmallow/dev/CHANGELOG.rst"
distfiles="${PYPI_SITE}/m/marshmallow/marshmallow-${version}.tar.gz"
checksum=35ee2fb188f0bd9fc1cf9ac35e45fd394bd1c153cee430745a465ea435514bd5

do_check() {
	PYTHONPATH="${PWD}/build/lib" pytest3 -v
}

post_install() {
	vlicense LICENSE
}
