24 lines
628 B
Bash
24 lines
628 B
Bash
# Template file for 'python3-mccabe'
|
|
pkgname=python3-mccabe
|
|
version=0.6.1
|
|
revision=7
|
|
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.cz>"
|
|
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
|
|
}
|