diff options
author | Kevin Daudt <ops@ikke.info> | 2018-09-17 18:49:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-27 06:18:40 +0000 |
commit | 9784b9555bb99f9ee7ad5cc08d3c2875d3482ad4 (patch) | |
tree | 12a8022a77526331e76605aeea1e33d2ffc9ab0f /testing/py-praw | |
parent | 5dc872ff2b7de65540e4f160c528d869b4485efb (diff) | |
download | aports-9784b9555bb99f9ee7ad5cc08d3c2875d3482ad4.tar.bz2 aports-9784b9555bb99f9ee7ad5cc08d3c2875d3482ad4.tar.xz |
testing/py-praw: add check step to run test suite
The library has a test suite, but this was never used.
Diffstat (limited to 'testing/py-praw')
-rw-r--r-- | testing/py-praw/APKBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/py-praw/APKBUILD b/testing/py-praw/APKBUILD index e9d7569b21..ddd0e5a7a3 100644 --- a/testing/py-praw/APKBUILD +++ b/testing/py-praw/APKBUILD @@ -25,6 +25,12 @@ package() { mkdir -p "$pkgdir" } +check() { + cd "$builddir" + python2 setup.py test + python3 setup.py test +} + _py2() { replaces="$pkgname" depends="${depends//py-/py2-}" |