void-packages/srcpkgs/python-ConfigArgParse/template
2019-12-09 15:50:07 +01:00

32 lines
849 B
Bash

# Template file for 'python-ConfigArgParse'
pkgname=python-ConfigArgParse
version=0.15.2
revision=1
archs=noarch
wrksrc="ConfigArgParse-${version}"
build_style=python-module
pycompile_module="configargparse.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Drop-in replacement for argparse"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="MIT"
homepage="https://github.com/bw2/ConfigArgParse"
distfiles="${PYPI_SITE}/C/ConfigArgParse/ConfigArgParse-${version}.tar.gz"
checksum=558738aff623d6667aa5b85df6093ad3828867de8a82b66a6d458fb42567beb3
post_install() {
vlicense LICENSE
}
python3-ConfigArgParse_package() {
archs=noarch
depends="python3"
pycompile_module="configargparse.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}