diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/lua-luaposix/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/lua-luaposix/package.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/lua-luaposix/package.py b/var/spack/repos/builtin/packages/lua-luaposix/package.py index 1249bbff8d..e22be239c4 100644 --- a/var/spack/repos/builtin/packages/lua-luaposix/package.py +++ b/var/spack/repos/builtin/packages/lua-luaposix/package.py @@ -3,12 +3,10 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import glob - from spack import * -class LuaLuaposix(Package): +class LuaLuaposix(LuaPackage): """Lua posix bindings, including ncurses""" homepage = "https://github.com/luaposix/luaposix/" url = "https://github.com/luaposix/luaposix/archive/release-v33.4.0.tar.gz" @@ -18,8 +16,4 @@ class LuaLuaposix(Package): version('33.4.0', sha256='e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21') version('33.2.1', sha256='4fb34dfea67f4cf3194cdecc6614c9aea67edc3c4093d34137669ea869c358e1') - extends("lua") - - def install(self, spec, prefix): - rockspec = glob.glob('luaposix-*.rockspec') - luarocks('--tree=' + prefix, 'make', rockspec[0]) + depends_on('lua-bit32', when='^lua-lang@5.1:5.1.99') |