# Contributor: Carlo Landmeter # Contributor: Jakub Jirutka # Maintainer: Stuart Cardall pkgname=py3-configargparse _pkgname=ConfigArgParse pkgver=1.5.5 pkgrel=0 pkgdesc="drop-in replacement for argparse" url="https://github.com/bw2/ConfigArgParse" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools py3-wheel" checkdepends="py3-mock py3-pytest py3-yaml" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/bw2/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-configargparse" # Backwards compatibility provides="py-configargparse=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" fc9229d12fcc8da3b001d75d10829e1eef4ec0624b89ad319e840bea9a795d3d575a3760538f13a30bd1e778a27a7620486d7cb199fff9df5535017a7fef4a4c py3-configargparse-1.5.5.tar.gz "