# Template file for 'python3-mypy'
pkgname=python3-mypy
version=2.1.0
revision=1
build_style=python3-module
# fails in ci
make_check_args="-k not(testDaemonStatusKillRestartRecheck)"
make_check_target="mypy/test"
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinx-inline-tabs
 python3-MyST-Parser python3-yaml python3-markdown-it python3-mdit-py-plugins
 python3-librt python3-typing_extensions python3-mypy_extensions
 python3-pathspec"
depends="python3-mypy_extensions python3-typing_extensions python3-librt
 python3-pathspec python3-ast_serialize"
checkdepends="${depends} python3-attrs python3-filelock
 python3-lxml python3-psutil python3-py python3-pytest-xdist"
short_desc="Optional static typing for Python3"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://www.mypy-lang.org"
changelog="https://mypy-lang.blogspot.com"
distfiles="${PYPI_SITE}/m/mypy/mypy-${version}.tar.gz"
checksum=81e76ad12c2d804512e9b13240d1588316531bfba07558286078bfbce9613633

post_install() {
	make -C docs man
	vman docs/build/man/mypy.1
	vlicense LICENSE
}
