1 |
commit: 7e916316c10ccebf7ede1f206fc7e10e7981dde5 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 00:20:48 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 00:20:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e916316 |
7 |
|
8 |
sys-apps/yarn: Remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
sys-apps/yarn/Manifest | 9 --------- |
14 |
sys-apps/yarn/yarn-1.10.1.ebuild | 39 --------------------------------------- |
15 |
sys-apps/yarn/yarn-1.12.3.ebuild | 39 --------------------------------------- |
16 |
sys-apps/yarn/yarn-1.13.0.ebuild | 39 --------------------------------------- |
17 |
sys-apps/yarn/yarn-1.15.2.ebuild | 39 --------------------------------------- |
18 |
sys-apps/yarn/yarn-1.16.0.ebuild | 39 --------------------------------------- |
19 |
sys-apps/yarn/yarn-1.17.3.ebuild | 39 --------------------------------------- |
20 |
sys-apps/yarn/yarn-1.19.0.ebuild | 39 --------------------------------------- |
21 |
sys-apps/yarn/yarn-1.19.1.ebuild | 39 --------------------------------------- |
22 |
sys-apps/yarn/yarn-1.9.4.ebuild | 39 --------------------------------------- |
23 |
10 files changed, 360 deletions(-) |
24 |
|
25 |
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest |
26 |
index 765441c5518..b3327d68bce 100644 |
27 |
--- a/sys-apps/yarn/Manifest |
28 |
+++ b/sys-apps/yarn/Manifest |
29 |
@@ -1,11 +1,2 @@ |
30 |
-DIST yarn-v1.10.1.tar.gz 1107068 BLAKE2B ce9870d5f149b53d056682190a4bd3bcd2a8d2c30fb06f053626f55db506100f9db212103c3f498b44a53f94dfa0b5c4ce37453d72e05533476ff6a2d99a4099 SHA512 107d07d5fc9f171904e14a46e1bf9509a558e08e3cf08d84c903661a31862a6bec4886f41b76fed4871f1983c8da0a9ad5dbb8de0e190378c7f1f5e5abaa15c6 |
31 |
-DIST yarn-v1.12.3.tar.gz 1166553 BLAKE2B 8e0c56c46522eeccaa558dd1fccdca40e83d03dc0ec04a58541b318b73bb64b9559c6f210a2745cc07a87234ef7857a1cc8a57d1f22277a8b6a90026f8c563d3 SHA512 f1fe6b58d0ef9210260b19a7f02d0bb0d58cc536159385462a2ab4b0807a1c66636994c7b06207f3b4949950d411dd96939e1ba8aa1495b55681014242146457 |
32 |
-DIST yarn-v1.13.0.tar.gz 1169613 BLAKE2B 5fc730c0b456d67702ef5305223cfd933c4c8f1d13364ff383294f8ae2b7b3f400476ff32b9aa0b27c497116660ea295691831e4e9bf50cb699d03d2dcd99e6e SHA512 5277f0d9e79fbfc8a6b7864c3e1bc554fe38582cf7f21b83c641ecf98aabc78c014caef94ebd26877578ae1fb6370e6242ad2b70cfd569fa2d099a3da936f90c |
33 |
-DIST yarn-v1.15.2.tar.gz 1169927 BLAKE2B 1ebf899b1f34dd3b6fea4fa001b1edda62dd4c8964099b8a1bc858a1b28b7ccbab3aa3e229bc7882892763db414ed4f7cfbe2deb636d2a8675da87df1754a835 SHA512 0e1a9a19ed8571829db8ee36776841c9793bcbc936938d87deecd875604c4ef70d72058ac7bc429095ac540422917bda1103761b224daf3f026e8a9499a051af |
34 |
-DIST yarn-v1.16.0.tar.gz 1172930 BLAKE2B 1dbb754ae0af3b9666bb03057f587854407b3587fc4304e8282c759d5ea0cbee12eed58e526808893d3cf8e29c4ec69b13a28acccc6f6908bcdb8c9126d1a408 SHA512 71f7a6c8696758a035ce8a5452079b4cf7fc0b85a43c867e4c99a4970704009e2eea858fb49780cebb1a99a18687ff9bd5759ef16e75cb3008982e0059b591d6 |
35 |
-DIST yarn-v1.17.3.tar.gz 1240577 BLAKE2B a5b0fdd014928181da63a322bdc030e4aefd4033d27f49a37225aa2cb3199339dd06e9f74aaa442bfb4692b0470fda40102a41b52a1369c8b84282bae5bc46a6 SHA512 0a003ca3b9d165a42f99e17f581c76142edff56ff45f9f53d8868b62a80ca3aeb7ef07e9e66304b0cdd85e826d294b299e998324a97f8061619ea4beb0e37b84 |
36 |
-DIST yarn-v1.19.0.tar.gz 1242633 BLAKE2B 55aacab6e44c0a44f39ef9e116444043784272ab3d328f44e818cc45a94203f6e73a6d66f51dbdec46a0694890817dde3148be0fc3c931de79c0e2164f5e755f SHA512 40b88ca23f991e8da44f5ef1d6dedeaceea0cd1fbdc526b9cfb2e67a2d6a60cd528f7ef088816febb910707fa792c86c3b47f4dc89970a57e410a5209ec32b79 |
37 |
-DIST yarn-v1.19.1.tar.gz 1243585 BLAKE2B 01d19b9e2dabf40988b8dac9b3b48a43e7f15d0e4a3f75aad40afb8c811d6387bc476dbb7c6c841af33fe6010b98eaa4969b32cd590f9092b7552e8e9a152960 SHA512 8019df6cbf6b618d391add1c8c986cfec8aa4171d89596a54e32b79d79f640edb4c5b90814fa1bf8b947e3830be3b19c478554f7fd9d61c93505614cd096afc7 |
38 |
DIST yarn-v1.19.2.tar.gz 1244018 BLAKE2B f88d0b6c5c3bdb6e02c0dd8c36fa981d35a0e46da143399dbbd8a39fac13669dc1b459f3ecd192c99d767fc477f54e61d74caeafaf9d1f0cdfdc4fba0b405fb6 SHA512 39d2cdfcafec03e2a75b8820350c0760ae9825d2e4496c5bc7a21877e588409eb10df93c08860a72405fc06c530660da125b96b3cdc89f38c50a652a3eda58fb |
39 |
DIST yarn-v1.21.1.tar.gz 1244168 BLAKE2B 351ee6421fd85563ceb5d1e49f600b4f315041d85b412cd36a0bcfe352cd974ddf6c53e03171bf173794400c31eabc4fca5f3ae2402770441a9d9942ec79cf82 SHA512 75082626febbe97fcd41cce96e20ed73686c13fa69a460c9033c25462003313bc5cd86ddc4f8f658ee0f70dcab892b767388ec08ca6df14151287528ceddb519 |
40 |
-DIST yarn-v1.9.4.tar.gz 937393 BLAKE2B 188e270b2a8b5b357b85101eda2552d675e3f41d30bc7b45266f34831cbcfc00feefe452c420f3aaefad7423c2af342d5fdb859ec6420faf689b680b5acda00f SHA512 1e3a908cf47a2fe46d7ce8db549b91cd0b3372c7c43c6b0029f1060b044a0a65e5bc3323f4ed6baf20bbbcb49ba358a6bb8f2691a591e4d3e8a01bc31372cb5b |
41 |
|
42 |
diff --git a/sys-apps/yarn/yarn-1.10.1.ebuild b/sys-apps/yarn/yarn-1.10.1.ebuild |
43 |
deleted file mode 100644 |
44 |
index d2f20fcebb4..00000000000 |
45 |
--- a/sys-apps/yarn/yarn-1.10.1.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,39 +0,0 @@ |
48 |
-# Copyright 1999-2018 Gentoo Authors |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
- |
51 |
-EAPI=6 |
52 |
- |
53 |
-MY_P="${PN}-v${PV}" |
54 |
- |
55 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
56 |
-HOMEPAGE="https://yarnpkg.com" |
57 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
58 |
- |
59 |
-LICENSE="BSD-2" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="~amd64 ~x86" |
62 |
-IUSE="" |
63 |
- |
64 |
-RDEPEND="!dev-util/cmdtest |
65 |
- net-libs/nodejs" |
66 |
-DEPEND="${RDEPEND}" |
67 |
- |
68 |
-S="${WORKDIR}/${MY_P}" |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
73 |
-} |
74 |
- |
75 |
-src_install() { |
76 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
77 |
- insinto "${install_dir}" |
78 |
- doins -r . |
79 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
80 |
- |
81 |
- while read -r -d '' path; do |
82 |
- read -r shebang < ${path} || die |
83 |
- [[ "${shebang}" == \#\!* ]] || continue |
84 |
- chmod +x "${path}" || die #614094 |
85 |
- done < <(find "${ED}" -type f -print0 || die) |
86 |
-} |
87 |
|
88 |
diff --git a/sys-apps/yarn/yarn-1.12.3.ebuild b/sys-apps/yarn/yarn-1.12.3.ebuild |
89 |
deleted file mode 100644 |
90 |
index d2f20fcebb4..00000000000 |
91 |
--- a/sys-apps/yarn/yarn-1.12.3.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,39 +0,0 @@ |
94 |
-# Copyright 1999-2018 Gentoo Authors |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI=6 |
98 |
- |
99 |
-MY_P="${PN}-v${PV}" |
100 |
- |
101 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
102 |
-HOMEPAGE="https://yarnpkg.com" |
103 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
104 |
- |
105 |
-LICENSE="BSD-2" |
106 |
-SLOT="0" |
107 |
-KEYWORDS="~amd64 ~x86" |
108 |
-IUSE="" |
109 |
- |
110 |
-RDEPEND="!dev-util/cmdtest |
111 |
- net-libs/nodejs" |
112 |
-DEPEND="${RDEPEND}" |
113 |
- |
114 |
-S="${WORKDIR}/${MY_P}" |
115 |
- |
116 |
-src_prepare() { |
117 |
- default |
118 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
123 |
- insinto "${install_dir}" |
124 |
- doins -r . |
125 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
126 |
- |
127 |
- while read -r -d '' path; do |
128 |
- read -r shebang < ${path} || die |
129 |
- [[ "${shebang}" == \#\!* ]] || continue |
130 |
- chmod +x "${path}" || die #614094 |
131 |
- done < <(find "${ED}" -type f -print0 || die) |
132 |
-} |
133 |
|
134 |
diff --git a/sys-apps/yarn/yarn-1.13.0.ebuild b/sys-apps/yarn/yarn-1.13.0.ebuild |
135 |
deleted file mode 100644 |
136 |
index 15ea8904d16..00000000000 |
137 |
--- a/sys-apps/yarn/yarn-1.13.0.ebuild |
138 |
+++ /dev/null |
139 |
@@ -1,39 +0,0 @@ |
140 |
-# Copyright 1999-2019 Gentoo Authors |
141 |
-# Distributed under the terms of the GNU General Public License v2 |
142 |
- |
143 |
-EAPI=6 |
144 |
- |
145 |
-MY_P="${PN}-v${PV}" |
146 |
- |
147 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
148 |
-HOMEPAGE="https://yarnpkg.com" |
149 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
150 |
- |
151 |
-LICENSE="BSD-2" |
152 |
-SLOT="0" |
153 |
-KEYWORDS="~amd64 ~x86" |
154 |
-IUSE="" |
155 |
- |
156 |
-RDEPEND="!dev-util/cmdtest |
157 |
- net-libs/nodejs" |
158 |
-DEPEND="${RDEPEND}" |
159 |
- |
160 |
-S="${WORKDIR}/${MY_P}" |
161 |
- |
162 |
-src_prepare() { |
163 |
- default |
164 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
165 |
-} |
166 |
- |
167 |
-src_install() { |
168 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
169 |
- insinto "${install_dir}" |
170 |
- doins -r . |
171 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
172 |
- |
173 |
- while read -r -d '' path; do |
174 |
- read -r shebang < ${path} || die |
175 |
- [[ "${shebang}" == \#\!* ]] || continue |
176 |
- chmod +x "${path}" || die #614094 |
177 |
- done < <(find "${ED}" -type f -print0 || die) |
178 |
-} |
179 |
|
180 |
diff --git a/sys-apps/yarn/yarn-1.15.2.ebuild b/sys-apps/yarn/yarn-1.15.2.ebuild |
181 |
deleted file mode 100644 |
182 |
index 6366d148523..00000000000 |
183 |
--- a/sys-apps/yarn/yarn-1.15.2.ebuild |
184 |
+++ /dev/null |
185 |
@@ -1,39 +0,0 @@ |
186 |
-# Copyright 1999-2019 Gentoo Authors |
187 |
-# Distributed under the terms of the GNU General Public License v2 |
188 |
- |
189 |
-EAPI=7 |
190 |
- |
191 |
-MY_P="${PN}-v${PV}" |
192 |
- |
193 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
194 |
-HOMEPAGE="https://yarnpkg.com" |
195 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
196 |
- |
197 |
-LICENSE="BSD-2" |
198 |
-SLOT="0" |
199 |
-KEYWORDS="~amd64 ~x86" |
200 |
-IUSE="" |
201 |
- |
202 |
-RDEPEND="!dev-util/cmdtest |
203 |
- net-libs/nodejs" |
204 |
-DEPEND="${RDEPEND}" |
205 |
- |
206 |
-S="${WORKDIR}/${MY_P}" |
207 |
- |
208 |
-src_prepare() { |
209 |
- default |
210 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
211 |
-} |
212 |
- |
213 |
-src_install() { |
214 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
215 |
- insinto "${install_dir}" |
216 |
- doins -r . |
217 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
218 |
- |
219 |
- while read -r -d '' path; do |
220 |
- read -r shebang < "${ED}${path}" || die |
221 |
- [[ "${shebang}" == \#\!* ]] || continue |
222 |
- fperms +x "${path}" |
223 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
224 |
-} |
225 |
|
226 |
diff --git a/sys-apps/yarn/yarn-1.16.0.ebuild b/sys-apps/yarn/yarn-1.16.0.ebuild |
227 |
deleted file mode 100644 |
228 |
index 6366d148523..00000000000 |
229 |
--- a/sys-apps/yarn/yarn-1.16.0.ebuild |
230 |
+++ /dev/null |
231 |
@@ -1,39 +0,0 @@ |
232 |
-# Copyright 1999-2019 Gentoo Authors |
233 |
-# Distributed under the terms of the GNU General Public License v2 |
234 |
- |
235 |
-EAPI=7 |
236 |
- |
237 |
-MY_P="${PN}-v${PV}" |
238 |
- |
239 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
240 |
-HOMEPAGE="https://yarnpkg.com" |
241 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
242 |
- |
243 |
-LICENSE="BSD-2" |
244 |
-SLOT="0" |
245 |
-KEYWORDS="~amd64 ~x86" |
246 |
-IUSE="" |
247 |
- |
248 |
-RDEPEND="!dev-util/cmdtest |
249 |
- net-libs/nodejs" |
250 |
-DEPEND="${RDEPEND}" |
251 |
- |
252 |
-S="${WORKDIR}/${MY_P}" |
253 |
- |
254 |
-src_prepare() { |
255 |
- default |
256 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
261 |
- insinto "${install_dir}" |
262 |
- doins -r . |
263 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
264 |
- |
265 |
- while read -r -d '' path; do |
266 |
- read -r shebang < "${ED}${path}" || die |
267 |
- [[ "${shebang}" == \#\!* ]] || continue |
268 |
- fperms +x "${path}" |
269 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
270 |
-} |
271 |
|
272 |
diff --git a/sys-apps/yarn/yarn-1.17.3.ebuild b/sys-apps/yarn/yarn-1.17.3.ebuild |
273 |
deleted file mode 100644 |
274 |
index 6366d148523..00000000000 |
275 |
--- a/sys-apps/yarn/yarn-1.17.3.ebuild |
276 |
+++ /dev/null |
277 |
@@ -1,39 +0,0 @@ |
278 |
-# Copyright 1999-2019 Gentoo Authors |
279 |
-# Distributed under the terms of the GNU General Public License v2 |
280 |
- |
281 |
-EAPI=7 |
282 |
- |
283 |
-MY_P="${PN}-v${PV}" |
284 |
- |
285 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
286 |
-HOMEPAGE="https://yarnpkg.com" |
287 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
288 |
- |
289 |
-LICENSE="BSD-2" |
290 |
-SLOT="0" |
291 |
-KEYWORDS="~amd64 ~x86" |
292 |
-IUSE="" |
293 |
- |
294 |
-RDEPEND="!dev-util/cmdtest |
295 |
- net-libs/nodejs" |
296 |
-DEPEND="${RDEPEND}" |
297 |
- |
298 |
-S="${WORKDIR}/${MY_P}" |
299 |
- |
300 |
-src_prepare() { |
301 |
- default |
302 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
303 |
-} |
304 |
- |
305 |
-src_install() { |
306 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
307 |
- insinto "${install_dir}" |
308 |
- doins -r . |
309 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
310 |
- |
311 |
- while read -r -d '' path; do |
312 |
- read -r shebang < "${ED}${path}" || die |
313 |
- [[ "${shebang}" == \#\!* ]] || continue |
314 |
- fperms +x "${path}" |
315 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
316 |
-} |
317 |
|
318 |
diff --git a/sys-apps/yarn/yarn-1.19.0.ebuild b/sys-apps/yarn/yarn-1.19.0.ebuild |
319 |
deleted file mode 100644 |
320 |
index 6366d148523..00000000000 |
321 |
--- a/sys-apps/yarn/yarn-1.19.0.ebuild |
322 |
+++ /dev/null |
323 |
@@ -1,39 +0,0 @@ |
324 |
-# Copyright 1999-2019 Gentoo Authors |
325 |
-# Distributed under the terms of the GNU General Public License v2 |
326 |
- |
327 |
-EAPI=7 |
328 |
- |
329 |
-MY_P="${PN}-v${PV}" |
330 |
- |
331 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
332 |
-HOMEPAGE="https://yarnpkg.com" |
333 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
334 |
- |
335 |
-LICENSE="BSD-2" |
336 |
-SLOT="0" |
337 |
-KEYWORDS="~amd64 ~x86" |
338 |
-IUSE="" |
339 |
- |
340 |
-RDEPEND="!dev-util/cmdtest |
341 |
- net-libs/nodejs" |
342 |
-DEPEND="${RDEPEND}" |
343 |
- |
344 |
-S="${WORKDIR}/${MY_P}" |
345 |
- |
346 |
-src_prepare() { |
347 |
- default |
348 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
349 |
-} |
350 |
- |
351 |
-src_install() { |
352 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
353 |
- insinto "${install_dir}" |
354 |
- doins -r . |
355 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
356 |
- |
357 |
- while read -r -d '' path; do |
358 |
- read -r shebang < "${ED}${path}" || die |
359 |
- [[ "${shebang}" == \#\!* ]] || continue |
360 |
- fperms +x "${path}" |
361 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
362 |
-} |
363 |
|
364 |
diff --git a/sys-apps/yarn/yarn-1.19.1.ebuild b/sys-apps/yarn/yarn-1.19.1.ebuild |
365 |
deleted file mode 100644 |
366 |
index 6366d148523..00000000000 |
367 |
--- a/sys-apps/yarn/yarn-1.19.1.ebuild |
368 |
+++ /dev/null |
369 |
@@ -1,39 +0,0 @@ |
370 |
-# Copyright 1999-2019 Gentoo Authors |
371 |
-# Distributed under the terms of the GNU General Public License v2 |
372 |
- |
373 |
-EAPI=7 |
374 |
- |
375 |
-MY_P="${PN}-v${PV}" |
376 |
- |
377 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
378 |
-HOMEPAGE="https://yarnpkg.com" |
379 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
380 |
- |
381 |
-LICENSE="BSD-2" |
382 |
-SLOT="0" |
383 |
-KEYWORDS="~amd64 ~x86" |
384 |
-IUSE="" |
385 |
- |
386 |
-RDEPEND="!dev-util/cmdtest |
387 |
- net-libs/nodejs" |
388 |
-DEPEND="${RDEPEND}" |
389 |
- |
390 |
-S="${WORKDIR}/${MY_P}" |
391 |
- |
392 |
-src_prepare() { |
393 |
- default |
394 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
395 |
-} |
396 |
- |
397 |
-src_install() { |
398 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
399 |
- insinto "${install_dir}" |
400 |
- doins -r . |
401 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
402 |
- |
403 |
- while read -r -d '' path; do |
404 |
- read -r shebang < "${ED}${path}" || die |
405 |
- [[ "${shebang}" == \#\!* ]] || continue |
406 |
- fperms +x "${path}" |
407 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
408 |
-} |
409 |
|
410 |
diff --git a/sys-apps/yarn/yarn-1.9.4.ebuild b/sys-apps/yarn/yarn-1.9.4.ebuild |
411 |
deleted file mode 100644 |
412 |
index 40f106de033..00000000000 |
413 |
--- a/sys-apps/yarn/yarn-1.9.4.ebuild |
414 |
+++ /dev/null |
415 |
@@ -1,39 +0,0 @@ |
416 |
-# Copyright 1999-2018 Gentoo Foundation |
417 |
-# Distributed under the terms of the GNU General Public License v2 |
418 |
- |
419 |
-EAPI=6 |
420 |
- |
421 |
-MY_P="${PN}-v${PV}" |
422 |
- |
423 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
424 |
-HOMEPAGE="https://yarnpkg.com" |
425 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
426 |
- |
427 |
-LICENSE="BSD-2" |
428 |
-SLOT="0" |
429 |
-KEYWORDS="~amd64 ~x86" |
430 |
-IUSE="" |
431 |
- |
432 |
-RDEPEND="!dev-util/cmdtest |
433 |
- net-libs/nodejs" |
434 |
-DEPEND="${RDEPEND}" |
435 |
- |
436 |
-S="${WORKDIR}/${MY_P}" |
437 |
- |
438 |
-src_prepare() { |
439 |
- default |
440 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
441 |
-} |
442 |
- |
443 |
-src_install() { |
444 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
445 |
- insinto "${install_dir}" |
446 |
- doins -r . |
447 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
448 |
- |
449 |
- while read -r -d '' path; do |
450 |
- read -r shebang < ${path} || die |
451 |
- [[ "${shebang}" == \#\!* ]] || continue |
452 |
- chmod +x "${path}" || die #614094 |
453 |
- done < <(find "${ED}" -type f -print0 || die) |
454 |
-} |