# Contributor: Bart Ribbers # Contributor: Leo # Maintainer: pkgname=py3-scripttest pkgver=1.3.0 pkgrel=2 pkgdesc="Helper to test command-line scripts" url="https://pypi.org/project/scripttest/" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://github.com/pypa/scripttest/archive/$pkgver/scripttest-$pkgver.tar.gz" builddir="$srcdir/scripttest-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6 scripttest-1.3.0.tar.gz"