void-packages/srcpkgs/python3-marshmallow/template
2020-05-25 21:27:34 +02:00

26 lines
803 B
Bash

# Template file for 'python3-marshmallow'
pkgname=python3-marshmallow
version=3.6.0
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=c2673233aa21dde264b84349dc2fd1dce5f30ed724a0a00e75426734de5b84ab
do_check() {
PYTHONPATH="${PWD}/build/lib" pytest3 -v
}
post_install() {
vlicense LICENSE
}