python3-mccabe: run tests, adopt

This commit is contained in:
Michal Vasilek 2021-05-18 09:06:35 +02:00 committed by Érico Nogueira Rolim
parent dd09ef817f
commit ca164511dd
1 changed files with 3 additions and 1 deletions

View File

@ -6,8 +6,9 @@ wrksrc="mccabe-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3" depends="python3"
checkdepends="python3-pytest"
short_desc="McCabe complexity checker for Python3" short_desc="McCabe complexity checker for Python3"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Michal Vasilek <michal@vasilek>"
license="MIT" license="MIT"
homepage="https://github.com/PyCQA/mccabe" homepage="https://github.com/PyCQA/mccabe"
distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz" distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz"
@ -17,6 +18,7 @@ replaces="mccabe>=0"
pre_build() { pre_build() {
vsed -i '/setup_requires=/d' setup.py vsed -i '/setup_requires=/d' setup.py
} }
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }