1 |
commit: d215ce97c1b8c641dd25e29f23d1800c9b9df0d4 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 12:21:30 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 12:21:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d215ce97 |
7 |
|
8 |
sys-apps/yarn: Version bump to 1.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/yarn/Manifest | 1 + |
13 |
sys-apps/yarn/yarn-1.3.2.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest |
17 |
index 6da2e6d9c8f..0ebda1f7eda 100644 |
18 |
--- a/sys-apps/yarn/Manifest |
19 |
+++ b/sys-apps/yarn/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
|
25 |
diff --git a/sys-apps/yarn/yarn-1.3.2.ebuild b/sys-apps/yarn/yarn-1.3.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..bb76e804940 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/yarn/yarn-1.3.2.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+DESCRIPTION="Fast, reliable, and secure node dependency management" |
37 |
+HOMEPAGE="https://yarnpkg.com" |
38 |
+SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/yarn-v${PV}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
+ |
45 |
+RDEPEND="!dev-util/cmdtest |
46 |
+ net-libs/nodejs" |
47 |
+DEPEND="${RDEPEND}" |
48 |
+ |
49 |
+S=${WORKDIR}/${PN}-v${PV} |
50 |
+ |
51 |
+src_install() { |
52 |
+ local install_dir="/usr/$(get_libdir)/node_modules/yarn" path |
53 |
+ insinto "${install_dir}" |
54 |
+ doins -r . |
55 |
+ dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
56 |
+ fperms a+x "${install_dir}/bin/yarn.js" |
57 |
+ while read -r -d '' path; do |
58 |
+ [[ $(head -n1 "${path}") == \#\!* ]] || continue |
59 |
+ chmod +x "${path}" || die #614094 |
60 |
+ done < <(find "${ED}" -type f -print0) |
61 |
+} |