1 |
commit: 90facfab5ee0c03b921351379fc31bd2493a5700 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 27 19:13:45 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 28 17:58:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90facfab |
7 |
|
8 |
sys-apps/yarn: 1.5.1 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/yarn/Manifest | 1 + |
13 |
sys-apps/yarn/yarn-1.5.1.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest |
17 |
index 0ebda1f7eda..1f1de14cce8 100644 |
18 |
--- a/sys-apps/yarn/Manifest |
19 |
+++ b/sys-apps/yarn/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST yarn-v1.1.0.tar.gz 874168 BLAKE2B 2c2e00237e4c1264ba3167f5fbeb40ef64d9ca42b05bd4e005673437c9c2ef084e93db00811840aa6cac6fbdec912cff654b09a81bbd6ccfb954d1e14128cd79 SHA512 7ce740ac47d8ba42c47d0262979fcd1d22daede2a298e1743341c52584bee7d4beca8758c118deccaefd9cb0bc2780a37e110ae3633af56ac6916ae0389eadf6 |
22 |
DIST yarn-v1.2.1.tar.gz 885691 BLAKE2B ba7a291e4b071cd285e890fbd8af2a1adf78bc7a65ddaf7adcebee2b8bc15d4b98293eeae79be5ad664daa6a56d553ade1fd5e50aaafc7ed2f980ebfe4feac58 SHA512 cb61788e16cd3537073b3a8711ce6a29f7e14380cea20ca16144e97ed05ec62c685b805a18af9e70d16f7aedb4c460cad97027e37fb43596f97570386d596477 |
23 |
DIST yarn-v1.3.2.tar.gz 886500 BLAKE2B 224503241b646bd6befe6571022e1081c4e9cce2371ce0c111704a6f0ceb7c4b4f0267c9c37d05feec60311cc7804706fb47d130ca64e6182590e88d8476b386 SHA512 d488ae56b60884bb42e5e2ac8a0359c6947e234ed8b5bba12a93f24abb4419b4a6fef708c35df8caa9e68edca3fe570d1dcda9295d29438e45a32ef5d029aedf |
24 |
+DIST yarn-v1.5.1.tar.gz 936225 BLAKE2B b35631ba0fef692797c83431fb673c0286dbd29a5a3e5819111bcc189a136d7059afd7e1901a249204e1a14ff4c7a7321207d7fe1c057d4e585184424f9c26dc SHA512 b58b712ee395d4cfec5271e02e8cf77489438815aeebea1c6844866eb6161be9ae078f62f726e44eeb704d0195b94339d1e89991ce56de8690d613d4bab5f548 |
25 |
|
26 |
diff --git a/sys-apps/yarn/yarn-1.5.1.ebuild b/sys-apps/yarn/yarn-1.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bb76e804940 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/yarn/yarn-1.5.1.ebuild |
31 |
@@ -0,0 +1,31 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+DESCRIPTION="Fast, reliable, and secure node dependency management" |
38 |
+HOMEPAGE="https://yarnpkg.com" |
39 |
+SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/yarn-v${PV}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="" |
45 |
+ |
46 |
+RDEPEND="!dev-util/cmdtest |
47 |
+ net-libs/nodejs" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+S=${WORKDIR}/${PN}-v${PV} |
51 |
+ |
52 |
+src_install() { |
53 |
+ local install_dir="/usr/$(get_libdir)/node_modules/yarn" path |
54 |
+ insinto "${install_dir}" |
55 |
+ doins -r . |
56 |
+ dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
57 |
+ fperms a+x "${install_dir}/bin/yarn.js" |
58 |
+ while read -r -d '' path; do |
59 |
+ [[ $(head -n1 "${path}") == \#\!* ]] || continue |
60 |
+ chmod +x "${path}" || die #614094 |
61 |
+ done < <(find "${ED}" -type f -print0) |
62 |
+} |