aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-venusian
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-04-04 01:19:34 +0300
committerprspkt <prspkt@protonmail.com>2019-04-04 01:22:52 +0300
commitfef42d505158a6f8a2950549c51463531ad5ecbe (patch)
tree7a8dff5b1c6e851fedd86a3b382c6d31c5111524 /testing/py-venusian
parent4a34156112d72065e4d0ca0762d993f65634cec7 (diff)
downloadaports-fef42d505158a6f8a2950549c51463531ad5ecbe.tar.bz2
aports-fef42d505158a6f8a2950549c51463531ad5ecbe.tar.xz
testing/py-venusian: add check
Diffstat (limited to 'testing/py-venusian')
-rw-r--r--testing/py-venusian/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/py-venusian/APKBUILD b/testing/py-venusian/APKBUILD
index 54aef86165..5e75bdabb1 100644
--- a/testing/py-venusian/APKBUILD
+++ b/testing/py-venusian/APKBUILD
@@ -10,6 +10,7 @@ arch="noarch"
license="BSD"
depends_dev=""
makedepends="python2-dev python3-dev py-setuptools"
+checkdepends="pytest"
install=""
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -31,6 +32,12 @@ build() {
python3 setup.py build
}
+check() {
+ cd "$builddir"
+ py.test-2
+ py.test-3
+}
+
package() {
mkdir -p "$pkgdir"
}