Skip to content

Commit 0521830

Browse files
committed
💚 Remove git for cibuildwheel
1 parent 2748b6a commit 0521830

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

packages/x/xmake/xmake.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ do
55
set_homepage("https://github.com/xmake-io/xmake")
66
set_description("xmake - A cross-platform build utility based on Lua")
77

8-
set_urls("https://github.com/xmake-io/xmake/releases/download/$(version)/xmake-$(version).tar.gz",
9-
"https://github.com/xmake-io/xmake.git")
10-
add_versions("v3.0.0", "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5 -")
8+
set_urls("https://github.com/xmake-io/xmake/releases/download/$(version)/xmake-$(version).tar.gz")
9+
add_versions("v3.0.0", "e749c2a902a1b88e6e3b73b78962a6417c9a04f91ce3c6e174a252598f10eb28")
1110

1211
on_install(function(package)
1312
import("package.tools.xmake").install(package, { "-P", "core", "--pdcurses=n" })

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,10 @@ MACOSX_DEPLOYMENT_TARGET = "14.5"
9191
select = ["*-musllinux_s390x", "*-musllinux_ppc64*"]
9292
build-frontend = "build"
9393

94-
[[tool.cibuildwheel.overrides]]
95-
select = ["*-manylinux_*"]
96-
before-all = "yum -y install gzip git"
97-
9894
[[tool.cibuildwheel.overrides]]
9995
select = ["*-musllinux_*"]
100-
before-all = "apk add gzip git"
96+
before-all = "apk add gzip"
10197

10298
[[tool.cibuildwheel.overrides]]
10399
select = ["*-macosx_*"]
104-
before-all = "brew install xmake gzip git"
100+
before-all = "brew install xmake"

scripts/update-version.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ BEGIN
88
$sha =
99
`curl -s https://github.com/xmake-io/xmake/releases/download/$version/xmake-$version.tar.gz | sha256sum`;
1010
chomp $sha;
11+
$sha =~ s/\s*-//;
1112
}
1213

1314
s/(?<=version = ")[^"]+/$version/;

0 commit comments

Comments
 (0)