python-mccabe: drop package
This commit is contained in:
parent
25a3cc042f
commit
1ca478ac75
3 changed files with 22 additions and 36 deletions
|
@ -1,35 +0,0 @@
|
|||
# Template file for 'python-mccabe'
|
||||
pkgname=python-mccabe
|
||||
version=0.6.1
|
||||
revision=3
|
||||
archs=noarch
|
||||
replaces="mccabe>=0"
|
||||
wrksrc="mccabe-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="mccabe.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="McCabe complexity checker for Python2"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/PyCQA/mccabe"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz"
|
||||
checksum=dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f
|
||||
|
||||
pre_build() {
|
||||
sed -i '/setup_requires=/d' setup.py
|
||||
}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-mccabe_package() {
|
||||
archs=noarch
|
||||
pycompile_module="mccabe.py"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-mccabe
|
22
srcpkgs/python3-mccabe/template
Normal file
22
srcpkgs/python3-mccabe/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'python3-mccabe'
|
||||
pkgname=python3-mccabe
|
||||
version=0.6.1
|
||||
revision=4
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue