25 lines
625 B
Bash
25 lines
625 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"
|
|
checkdepends="python3-pytest"
|
|
short_desc="McCabe complexity checker for Python3"
|
|
maintainer="Michal Vasilek <michal@vasilek>"
|
|
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
|
|
}
|