void-packages/srcpkgs/python3-mccabe/template

23 lines
594 B
Bash

# Template file for 'python3-mccabe'
pkgname=python3-mccabe
version=0.6.1
revision=5
wrksrc="mccabe-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="McCabe complexity checker for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/PyCQA/mccabe"
distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz"
checksum=dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f
replaces="mccabe>=0"
pre_build() {
vsed -i '/setup_requires=/d' setup.py
}
post_install() {
vlicense LICENSE
}