Skip to content

Commit c96b32b

Browse files
committed
Replace unzip_jll with p7zip_jll
1 parent f6d4810 commit c96b32b

File tree

3 files changed

+308
-8
lines changed

3 files changed

+308
-8
lines changed

Manifest.toml

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
julia_version = "1.12.1"
4+
manifest_format = "2.0"
5+
project_hash = "537ba44ba03b372d1fa232c6318a24bc374807fe"
6+
7+
[[deps.ArgTools]]
8+
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
9+
version = "1.1.2"
10+
11+
[[deps.Artifacts]]
12+
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
13+
version = "1.11.0"
14+
15+
[[deps.Attr_jll]]
16+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
17+
git-tree-sha1 = "b8747cda97b6cedbd8dc9fc6218e1d53ce8de32f"
18+
uuid = "1fd713ca-387f-5abc-8002-d8b8b1623b73"
19+
version = "2.5.3+0"
20+
21+
[[deps.Base64]]
22+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
23+
version = "1.11.0"
24+
25+
[[deps.BinaryBuilderBase]]
26+
deps = ["Bzip2_jll", "CodecZlib", "Downloads", "Gzip_jll", "HistoricalStdlibVersions", "InteractiveUtils", "JLLWrappers", "JSON", "LibGit2", "LibGit2_jll", "Libdl", "Logging", "OrderedCollections", "OutputCollectors", "Pkg", "Printf", "ProgressMeter", "REPL", "Random", "SHA", "Scratch", "SimpleBufferStream", "TOML", "Tar", "Tar_jll", "UUIDs", "XZ_jll", "Zstd_jll", "p7zip_jll", "pigz_jll"]
27+
path = "."
28+
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
29+
version = "1.42.0"
30+
31+
[[deps.Bzip2_jll]]
32+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
33+
git-tree-sha1 = "1b96ea4a01afe0ea4090c5c8039690672dd13f2e"
34+
uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
35+
version = "1.0.9+0"
36+
37+
[[deps.CodecZlib]]
38+
deps = ["TranscodingStreams", "Zlib_jll"]
39+
git-tree-sha1 = "962834c22b66e32aa10f7611c08c8ca4e20749a9"
40+
uuid = "944b1d66-785c-5afd-91f1-9de20f533193"
41+
version = "0.7.8"
42+
43+
[[deps.Dates]]
44+
deps = ["Printf"]
45+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
46+
version = "1.11.0"
47+
48+
[[deps.Distributed]]
49+
deps = ["Random", "Serialization", "Sockets"]
50+
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
51+
version = "1.11.0"
52+
53+
[[deps.Downloads]]
54+
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
55+
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
56+
version = "1.6.0"
57+
58+
[[deps.FileWatching]]
59+
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
60+
version = "1.11.0"
61+
62+
[[deps.Gzip_jll]]
63+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
64+
git-tree-sha1 = "cb9018cf049ffd213457bc6b002c37532983c31d"
65+
uuid = "be1be57a-8558-53c3-a7e5-50095f79957e"
66+
version = "1.14.0+0"
67+
68+
[[deps.HistoricalStdlibVersions]]
69+
deps = ["Pkg", "PrecompileTools"]
70+
git-tree-sha1 = "abdd6437ede003ee3c412b7da655a8dde356a573"
71+
uuid = "6df8b67a-e8a0-4029-b4b7-ac196fe72102"
72+
version = "2.0.6"
73+
74+
[[deps.InteractiveUtils]]
75+
deps = ["Markdown"]
76+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
77+
version = "1.11.0"
78+
79+
[[deps.JLLWrappers]]
80+
deps = ["Artifacts", "Preferences"]
81+
git-tree-sha1 = "0533e564aae234aff59ab625543145446d8b6ec2"
82+
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
83+
version = "1.7.1"
84+
85+
[[deps.JSON]]
86+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
87+
git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a"
88+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
89+
version = "0.21.4"
90+
91+
[[deps.JuliaSyntaxHighlighting]]
92+
deps = ["StyledStrings"]
93+
uuid = "ac6e5ff7-fb65-4e79-a425-ec3bc9c03011"
94+
version = "1.12.0"
95+
96+
[[deps.LibCURL]]
97+
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
98+
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
99+
version = "0.6.4"
100+
101+
[[deps.LibCURL_jll]]
102+
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "OpenSSL_jll", "Zlib_jll", "nghttp2_jll"]
103+
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
104+
version = "8.11.1+1"
105+
106+
[[deps.LibGit2]]
107+
deps = ["LibGit2_jll", "NetworkOptions", "Printf", "SHA"]
108+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
109+
version = "1.11.0"
110+
111+
[[deps.LibGit2_jll]]
112+
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "OpenSSL_jll"]
113+
uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5"
114+
version = "1.9.0+0"
115+
116+
[[deps.LibSSH2_jll]]
117+
deps = ["Artifacts", "Libdl", "OpenSSL_jll"]
118+
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
119+
version = "1.11.3+1"
120+
121+
[[deps.Libdl]]
122+
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
123+
version = "1.11.0"
124+
125+
[[deps.Libiconv_jll]]
126+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
127+
git-tree-sha1 = "be484f5c92fad0bd8acfef35fe017900b0b73809"
128+
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
129+
version = "1.18.0+0"
130+
131+
[[deps.Logging]]
132+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
133+
version = "1.11.0"
134+
135+
[[deps.Markdown]]
136+
deps = ["Base64", "JuliaSyntaxHighlighting", "StyledStrings"]
137+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
138+
version = "1.11.0"
139+
140+
[[deps.Mmap]]
141+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
142+
version = "1.11.0"
143+
144+
[[deps.MozillaCACerts_jll]]
145+
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
146+
version = "2025.5.20"
147+
148+
[[deps.NetworkOptions]]
149+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
150+
version = "1.3.0"
151+
152+
[[deps.OpenSSL_jll]]
153+
deps = ["Artifacts", "Libdl"]
154+
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
155+
version = "3.5.1+0"
156+
157+
[[deps.OrderedCollections]]
158+
git-tree-sha1 = "05868e21324cede2207c6f0f466b4bfef6d5e7ee"
159+
uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
160+
version = "1.8.1"
161+
162+
[[deps.OutputCollectors]]
163+
git-tree-sha1 = "5d3f2b3b2e2a9d7d6f1774c78e94530ac7f360cc"
164+
uuid = "6c11c7d4-943b-4e2b-80de-f2cfc2930a8c"
165+
version = "0.1.1"
166+
167+
[[deps.Parsers]]
168+
deps = ["Dates", "PrecompileTools", "UUIDs"]
169+
git-tree-sha1 = "7d2f8f21da5db6a806faf7b9b292296da42b2810"
170+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
171+
version = "2.8.3"
172+
173+
[[deps.Pkg]]
174+
deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "Random", "SHA", "TOML", "Tar", "UUIDs", "p7zip_jll"]
175+
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
176+
version = "1.12.0"
177+
weakdeps = ["REPL"]
178+
179+
[deps.Pkg.extensions]
180+
REPLExt = "REPL"
181+
182+
[[deps.PrecompileTools]]
183+
deps = ["Preferences"]
184+
git-tree-sha1 = "07a921781cab75691315adc645096ed5e370cb77"
185+
uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
186+
version = "1.3.3"
187+
188+
[[deps.Preferences]]
189+
deps = ["TOML"]
190+
git-tree-sha1 = "0f27480397253da18fe2c12a4ba4eb9eb208bf3d"
191+
uuid = "21216c6a-2e73-6563-6e65-726566657250"
192+
version = "1.5.0"
193+
194+
[[deps.Printf]]
195+
deps = ["Unicode"]
196+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
197+
version = "1.11.0"
198+
199+
[[deps.ProgressMeter]]
200+
deps = ["Distributed", "Printf"]
201+
git-tree-sha1 = "fbb92c6c56b34e1a2c4c36058f68f332bec840e7"
202+
uuid = "92933f4c-e287-5a05-a399-4b506db050ca"
203+
version = "1.11.0"
204+
205+
[[deps.REPL]]
206+
deps = ["InteractiveUtils", "JuliaSyntaxHighlighting", "Markdown", "Sockets", "StyledStrings", "Unicode"]
207+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
208+
version = "1.11.0"
209+
210+
[[deps.Random]]
211+
deps = ["SHA"]
212+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
213+
version = "1.11.0"
214+
215+
[[deps.SHA]]
216+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
217+
version = "0.7.0"
218+
219+
[[deps.Scratch]]
220+
deps = ["Dates"]
221+
git-tree-sha1 = "9b81b8393e50b7d4e6d0a9f14e192294d3b7c109"
222+
uuid = "6c6a2e73-6563-6170-7368-637461726353"
223+
version = "1.3.0"
224+
225+
[[deps.Serialization]]
226+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
227+
version = "1.11.0"
228+
229+
[[deps.SimpleBufferStream]]
230+
git-tree-sha1 = "f305871d2f381d21527c770d4788c06c097c9bc1"
231+
uuid = "777ac1f9-54b0-4bf8-805c-2214025038e7"
232+
version = "1.2.0"
233+
234+
[[deps.Sockets]]
235+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
236+
version = "1.11.0"
237+
238+
[[deps.StyledStrings]]
239+
uuid = "f489334b-da3d-4c2e-b8f0-e476e12c162b"
240+
version = "1.11.0"
241+
242+
[[deps.TOML]]
243+
deps = ["Dates"]
244+
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
245+
version = "1.0.3"
246+
247+
[[deps.Tar]]
248+
deps = ["ArgTools", "SHA"]
249+
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
250+
version = "1.10.0"
251+
252+
[[deps.Tar_jll]]
253+
deps = ["Artifacts", "Attr_jll", "JLLWrappers", "Libdl", "Libiconv_jll"]
254+
git-tree-sha1 = "85e7d0ef5248971fbd824f29c52ab6168b895dfd"
255+
uuid = "9b64493d-8859-5bf3-93d7-7c32dd38186f"
256+
version = "1.35.0+0"
257+
258+
[[deps.TranscodingStreams]]
259+
git-tree-sha1 = "0c45878dcfdcfa8480052b6ab162cdd138781742"
260+
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
261+
version = "0.11.3"
262+
263+
[[deps.UUIDs]]
264+
deps = ["Random", "SHA"]
265+
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
266+
version = "1.11.0"
267+
268+
[[deps.Unicode]]
269+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
270+
version = "1.11.0"
271+
272+
[[deps.XZ_jll]]
273+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
274+
git-tree-sha1 = "fee71455b0aaa3440dfdd54a9a36ccef829be7d4"
275+
uuid = "ffd25f8a-64ca-5728-b0f7-c24cf3aae800"
276+
version = "5.8.1+0"
277+
278+
[[deps.Zlib_jll]]
279+
deps = ["Libdl"]
280+
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
281+
version = "1.3.1+2"
282+
283+
[[deps.Zstd_jll]]
284+
deps = ["Artifacts", "JLLWrappers", "Libdl"]
285+
git-tree-sha1 = "446b23e73536f84e8037f5dce465e92275f6a308"
286+
uuid = "3161d3a3-bdf6-5164-811a-617609db77b4"
287+
version = "1.5.7+1"
288+
289+
[[deps.nghttp2_jll]]
290+
deps = ["Artifacts", "Libdl"]
291+
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
292+
version = "1.64.0+1"
293+
294+
[[deps.p7zip_jll]]
295+
deps = ["Artifacts", "Libdl"]
296+
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
297+
version = "17.5.0+2"
298+
299+
[[deps.pigz_jll]]
300+
deps = ["Artifacts", "JLLWrappers", "Libdl", "Zlib_jll"]
301+
git-tree-sha1 = "cb56f0446caa6138418ee28132024e2c3911d19b"
302+
uuid = "1bc43ea1-30af-5bc8-a9d4-c018457e6e3e"
303+
version = "2.8.0+0"

Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name = "BinaryBuilderBase"
22
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
33
authors = ["Elliot Saba <[email protected]>"]
4-
version = "1.42.0"
54

65
[deps]
76
Bzip2_jll = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
@@ -34,7 +33,6 @@ XZ_jll = "ffd25f8a-64ca-5728-b0f7-c24cf3aae800"
3433
Zstd_jll = "3161d3a3-bdf6-5164-811a-617609db77b4"
3534
p7zip_jll = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
3635
pigz_jll = "1bc43ea1-30af-5bc8-a9d4-c018457e6e3e"
37-
unzip_jll = "88f77b66-78eb-5ed0-bc16-ebba0796830d"
3836

3937
[compat]
4038
Bzip2_jll = "1.0.8"
@@ -67,5 +65,4 @@ XZ_jll = "5.4.4"
6765
Zstd_jll = "1.5.5"
6866
p7zip_jll = "16.2.1, 17.4.0"
6967
pigz_jll = "2.7.0"
70-
unzip_jll = "6.0.2"
7168
julia = "1.7"

src/Prefix.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# environment variables must be updated to, etc...
44
import Base: convert, joinpath, show
55
using SHA, CodecZlib, TOML, LibGit2_jll
6-
import Bzip2_jll, Gzip_jll, Tar_jll, XZ_jll, Zstd_jll, unzip_jll
6+
import Bzip2_jll, Gzip_jll, Tar_jll, XZ_jll, Zstd_jll, p7zip_jll
77
using JLLWrappers: pathsep, LIBPATH_env
88

99
export Prefix, bindir, libdirs, includedir, logdir, temp_prefix, package
@@ -376,8 +376,8 @@ function setup(source::SetupSource{ArchiveSource}, targetdir, verbose; tar_flags
376376
if verbose
377377
@info "Extracting zipball $(basename(source.path))..."
378378
end
379-
if unzip_jll.is_available()
380-
run(`$(unzip_jll.unzip()) -q $(source.path)`)
379+
if p7zip_jll.is_available()
380+
run(pipeline(`$(p7zip_jll.p7zip()) x -tzip -- $(source.path)`, devnull))
381381
end
382382
elseif endswith(source.path, ".conda")
383383
@debug "Extracting conda package" source.path
@@ -389,8 +389,8 @@ function setup(source::SetupSource{ArchiveSource}, targetdir, verbose; tar_flags
389389
pkg_name = replace(basename(source.path), r"^[a-z0-9]{64}-" => "pkg-", ".conda" => ".tar.zst")
390390
@debug "Conda package name" pkg_name
391391
# First unzip the pkg tarball from .conda file
392-
if unzip_jll.is_available()
393-
run(`$(unzip_jll.unzip()) -q $(source.path) $(pkg_name)`)
392+
if p7zip_jll.is_available()
393+
run(pipeline(`$(p7zip_jll.p7zip()) x -tzip -- $(source.path) $(pkg_name)`, devnull))
394394
end
395395
# Second untar the pkg tarball
396396
pkg_source = SetupSource{ArchiveSource}(joinpath(targetdir, pkg_name), source.hash, source.target)

0 commit comments

Comments
 (0)