1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
3 # Contributor: Thomas S Hatch <thatch45@gmail.com>
8 pkgdesc='Functional tests for command line applications'
10 url='https://bitheap.org/cram/'
13 source=("https://bitheap.org/cram/cram-$pkgver.tar.gz")
14 sha512sums=('9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103')
17 cd "$srcdir"/cram-$pkgver
22 cd "$srcdir"/cram-$pkgver
23 PYTHONPATH="$PWD/build/lib:$PYTHONPATH" PYTHON=python python scripts/cram tests
28 python setup.py install --root="$pkgdir" -O1