aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-simplejson/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-simplejson/APKBUILD')
-rw-r--r--main/py-simplejson/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/py-simplejson/APKBUILD b/main/py-simplejson/APKBUILD
index 8b596ee1f3..c19347447d 100644
--- a/main/py-simplejson/APKBUILD
+++ b/main/py-simplejson/APKBUILD
@@ -12,15 +12,17 @@ depends=""
makedepends="py-setuptools python2-dev python3-dev"
subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
-
python2 setup.py build
- python2 setup.py test
-
python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python2 setup.py test
python3 setup.py test
}