python3-mccabe: run tests, adopt
This commit is contained in:
parent
dd09ef817f
commit
ca164511dd
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue