diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 20:41:53 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 20:41:53 +0000 |
commit | 8935fb531907910280c7642e6abd2ae853eed465 (patch) | |
tree | ded3326d7248bc48398213c01cb8312bd8b434a1 /user | |
parent | 2e66815551db1c18fd5b854e11cf7b042060fc7b (diff) | |
download | packages-8935fb531907910280c7642e6abd2ae853eed465.tar.gz packages-8935fb531907910280c7642e6abd2ae853eed465.tar.bz2 packages-8935fb531907910280c7642e6abd2ae853eed465.tar.xz packages-8935fb531907910280c7642e6abd2ae853eed465.zip |
user/cram: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/cram/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/cram/APKBUILD b/user/cram/APKBUILD new file mode 100644 index 000000000..914809606 --- /dev/null +++ b/user/cram/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=cram +pkgver=0.6 +pkgrel=0 +pkgdesc="Functional testing framework for command line applications" +url="https://bitheap.org/cram/" +arch="noarch" +license="GPL-2.0-only" +depends="python3" +makedepends="" +subpackages="" +source="https://bitheap.org/cram/cram-$pkgver.tar.gz" +builddir="$srcdir/cram-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py -q test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="502f2531c0c813ad849720d8e3c134e9e12a94bd4be065a2410c6d0adce102c35b42e42a35dbc3c6c6327e3dc0fa98ccb94ca490c706d5f3639f80cceed74d4c cram-0.6.tar.gz" |