Skip to content

Commit a4cffa6

Browse files
committed
python3-yt-dlp-ejs: update to 0.3.2.
1 parent 8debe5f commit a4cffa6

File tree

3 files changed

+385
-10
lines changed

3 files changed

+385
-10
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
don't run npm scripts
2+
3+
source: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/yt-dlp-ejs/ignore-scripts.patch
4+
5+
--- ./pnpm.py.orig
6+
+++ ./pnpm.py
7+
@@ -21,7 +21,7 @@
8+
)
9+
print(f"Building with {name}...")
10+
11+
- pnpm(["install", "--frozen-lockfile"])
12+
+ pnpm(["install", "--frozen-lockfile", "--no-optional", "--ignore-scripts"])
13+
pnpm(["run", "bundle"])
14+
15+
build_data["force_include"].update(
Lines changed: 366 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,366 @@
1+
use wasm rollup instead of native, works around issue on i686 (and probably other 32bit)
2+
3+
source: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/yt-dlp-ejs/rollup-wasm.patch
4+
source: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/yt-dlp-ejs/lock.patch
5+
6+
--- ./package.json.orig
7+
+++ ./package.json
8+
@@ -26,5 +26,10 @@
9+
"rollup-plugin-license": "3.6.0",
10+
"typescript-eslint": "8.46.2"
11+
},
12+
+ "pnpm": {
13+
+ "overrides": {
14+
+ "rollup": "npm:@rollup/[email protected]"
15+
+ }
16+
+ },
17+
"packageManager": "[email protected]"
18+
}
19+
--- ./pnpm-lock.yaml.orig
20+
+++ ./pnpm-lock.yaml
21+
@@ -4,6 +4,9 @@
22+
autoInstallPeers: true
23+
excludeLinksFromLockfile: false
24+
25+
+overrides:
26+
+ rollup: npm:@rollup/[email protected]
27+
+
28+
importers:
29+
30+
.:
31+
@@ -20,13 +23,13 @@
32+
version: 9.38.0
33+
'@rollup/plugin-node-resolve':
34+
specifier: 16.0.3
35+
- version: 16.0.3([email protected])
36+
+ version: 16.0.3(@rollup/[email protected])
37+
'@rollup/plugin-sucrase':
38+
specifier: 5.0.2
39+
- version: 5.0.2([email protected])
40+
+ version: 5.0.2(@rollup/[email protected])
41+
'@rollup/plugin-terser':
42+
specifier: 0.4.4
43+
- version: 0.4.4([email protected])
44+
+ version: 0.4.4(@rollup/[email protected])
45+
'@types/bun':
46+
specifier: 1.3.0
47+
version: 1.3.0(@types/[email protected])
48+
@@ -46,11 +49,11 @@
49+
specifier: 3.6.2
50+
version: 3.6.2
51+
rollup:
52+
- specifier: 4.52.5
53+
- version: 4.52.5
54+
+ specifier: npm:@rollup/[email protected]
55+
+ version: '@rollup/[email protected]'
56+
rollup-plugin-license:
57+
specifier: 3.6.0
58+
59+
+ version: 3.6.0(@rollup/[email protected])([email protected])
60+
typescript-eslint:
61+
specifier: 8.46.2
62+
63+
@@ -179,116 +182,11 @@
64+
rollup:
65+
optional: true
66+
67+
- '@rollup/[email protected]':
68+
- resolution: {integrity: sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==}
69+
- cpu: [arm]
70+
- os: [android]
71+
+ '@rollup/[email protected]':
72+
+ resolution: {integrity: sha512-ldY4tEzSMBHNwB8TfRpi7RRRjjyfKlwjdebw5pS1lu0xaY3g4RDc6ople2wEYulVOKVeH7ZJwRx0iw4pGtjMHg==}
73+
+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}
74+
+ hasBin: true
75+
76+
- '@rollup/[email protected]':
77+
- resolution: {integrity: sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==}
78+
- cpu: [arm64]
79+
- os: [android]
80+
-
81+
- '@rollup/[email protected]':
82+
- resolution: {integrity: sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==}
83+
- cpu: [arm64]
84+
- os: [darwin]
85+
-
86+
- '@rollup/[email protected]':
87+
- resolution: {integrity: sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==}
88+
- cpu: [x64]
89+
- os: [darwin]
90+
-
91+
- '@rollup/[email protected]':
92+
- resolution: {integrity: sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==}
93+
- cpu: [arm64]
94+
- os: [freebsd]
95+
-
96+
- '@rollup/[email protected]':
97+
- resolution: {integrity: sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==}
98+
- cpu: [x64]
99+
- os: [freebsd]
100+
-
101+
- '@rollup/[email protected]':
102+
- resolution: {integrity: sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==}
103+
- cpu: [arm]
104+
- os: [linux]
105+
-
106+
- '@rollup/[email protected]':
107+
- resolution: {integrity: sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==}
108+
- cpu: [arm]
109+
- os: [linux]
110+
-
111+
- '@rollup/[email protected]':
112+
- resolution: {integrity: sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==}
113+
- cpu: [arm64]
114+
- os: [linux]
115+
-
116+
- '@rollup/[email protected]':
117+
- resolution: {integrity: sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==}
118+
- cpu: [arm64]
119+
- os: [linux]
120+
-
121+
- '@rollup/[email protected]':
122+
- resolution: {integrity: sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==}
123+
- cpu: [loong64]
124+
- os: [linux]
125+
-
126+
- '@rollup/[email protected]':
127+
- resolution: {integrity: sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==}
128+
- cpu: [ppc64]
129+
- os: [linux]
130+
-
131+
- '@rollup/[email protected]':
132+
- resolution: {integrity: sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==}
133+
- cpu: [riscv64]
134+
- os: [linux]
135+
-
136+
- '@rollup/[email protected]':
137+
- resolution: {integrity: sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==}
138+
- cpu: [riscv64]
139+
- os: [linux]
140+
-
141+
- '@rollup/[email protected]':
142+
- resolution: {integrity: sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==}
143+
- cpu: [s390x]
144+
- os: [linux]
145+
-
146+
- '@rollup/[email protected]':
147+
- resolution: {integrity: sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==}
148+
- cpu: [x64]
149+
- os: [linux]
150+
-
151+
- '@rollup/[email protected]':
152+
- resolution: {integrity: sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==}
153+
- cpu: [x64]
154+
- os: [linux]
155+
-
156+
- '@rollup/[email protected]':
157+
- resolution: {integrity: sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==}
158+
- cpu: [arm64]
159+
- os: [openharmony]
160+
-
161+
- '@rollup/[email protected]':
162+
- resolution: {integrity: sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==}
163+
- cpu: [arm64]
164+
- os: [win32]
165+
-
166+
- '@rollup/[email protected]':
167+
- resolution: {integrity: sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==}
168+
- cpu: [ia32]
169+
- os: [win32]
170+
-
171+
- '@rollup/[email protected]':
172+
- resolution: {integrity: sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==}
173+
- cpu: [x64]
174+
- os: [win32]
175+
-
176+
- '@rollup/[email protected]':
177+
- resolution: {integrity: sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==}
178+
- cpu: [x64]
179+
- os: [win32]
180+
-
181+
182+
resolution: {integrity: sha512-+lAGCYjXjip2qY375xX/scJeVRmZ5cY0wyHYyCYxNcdEXrQ4AOe3gACgd4iQ8ksOslJtW4VNxBJ8llUwc3a6AA==}
183+
184+
@@ -790,11 +688,6 @@
185+
peerDependencies:
186+
rollup: ^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0
187+
188+
189+
- resolution: {integrity: sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==}
190+
- engines: {node: '>=18.0.0', npm: '>=8.0.0'}
191+
- hasBin: true
192+
-
193+
194+
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
195+
196+
@@ -1023,105 +916,45 @@
197+
'@nodelib/fs.scandir': 2.1.5
198+
fastq: 1.19.1
199+
200+
201+
202+
dependencies:
203+
- '@rollup/pluginutils': 5.3.0([email protected])
204+
+ '@rollup/pluginutils': 5.3.0(@rollup/[email protected])
205+
'@types/resolve': 1.20.2
206+
deepmerge: 4.3.1
207+
is-module: 1.0.0
208+
resolve: 1.22.11
209+
optionalDependencies:
210+
- rollup: 4.52.5
211+
+ rollup: '@rollup/[email protected]'
212+
213+
214+
215+
dependencies:
216+
- '@rollup/pluginutils': 5.3.0([email protected])
217+
+ '@rollup/pluginutils': 5.3.0(@rollup/[email protected])
218+
sucrase: 3.35.1
219+
optionalDependencies:
220+
- rollup: 4.52.5
221+
+ rollup: '@rollup/[email protected]'
222+
223+
224+
225+
dependencies:
226+
serialize-javascript: 6.0.2
227+
smob: 1.5.0
228+
terser: 5.44.1
229+
optionalDependencies:
230+
- rollup: 4.52.5
231+
+ rollup: '@rollup/[email protected]'
232+
233+
234+
235+
dependencies:
236+
'@types/estree': 1.0.8
237+
estree-walker: 2.0.2
238+
picomatch: 4.0.3
239+
optionalDependencies:
240+
- rollup: 4.52.5
241+
+ rollup: '@rollup/[email protected]'
242+
243+
- '@rollup/[email protected]':
244+
- optional: true
245+
+ '@rollup/[email protected]':
246+
+ dependencies:
247+
+ '@types/estree': 1.0.8
248+
+ optionalDependencies:
249+
+ fsevents: 2.3.3
250+
251+
- '@rollup/[email protected]':
252+
- optional: true
253+
-
254+
- '@rollup/[email protected]':
255+
- optional: true
256+
-
257+
- '@rollup/[email protected]':
258+
- optional: true
259+
-
260+
- '@rollup/[email protected]':
261+
- optional: true
262+
-
263+
- '@rollup/[email protected]':
264+
- optional: true
265+
-
266+
- '@rollup/[email protected]':
267+
- optional: true
268+
-
269+
- '@rollup/[email protected]':
270+
- optional: true
271+
-
272+
- '@rollup/[email protected]':
273+
- optional: true
274+
-
275+
- '@rollup/[email protected]':
276+
- optional: true
277+
-
278+
- '@rollup/[email protected]':
279+
- optional: true
280+
-
281+
- '@rollup/[email protected]':
282+
- optional: true
283+
-
284+
- '@rollup/[email protected]':
285+
- optional: true
286+
-
287+
- '@rollup/[email protected]':
288+
- optional: true
289+
-
290+
- '@rollup/[email protected]':
291+
- optional: true
292+
-
293+
- '@rollup/[email protected]':
294+
- optional: true
295+
-
296+
- '@rollup/[email protected]':
297+
- optional: true
298+
-
299+
- '@rollup/[email protected]':
300+
- optional: true
301+
-
302+
- '@rollup/[email protected]':
303+
- optional: true
304+
-
305+
- '@rollup/[email protected]':
306+
- optional: true
307+
-
308+
- '@rollup/[email protected]':
309+
- optional: true
310+
-
311+
- '@rollup/[email protected]':
312+
- optional: true
313+
-
314+
315+
dependencies:
316+
bun-types: 1.3.0(@types/[email protected])
317+
@@ -1606,7 +1439,7 @@
318+
319+
320+
321+
322+
323+
dependencies:
324+
commenting: 1.1.0
325+
fdir: 6.5.0([email protected])
326+
@@ -1614,39 +1447,11 @@
327+
magic-string: 0.30.21
328+
moment: 2.30.1
329+
package-name-regex: 2.0.6
330+
- rollup: 4.52.5
331+
+ rollup: '@rollup/[email protected]'
332+
spdx-expression-validate: 2.0.0
333+
spdx-satisfies: 5.0.1
334+
transitivePeerDependencies:
335+
- picomatch
336+
-
337+
338+
- dependencies:
339+
- '@types/estree': 1.0.8
340+
- optionalDependencies:
341+
- '@rollup/rollup-android-arm-eabi': 4.52.5
342+
- '@rollup/rollup-android-arm64': 4.52.5
343+
- '@rollup/rollup-darwin-arm64': 4.52.5
344+
- '@rollup/rollup-darwin-x64': 4.52.5
345+
- '@rollup/rollup-freebsd-arm64': 4.52.5
346+
- '@rollup/rollup-freebsd-x64': 4.52.5
347+
- '@rollup/rollup-linux-arm-gnueabihf': 4.52.5
348+
- '@rollup/rollup-linux-arm-musleabihf': 4.52.5
349+
- '@rollup/rollup-linux-arm64-gnu': 4.52.5
350+
- '@rollup/rollup-linux-arm64-musl': 4.52.5
351+
- '@rollup/rollup-linux-loong64-gnu': 4.52.5
352+
- '@rollup/rollup-linux-ppc64-gnu': 4.52.5
353+
- '@rollup/rollup-linux-riscv64-gnu': 4.52.5
354+
- '@rollup/rollup-linux-riscv64-musl': 4.52.5
355+
- '@rollup/rollup-linux-s390x-gnu': 4.52.5
356+
- '@rollup/rollup-linux-x64-gnu': 4.52.5
357+
- '@rollup/rollup-linux-x64-musl': 4.52.5
358+
- '@rollup/rollup-openharmony-arm64': 4.52.5
359+
- '@rollup/rollup-win32-arm64-msvc': 4.52.5
360+
- '@rollup/rollup-win32-ia32-msvc': 4.52.5
361+
- '@rollup/rollup-win32-x64-gnu': 4.52.5
362+
- '@rollup/rollup-win32-x64-msvc': 4.52.5
363+
- fsevents: 2.3.3
364+
365+
366+
dependencies:

0 commit comments

Comments
 (0)