void-packages/srcpkgs/python3-typeguard/template

22 lines
726 B
Bash

# Template file for 'python3-typeguard'
pkgname=python3-typeguard
version=2.13.0
revision=2
wrksrc="${pkgname/python3-/}-${version}"
build_style=python3-module
# mypy checks seem to require that the module be installed
make_check_args="--ignore=tests/mypy"
hostmakedepends="python3-setuptools_scm"
depends="python3"
checkdepends="python3-pytest python3-typing_extensions"
short_desc="Run-time type checker for python"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/agronholm/typeguard"
distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
post_install() {
vlicense LICENSE
}