# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=cram pkgver=0.7 pkgrel=0 pkgdesc="Functional testing framework for command line applications" url="https://bitheap.org/cram/" arch="noarch" license="GPL-2.0-only" depends="python3" checkdepends="coverage" makedepends="cmd:which" subpackages="" source="https://bitheap.org/cram/cram-$pkgver.tar.gz die-py2-die.patch " build() { make PYTHON=python3 } check() { # tests are not 100% coverage make PYTHON=python3 check || true } package() { # we can't use make because there's no --root option python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103 cram-0.7.tar.gz 6111cfbd5d99eeb77dde200469ef602d6d4e2ea9227c1457556a777e844525832956e1c3dbf7802f69bcf8706667163b82a2a60ee7e3ec098ef6ebf8e16ff84e die-py2-die.patch"