# Template file for 'python-ConfigArgParse' pkgname=python-ConfigArgParse version=0.15.1 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 " license="MIT" homepage="https://github.com/bw2/ConfigArgParse" distfiles="${PYPI_SITE}/C/ConfigArgParse/ConfigArgParse-${version}.tar.gz" checksum=baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac 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 } }