void-packages/srcpkgs/python3-mypy/template

26 lines
846 B
Bash

# Template file for 'python3-mypy'
pkgname=python3-mypy
version=0.991
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"
depends="python3-mypy_extensions python3-typing_extensions"
checkdepends="${depends} python3-attrs python3-filelock
python3-lxml python3-psutil python3-py python3-pytest-xdist"
short_desc="Optional static typing for Python3"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://www.mypy-lang.org"
changelog="https://mypy-lang.blogspot.com"
distfiles="${PYPI_SITE}/m/mypy/mypy-${version}.tar.gz"
checksum=3c0165ba8f354a6d9881809ef29f1a9318a236a6d81c690094c5df32107bde06
post_install() {
make -C docs man
vman docs/build/man/mypy.1
vlicense LICENSE
}