# Contributor: prspkt # Maintainer: prspkt pkgname=py3-cmd2 pkgver=2.4.3 pkgrel=2 pkgdesc="Tool for building interactive command line applications in Python" url="https://github.com/python-cmd2/cmd2" arch="noarch" license="MIT" depends="python3 py3-attrs py3-pyperclip py3-wcwidth" makedepends="py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel" checkdepends="py3-pytest py3-pytest-mock py3-pytest-xdist py3-pytest-cov" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-$pkgver.tar.gz" builddir="$srcdir/cmd2-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest -k 'not test_send_to_paste_buffer' } package() { python3 -m installer -d "$pkgdir" \ .dist/cmd2*.whl } sha512sums=" 1d440752262f38a742069e636373884edcc49c17ba17b21b24015cfe559b4df36b45ac9489f2f643897fbd38f54b8e6120daf07ef25d2f209af8a4ac8e4c0085 cmd2-2.4.3.tar.gz "