void-packages/srcpkgs/python3-marshmallow/template

25 lines
790 B
Bash

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