vp-build/srcpkgs/python3-mypy/template

23 lines
698 B
Bash

# Template file for 'python3-mypy'
pkgname=python3-mypy
version=0.950
revision=1
wrksrc="mypy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Sphinx"
depends="python3-mypy_extensions python3-typed-ast python3-typing_extensions
python3-tomli"
short_desc="Optional static typing for Python3"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://github.com/python/mypy"
distfiles="${PYPI_SITE}/m/mypy/mypy-${version}.tar.gz"
checksum=1b333cfbca1762ff15808a0ef4f71b5d3eed8528b23ea1c3fb50543c867d68de
make_check=no # needs pytest-xdist and many tests fail
post_install() {
make -C docs man
vman docs/build/man/mypy.1
vlicense LICENSE
}