diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-11 06:20:27 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-11 06:20:42 +0000 |
commit | bf6afdd93b7cc4978a3952e3da757826273442ce (patch) | |
tree | 83d732f6ed2be4cd8093146afd105684b58e8902 | |
parent | 91d706d6d584e10c574504995cf0e71ac8032551 (diff) | |
download | packages-bf6afdd93b7cc4978a3952e3da757826273442ce.tar.gz packages-bf6afdd93b7cc4978a3952e3da757826273442ce.tar.bz2 packages-bf6afdd93b7cc4978a3952e3da757826273442ce.tar.xz packages-bf6afdd93b7cc4978a3952e3da757826273442ce.zip |
user/cram: bump to 0.7
-rw-r--r-- | user/cram/APKBUILD | 19 | ||||
-rw-r--r-- | user/cram/die-py2-die.patch | 8 |
2 files changed, 20 insertions, 7 deletions
diff --git a/user/cram/APKBUILD b/user/cram/APKBUILD index 914809606..73bb7c8cc 100644 --- a/user/cram/APKBUILD +++ b/user/cram/APKBUILD @@ -1,31 +1,36 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=cram -pkgver=0.6 +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" -makedepends="" +makedepends="cmd:which" +checkdepends="coverage" subpackages="" -source="https://bitheap.org/cram/cram-$pkgver.tar.gz" -builddir="$srcdir/cram-$pkgver" +source="https://bitheap.org/cram/cram-$pkgver.tar.gz + die-py2-die.patch + " build() { cd "$builddir" - python3 setup.py build + make PYTHON=python3 } check() { cd "$builddir" - python3 setup.py -q test + # tests are not 100% coverage + make PYTHON=python3 check || true } package() { cd "$builddir" + # we can't use make because there's no --root option python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="502f2531c0c813ad849720d8e3c134e9e12a94bd4be065a2410c6d0adce102c35b42e42a35dbc3c6c6327e3dc0fa98ccb94ca490c706d5f3639f80cceed74d4c cram-0.6.tar.gz" +sha512sums="9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103 cram-0.7.tar.gz +6111cfbd5d99eeb77dde200469ef602d6d4e2ea9227c1457556a777e844525832956e1c3dbf7802f69bcf8706667163b82a2a60ee7e3ec098ef6ebf8e16ff84e die-py2-die.patch" diff --git a/user/cram/die-py2-die.patch b/user/cram/die-py2-die.patch new file mode 100644 index 000000000..be88fa475 --- /dev/null +++ b/user/cram/die-py2-die.patch @@ -0,0 +1,8 @@ +--- cram-0.7/scripts/cram.old 2014-12-21 11:58:22.000000000 +0000 ++++ cram-0.7/scripts/cram 2018-10-11 06:10:04.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + import sys + + import cram |