Daurnimator pushed to branch main at Arch Linux / Packaging / Packages /
lua-compat53
Commits:
ed15e381 by Eric Long at 2024-09-05T05:29:00+00:00
Include missing file_mt.lua
Currently `require`ing compat53 fails:
```
$ lua5.1 -e 'require("compat53")'
lua5.1: /usr/share/lua/5.1/compat53/init.lua:27: module
'compat53.file_mt' not found:
no field package.preload['compat53.file_mt']
no file './compat53/file_mt.lua'
no file '/usr/share/lua/5.1/compat53/file_mt.lua'
no file '/usr/share/lua/5.1/compat53/file_mt/init.lua'
no file '/usr/lib/lua/5.1/compat53/file_mt.lua'
no file '/usr/lib/lua/5.1/compat53/file_mt/init.lua'
no file './compat53/file_mt.so'
no file '/usr/lib/lua/5.1/compat53/file_mt.so'
no file '/usr/lib/lua/5.1/loadall.so'
no file './compat53.so'
no file '/usr/lib/lua/5.1/compat53.so'
no file '/usr/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/share/lua/5.1/compat53/init.lua:27: in main chunk
[C]: in function 'require'
(command line):1: in main chunk
[C]: ?
```
- - - - -
8fb7b2e6 by Daurnimator at 2024-09-05T15:45:54+10:00
Merge remote-tracking branch 'origin/refs/merge-requests/1/head'
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = lua-compat53
pkgdesc = Compatibility module providing Lua-5.3-style APIs
pkgver = 0.14.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/lunarmodules/lua-compat-5.3
arch = x86_64
license = MIT
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgbase='lua-compat53'
pkgname=('lua51-compat53' 'lua52-compat53')
pkgver=0.14.3
-pkgrel=1
+pkgrel=2
pkgdesc='Compatibility module providing Lua-5.3-style APIs'
arch=('x86_64')
url='https://github.com/lunarmodules/lua-compat-5.3'
@@ -36,7 +36,7 @@ package_lua51-compat53() {
pkgdesc='Compatibility module providing Lua-5.3-style APIs for Lua 5.1'
cd "lua-compat-5.3-$pkgver"
- install -Dm644 compat53/{init,module}.lua -t
"$pkgdir/usr/share/lua/5.1/compat53"
+ install -Dm644 compat53/{init,module,file_mt}.lua -t
"$pkgdir/usr/share/lua/5.1/compat53"
install -D 5.1/{utf8,string,table}.so -t
"$pkgdir/usr/lib/lua/5.1/compat53/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -45,7 +45,7 @@ package_lua52-compat53() {
pkgdesc='Compatibility module providing Lua-5.3-style APIs for Lua 5.2'
cd "lua-compat-5.3-$pkgver"
- install -Dm644 compat53/{init,module}.lua -t
"$pkgdir/usr/share/lua/5.2/compat53"
+ install -Dm644 compat53/{init,module,file_mt}.lua -t
"$pkgdir/usr/share/lua/5.2/compat53"
install -D 5.2/{utf8,string,table}.so -t
"$pkgdir/usr/lib/lua/5.2/compat53/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/lua-compat53/-/compare/777e56b8c5d54d3e4727d87841a38295316e0656...8fb7b2e640e2ed448b301f44fdde7651c7fc13ec
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/lua-compat53/-/compare/777e56b8c5d54d3e4727d87841a38295316e0656...8fb7b2e640e2ed448b301f44fdde7651c7fc13ec
You're receiving this email because of your account on gitlab.archlinux.org.