1 |
commit: 8697ed2f17810191a1b344bccbcf0246b48b2b71 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 8 07:31:27 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 8 07:34:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8697ed2f |
7 |
|
8 |
net-libs/nodejs: emktemp => mktemp |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=745585 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-libs/nodejs/nodejs-12.18.4-r1.ebuild | 5 +++-- |
15 |
net-libs/nodejs/nodejs-12.19.0.ebuild | 5 +++-- |
16 |
net-libs/nodejs/nodejs-14.11.0.ebuild | 5 +++-- |
17 |
net-libs/nodejs/nodejs-14.12.0.ebuild | 5 +++-- |
18 |
net-libs/nodejs/nodejs-14.13.0-r1.ebuild | 5 +++-- |
19 |
net-libs/nodejs/nodejs-14.13.1.ebuild | 5 +++-- |
20 |
net-libs/nodejs/nodejs-14.2.0.ebuild | 5 +++-- |
21 |
net-libs/nodejs/nodejs-14.4.0.ebuild | 5 +++-- |
22 |
net-libs/nodejs/nodejs-99999999.ebuild | 5 +++-- |
23 |
9 files changed, 27 insertions(+), 18 deletions(-) |
24 |
|
25 |
diff --git a/net-libs/nodejs/nodejs-12.18.4-r1.ebuild b/net-libs/nodejs/nodejs-12.18.4-r1.ebuild |
26 |
index 5b4df1c7739..fbceb0bd107 100644 |
27 |
--- a/net-libs/nodejs/nodejs-12.18.4-r1.ebuild |
28 |
+++ b/net-libs/nodejs/nodejs-12.18.4-r1.ebuild |
29 |
@@ -4,7 +4,7 @@ |
30 |
EAPI=7 |
31 |
PYTHON_COMPAT=( python3_{6,7} ) |
32 |
PYTHON_REQ_USE="threads(+)" |
33 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
34 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
35 |
|
36 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
37 |
HOMEPAGE="https://nodejs.org/" |
38 |
@@ -34,6 +34,7 @@ RDEPEND=" |
39 |
" |
40 |
BDEPEND=" |
41 |
${PYTHON_DEPS} |
42 |
+ sys-apps/coreutils |
43 |
systemtap? ( dev-util/systemtap ) |
44 |
test? ( net-misc/curl ) |
45 |
" |
46 |
@@ -168,7 +169,7 @@ src_install() { |
47 |
# npm otherwise tries to write outside of the sandbox |
48 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
49 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
50 |
- local tmp_npm_completion_file="$(emktemp)" |
51 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
52 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
53 |
newbashcomp "${tmp_npm_completion_file}" npm |
54 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
55 |
|
56 |
diff --git a/net-libs/nodejs/nodejs-12.19.0.ebuild b/net-libs/nodejs/nodejs-12.19.0.ebuild |
57 |
index 7147f99f5e5..b7aa130c8fd 100644 |
58 |
--- a/net-libs/nodejs/nodejs-12.19.0.ebuild |
59 |
+++ b/net-libs/nodejs/nodejs-12.19.0.ebuild |
60 |
@@ -4,7 +4,7 @@ |
61 |
EAPI=7 |
62 |
PYTHON_COMPAT=( python3_{6,7} ) |
63 |
PYTHON_REQ_USE="threads(+)" |
64 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
65 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
66 |
|
67 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
68 |
HOMEPAGE="https://nodejs.org/" |
69 |
@@ -34,6 +34,7 @@ RDEPEND=" |
70 |
" |
71 |
BDEPEND=" |
72 |
${PYTHON_DEPS} |
73 |
+ sys-apps/coreutils |
74 |
systemtap? ( dev-util/systemtap ) |
75 |
test? ( net-misc/curl ) |
76 |
" |
77 |
@@ -168,7 +169,7 @@ src_install() { |
78 |
# npm otherwise tries to write outside of the sandbox |
79 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
80 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
81 |
- local tmp_npm_completion_file="$(emktemp)" |
82 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
83 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
84 |
newbashcomp "${tmp_npm_completion_file}" npm |
85 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
86 |
|
87 |
diff --git a/net-libs/nodejs/nodejs-14.11.0.ebuild b/net-libs/nodejs/nodejs-14.11.0.ebuild |
88 |
index 214d56f3f4a..fc0e59f7a51 100644 |
89 |
--- a/net-libs/nodejs/nodejs-14.11.0.ebuild |
90 |
+++ b/net-libs/nodejs/nodejs-14.11.0.ebuild |
91 |
@@ -4,7 +4,7 @@ |
92 |
EAPI=7 |
93 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
94 |
PYTHON_REQ_USE="threads(+)" |
95 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
96 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
97 |
|
98 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
99 |
HOMEPAGE="https://nodejs.org/" |
100 |
@@ -32,6 +32,7 @@ RDEPEND=" |
101 |
" |
102 |
BDEPEND=" |
103 |
${PYTHON_DEPS} |
104 |
+ sys-apps/coreutils |
105 |
systemtap? ( dev-util/systemtap ) |
106 |
test? ( net-misc/curl ) |
107 |
pax_kernel? ( sys-apps/elfix ) |
108 |
@@ -162,7 +163,7 @@ src_install() { |
109 |
# npm otherwise tries to write outside of the sandbox |
110 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
111 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
112 |
- local tmp_npm_completion_file="$(emktemp)" |
113 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
114 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
115 |
newbashcomp "${tmp_npm_completion_file}" npm |
116 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
117 |
|
118 |
diff --git a/net-libs/nodejs/nodejs-14.12.0.ebuild b/net-libs/nodejs/nodejs-14.12.0.ebuild |
119 |
index 43b93416662..83578308be8 100644 |
120 |
--- a/net-libs/nodejs/nodejs-14.12.0.ebuild |
121 |
+++ b/net-libs/nodejs/nodejs-14.12.0.ebuild |
122 |
@@ -4,7 +4,7 @@ |
123 |
EAPI=7 |
124 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
125 |
PYTHON_REQ_USE="threads(+)" |
126 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
127 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
128 |
|
129 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
130 |
HOMEPAGE="https://nodejs.org/" |
131 |
@@ -32,6 +32,7 @@ RDEPEND=" |
132 |
" |
133 |
BDEPEND=" |
134 |
${PYTHON_DEPS} |
135 |
+ sys-apps/coreutils |
136 |
systemtap? ( dev-util/systemtap ) |
137 |
test? ( net-misc/curl ) |
138 |
pax_kernel? ( sys-apps/elfix ) |
139 |
@@ -162,7 +163,7 @@ src_install() { |
140 |
# npm otherwise tries to write outside of the sandbox |
141 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
142 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
143 |
- local tmp_npm_completion_file="$(emktemp)" |
144 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
145 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
146 |
newbashcomp "${tmp_npm_completion_file}" npm |
147 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
148 |
|
149 |
diff --git a/net-libs/nodejs/nodejs-14.13.0-r1.ebuild b/net-libs/nodejs/nodejs-14.13.0-r1.ebuild |
150 |
index 1b229989974..f6e7a717189 100644 |
151 |
--- a/net-libs/nodejs/nodejs-14.13.0-r1.ebuild |
152 |
+++ b/net-libs/nodejs/nodejs-14.13.0-r1.ebuild |
153 |
@@ -4,7 +4,7 @@ |
154 |
EAPI=7 |
155 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
156 |
PYTHON_REQ_USE="threads(+)" |
157 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
158 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
159 |
|
160 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
161 |
HOMEPAGE="https://nodejs.org/" |
162 |
@@ -33,6 +33,7 @@ RDEPEND=" |
163 |
" |
164 |
BDEPEND=" |
165 |
${PYTHON_DEPS} |
166 |
+ sys-apps/coreutils |
167 |
systemtap? ( dev-util/systemtap ) |
168 |
test? ( net-misc/curl ) |
169 |
pax_kernel? ( sys-apps/elfix ) |
170 |
@@ -167,7 +168,7 @@ src_install() { |
171 |
# npm otherwise tries to write outside of the sandbox |
172 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
173 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
174 |
- local tmp_npm_completion_file="$(emktemp)" |
175 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
176 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
177 |
newbashcomp "${tmp_npm_completion_file}" npm |
178 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
179 |
|
180 |
diff --git a/net-libs/nodejs/nodejs-14.13.1.ebuild b/net-libs/nodejs/nodejs-14.13.1.ebuild |
181 |
index 1b229989974..f6e7a717189 100644 |
182 |
--- a/net-libs/nodejs/nodejs-14.13.1.ebuild |
183 |
+++ b/net-libs/nodejs/nodejs-14.13.1.ebuild |
184 |
@@ -4,7 +4,7 @@ |
185 |
EAPI=7 |
186 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
187 |
PYTHON_REQ_USE="threads(+)" |
188 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
189 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
190 |
|
191 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
192 |
HOMEPAGE="https://nodejs.org/" |
193 |
@@ -33,6 +33,7 @@ RDEPEND=" |
194 |
" |
195 |
BDEPEND=" |
196 |
${PYTHON_DEPS} |
197 |
+ sys-apps/coreutils |
198 |
systemtap? ( dev-util/systemtap ) |
199 |
test? ( net-misc/curl ) |
200 |
pax_kernel? ( sys-apps/elfix ) |
201 |
@@ -167,7 +168,7 @@ src_install() { |
202 |
# npm otherwise tries to write outside of the sandbox |
203 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
204 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
205 |
- local tmp_npm_completion_file="$(emktemp)" |
206 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
207 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
208 |
newbashcomp "${tmp_npm_completion_file}" npm |
209 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
210 |
|
211 |
diff --git a/net-libs/nodejs/nodejs-14.2.0.ebuild b/net-libs/nodejs/nodejs-14.2.0.ebuild |
212 |
index a46c7ef7109..d0b1b55301a 100644 |
213 |
--- a/net-libs/nodejs/nodejs-14.2.0.ebuild |
214 |
+++ b/net-libs/nodejs/nodejs-14.2.0.ebuild |
215 |
@@ -4,7 +4,7 @@ |
216 |
EAPI=7 |
217 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
218 |
PYTHON_REQ_USE="threads(+)" |
219 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
220 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
221 |
|
222 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
223 |
HOMEPAGE="https://nodejs.org/" |
224 |
@@ -32,6 +32,7 @@ RDEPEND=" |
225 |
" |
226 |
BDEPEND=" |
227 |
${PYTHON_DEPS} |
228 |
+ sys-apps/coreutils |
229 |
systemtap? ( dev-util/systemtap ) |
230 |
test? ( net-misc/curl ) |
231 |
pax_kernel? ( sys-apps/elfix ) |
232 |
@@ -162,7 +163,7 @@ src_install() { |
233 |
# npm otherwise tries to write outside of the sandbox |
234 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
235 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
236 |
- local tmp_npm_completion_file="$(emktemp)" |
237 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
238 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
239 |
newbashcomp "${tmp_npm_completion_file}" npm |
240 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
241 |
|
242 |
diff --git a/net-libs/nodejs/nodejs-14.4.0.ebuild b/net-libs/nodejs/nodejs-14.4.0.ebuild |
243 |
index a96306904ae..b2433059bd7 100644 |
244 |
--- a/net-libs/nodejs/nodejs-14.4.0.ebuild |
245 |
+++ b/net-libs/nodejs/nodejs-14.4.0.ebuild |
246 |
@@ -4,7 +4,7 @@ |
247 |
EAPI=7 |
248 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
249 |
PYTHON_REQ_USE="threads(+)" |
250 |
-inherit bash-completion-r1 eutils flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
251 |
+inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
252 |
|
253 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
254 |
HOMEPAGE="https://nodejs.org/" |
255 |
@@ -32,6 +32,7 @@ RDEPEND=" |
256 |
" |
257 |
BDEPEND=" |
258 |
${PYTHON_DEPS} |
259 |
+ sys-apps/coreutils |
260 |
systemtap? ( dev-util/systemtap ) |
261 |
test? ( net-misc/curl ) |
262 |
pax_kernel? ( sys-apps/elfix ) |
263 |
@@ -162,7 +163,7 @@ src_install() { |
264 |
# npm otherwise tries to write outside of the sandbox |
265 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
266 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
267 |
- local tmp_npm_completion_file="$(emktemp)" |
268 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
269 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
270 |
newbashcomp "${tmp_npm_completion_file}" npm |
271 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |
272 |
|
273 |
diff --git a/net-libs/nodejs/nodejs-99999999.ebuild b/net-libs/nodejs/nodejs-99999999.ebuild |
274 |
index 87f5c52bddd..f5b9e1eee3d 100644 |
275 |
--- a/net-libs/nodejs/nodejs-99999999.ebuild |
276 |
+++ b/net-libs/nodejs/nodejs-99999999.ebuild |
277 |
@@ -4,7 +4,7 @@ |
278 |
EAPI=7 |
279 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
280 |
PYTHON_REQ_USE="threads(+)" |
281 |
-inherit bash-completion-r1 eutils flag-o-matic git-r3 pax-utils python-any-r1 toolchain-funcs xdg-utils |
282 |
+inherit bash-completion-r1 flag-o-matic git-r3 pax-utils python-any-r1 toolchain-funcs xdg-utils |
283 |
|
284 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
285 |
HOMEPAGE="https://nodejs.org/" |
286 |
@@ -32,6 +32,7 @@ RDEPEND=" |
287 |
" |
288 |
BDEPEND=" |
289 |
${PYTHON_DEPS} |
290 |
+ sys-apps/coreutils |
291 |
systemtap? ( dev-util/systemtap ) |
292 |
test? ( net-misc/curl ) |
293 |
pax_kernel? ( sys-apps/elfix ) |
294 |
@@ -164,7 +165,7 @@ src_install() { |
295 |
# npm otherwise tries to write outside of the sandbox |
296 |
local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" |
297 |
sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die |
298 |
- local tmp_npm_completion_file="$(emktemp)" |
299 |
+ local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" |
300 |
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" |
301 |
newbashcomp "${tmp_npm_completion_file}" npm |
302 |
sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die |