mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
community/xmake: upgrade to 2.9.5
This commit is contained in:
parent
1dfc782242
commit
12c188ec96
2 changed files with 29 additions and 2 deletions
25
community/xmake/04-actions-test-path.patch
Normal file
25
community/xmake/04-actions-test-path.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 0c42d253e0b9cb39ebdd4cdd22516f80cea7dc0e Mon Sep 17 00:00:00 2001
|
||||
From: ruki <waruqi@gmail.com>
|
||||
Date: Sat, 14 Sep 2024 13:46:31 +0800
|
||||
Subject: [PATCH] fix log path for test
|
||||
|
||||
---
|
||||
xmake/actions/test/main.lua | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
|
||||
index 408fa5d5f4..7fa42e3cfd 100644
|
||||
--- a/xmake/actions/test/main.lua
|
||||
+++ b/xmake/actions/test/main.lua
|
||||
@@ -58,8 +58,9 @@ function _do_test_target(target, opt)
|
||||
local targetfile = path.absolute(target:targetfile())
|
||||
local runargs = table.wrap(opt.runargs or target:get("runargs"))
|
||||
local autogendir = path.join(target:autogendir(), "tests")
|
||||
- local outfile = path.join(autogendir, opt.name .. ".out")
|
||||
- local errfile = path.join(autogendir, opt.name .. ".err")
|
||||
+ local logname = opt.name:gsub("[/\\>=<|%*]", "_")
|
||||
+ local outfile = path.absolute(path.join(autogendir, logname .. ".out"))
|
||||
+ local errfile = path.absolute(path.join(autogendir, logname .. ".err"))
|
||||
os.tryrm(outfile)
|
||||
os.tryrm(errfile)
|
||||
os.mkdir(autogendir)
|
|
@ -1,7 +1,7 @@
|
|||
# Contributor: qaqland <qaq@qaq.land>
|
||||
# Maintainer: qaqland <qaq@qaq.land>
|
||||
pkgname=xmake
|
||||
pkgver=2.9.4
|
||||
pkgver=2.9.5
|
||||
pkgrel=0
|
||||
pkgdesc="A cross-platform build utility based on Lua"
|
||||
url="https://xmake.io/"
|
||||
|
@ -37,6 +37,7 @@ source="
|
|||
01-pkgconfig-libsv.patch
|
||||
02-system-include.patch
|
||||
03-internal-lua-cjson.patch
|
||||
04-actions-test-path.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
|
@ -90,9 +91,10 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
0f29a6c1b96bbfc86c0fb00e82f94292b4d943311554f02010305b25cebb6c73b119acb8cb232ea6464b627a0c540f866c52e4d1c891f66abb09eb9a4de3fb1a xmake-2.9.4.tar.gz
|
||||
eac40c2c498b9a37d4648ed1867a4d0910a075d2459114919d5f72a5ce99de075a0b3dcd0efd4acc68e97246d5f3251b63dca0888ec5b88b6cb786ce365c2e1f xmake-2.9.5.tar.gz
|
||||
3f1caa76b501eadc00d55c8a9e332576d7719007d5f3a1bd5d3f1609b01917d9206849454a9d2adb1d60963191e53a89c6ea5a1996851af5ff6bedc708df88a9 xmake-core-lua-cjson-ddcecf3b24b71421e7b4a2962f1fbcc0297e0c1e.tar.gz
|
||||
26131e4a84ff159db4a75c3095e0b0f04ad909ecb00296f2e2e10a8db5b01a53603ad2067a56b4b76453a527269b8f77dd24435b87940e929ed6a904aa064aa7 01-pkgconfig-libsv.patch
|
||||
735560bb8a148818b3c1efeac612c2873c473fd6727e749de78053442fda09919e51292f1aae71e49e5b22ab432da0a981d2d7505bd6e25ae02e4b40b6084279 02-system-include.patch
|
||||
1df3a3ddf30209556715939e57783f230a56bbaf03a3ded839718c6639b3de0e1161056dcd76f25827cee72d6765973d1e8b112121482cad0050a8eac86dfa79 03-internal-lua-cjson.patch
|
||||
ddff717599fe73bc3fd76bdf59b2d45505bdf495ba0d161e08e0b1a737387e2aa0f7cc25195150f627b22ea02854dfd9bf26630f9a1074f508bc53631f614b23 04-actions-test-path.patch
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue