python3-typeguard: make checks work, use setuptools_scm for proper versioning

This commit is contained in:
Andrew J. Hesford 2021-11-08 10:03:49 -05:00
parent 2e1c2bdef6
commit 06db272722

View file

@ -1,11 +1,14 @@
# Template file for 'python3-typeguard'
pkgname=python3-typeguard
version=2.13.0
revision=1
revision=2
wrksrc="${pkgname/python3-/}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
# 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"