aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-14 23:10:05 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-26 19:24:24 +0000
commita3026151ce8c795f306d4c8aa6e7bef3c0d6a297 (patch)
tree28dc67f30bbcde6fe77fb1479da4602aa78c6638
parentf711a4d00c7f56cf44e9c4bcd87b1c02c10e568d (diff)
downloadaports-a3026151ce8c795f306d4c8aa6e7bef3c0d6a297.tar.gz
aports-a3026151ce8c795f306d4c8aa6e7bef3c0d6a297.tar.bz2
aports-a3026151ce8c795f306d4c8aa6e7bef3c0d6a297.tar.xz
community/lua-copas: enable luajit on all arches
-rw-r--r--community/lua-copas/APKBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/community/lua-copas/APKBUILD b/community/lua-copas/APKBUILD
index 1555011e0f..8eac15cfe9 100644
--- a/community/lua-copas/APKBUILD
+++ b/community/lua-copas/APKBUILD
@@ -4,13 +4,13 @@ pkgname=lua-copas
_pkgname=copas
pkgver=2.0.2
_pkgver=${pkgver//./_}
-pkgrel=2
+pkgrel=3
pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua"
url="http://keplerproject.github.io/copas/"
arch="noarch"
license="MIT"
depends="lua-socket"
-checkdepends="lua5.1-coxpcall lua-sec"
+checkdepends="lua5.1-coxpcall lua-sec luajit"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/keplerproject/$_pkgname/archive/v$_pkgver.tar.gz
default-tls1.2.patch
@@ -19,14 +19,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/keplerproject/$_pkgname/arch
skip-broken-test.patch"
builddir="$srcdir/$_pkgname-$_pkgver"
-# luajit is not available on s390x
-# XXX: tests/largetransfer.lua segfaults on ppc64le LuaJIT
-# on aarch64: luajit: bad light userdata pointer
-case "$CARCH" in
- s390x | ppc64le | aarch64) _luajit="";;
- *) checkdepends="$checkdepends luajit" _luajit="jit";;
-esac
-
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
subpackages="$subpackages lua$_v-$_pkgname:_subpackage"
@@ -39,7 +31,7 @@ check() {
# tests keep running indefinitely
case "$CARCH" in armv7) return 0;; esac
- local lver; for lver in $_luaversions $_luajit; do
+ local lver; for lver in $_luaversions; do
msg "Testing on lua$lver"
make test LUA=lua$lver
done