From bd657a0be4d0b736b5a84a5f6b0230f709c30ae5 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 8 May 2018 09:33:20 +0000 Subject: testing/py-pykka: added check() --- testing/py-pykka/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testing/py-pykka') diff --git a/testing/py-pykka/APKBUILD b/testing/py-pykka/APKBUILD index 4fca8eb361..ff4317acbe 100644 --- a/testing/py-pykka/APKBUILD +++ b/testing/py-pykka/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=py-pykka pkgver=1.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Concurrency abstractions for Python using the actor model" url="http://pykka.readthedocs.org" arch="noarch" @@ -26,6 +26,13 @@ package() { mkdir -p "$pkgdir" } +check() { + cd "$builddir" + python2 setup.py check + python3 setup.py check +} + + _py2() { replaces="$pkgname" _py python2 -- cgit v1.2.3