summaryrefslogtreecommitdiff
path: root/sys-apps/yarn
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/yarn')
-rw-r--r--sys-apps/yarn/Manifest2
-rw-r--r--sys-apps/yarn/yarn-1.9.4.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest
index 132ccc80b727..68c0832531fc 100644
--- a/sys-apps/yarn/Manifest
+++ b/sys-apps/yarn/Manifest
@@ -5,6 +5,7 @@ DIST yarn-v1.5.1.tar.gz 936225 BLAKE2B b35631ba0fef692797c83431fb673c0286dbd29a5
DIST yarn-v1.6.0.tar.gz 941806 BLAKE2B c3f225dae625e6404cf2bc363e695adeb43c3738a4a501c88415bee20810085dbf63abbaa7ef64200cfbdfc8a1a21e463af2c035c37e21dae49d5bff18d2d5fe SHA512 073adcb75dff799ac68a5e0adbdc8f8343d3ada3e356dd0e5dad4254b21e0337bc76201163d037eb01e7c5365f15085ef38df171d77ee36cd58557a175e3f713
DIST yarn-v1.7.0.tar.gz 944751 BLAKE2B 468ee9fbc94e5ae74137f9232929e78213ee435a30b6c22a9bc4378fbf28ce1f4f1358d745f2f298767e98d9cded64d8c61a2f8e4705999bd194aaa21b3505e7 SHA512 1de75fbb48c49ef9c39eab434b3f27b669a8e74f9305e5f03fe3ca30cf6ca00b4b94f8445621474089681bb74f4813c0595633a45c16c4469bab08187ce94495
DIST yarn-v1.8.0.tar.gz 953127 BLAKE2B b290c4e6a5800afd8706954dab424f7cf0c784c0dade705f10a06803dfe64b83206f534dbb41e3e804593a17d722ddc3253377465413be571bb2b29639f99ea6 SHA512 12919a27d0845644992a60c87a919ef2776e5959c43d1c31767021475b8cbb591f5f6ff2b214eaddc11d520f91d758bee439abe077717a7348eb387813dbefb6
+DIST yarn-v1.9.4.tar.gz 937393 BLAKE2B 188e270b2a8b5b357b85101eda2552d675e3f41d30bc7b45266f34831cbcfc00feefe452c420f3aaefad7423c2af342d5fdb859ec6420faf689b680b5acda00f SHA512 1e3a908cf47a2fe46d7ce8db549b91cd0b3372c7c43c6b0029f1060b044a0a65e5bc3323f4ed6baf20bbbcb49ba358a6bb8f2691a591e4d3e8a01bc31372cb5b
EBUILD yarn-1.1.0.ebuild 841 BLAKE2B 0affb4007c2324aede03eae842a00443f056d323fe2b4ea8ef65139ddbe8a43bc192a27364f081346f64fd01bdadb70e4f7eccd3e7b9350122496fef6bec8dc5 SHA512 89b39480a4b8a24f7a1fe3a6231b25d9b5d70b21c2e8d3d4aab95581b9906b6e6be1aac50b4cf3914995f5e2c27482f40c56eade9cbb3efc59b24a5e899c86f5
EBUILD yarn-1.2.1.ebuild 841 BLAKE2B 0affb4007c2324aede03eae842a00443f056d323fe2b4ea8ef65139ddbe8a43bc192a27364f081346f64fd01bdadb70e4f7eccd3e7b9350122496fef6bec8dc5 SHA512 89b39480a4b8a24f7a1fe3a6231b25d9b5d70b21c2e8d3d4aab95581b9906b6e6be1aac50b4cf3914995f5e2c27482f40c56eade9cbb3efc59b24a5e899c86f5
EBUILD yarn-1.3.2.ebuild 841 BLAKE2B 08bf76001e5e2aa1e7cb0efa3d022bd562b79a058c83363d7a27abeca51aef0141a199676d2a561d58cc01035c51822a55913538d0c44d24f81d3c6312d85ed8 SHA512 4e53d8287c9c49563c2d36e7fc5dd0657c2926f32bc7aa1b8caba62e8278fe0ed029e59afb3147d554344b7997ffc79e3f230ae3adaa419cad265595f3250062
@@ -12,4 +13,5 @@ EBUILD yarn-1.5.1.ebuild 841 BLAKE2B 08bf76001e5e2aa1e7cb0efa3d022bd562b79a058c8
EBUILD yarn-1.6.0.ebuild 848 BLAKE2B b0532cde76950dee68e42c3b861ad021657134752b6682245f3920e3577cff8ccd9d8846c7a8fe73cccb3a49a730b962e428ef75eace21c8acbd887a135f8231 SHA512 f18e0e8701e6375c3af0f91569fde1e054a68d9d8c8545ea22c83dfd24f0b0d229eaa6465aec7f5281db596a92e8da2bb58f237ca312cdca84e6934c87d3f613
EBUILD yarn-1.7.0.ebuild 856 BLAKE2B 4a60e7c73867461b27dbcf392f1b534d2f8bdadbe60fc7f217539cb9728a42e286a53f66d53b1bcc1fe1d83c52589e076f1e6cf4250280ae2058bbb29de6a970 SHA512 28c90ff73bf2f532099ef9311c4b6df63bb78315d316cf8898aae3f558903fb54042df34c10aa9469be0ea9be00f9f7cfcc683bfeb1902a8577655d80a85f271
EBUILD yarn-1.8.0.ebuild 856 BLAKE2B 4a60e7c73867461b27dbcf392f1b534d2f8bdadbe60fc7f217539cb9728a42e286a53f66d53b1bcc1fe1d83c52589e076f1e6cf4250280ae2058bbb29de6a970 SHA512 28c90ff73bf2f532099ef9311c4b6df63bb78315d316cf8898aae3f558903fb54042df34c10aa9469be0ea9be00f9f7cfcc683bfeb1902a8577655d80a85f271
+EBUILD yarn-1.9.4.ebuild 856 BLAKE2B 4a60e7c73867461b27dbcf392f1b534d2f8bdadbe60fc7f217539cb9728a42e286a53f66d53b1bcc1fe1d83c52589e076f1e6cf4250280ae2058bbb29de6a970 SHA512 28c90ff73bf2f532099ef9311c4b6df63bb78315d316cf8898aae3f558903fb54042df34c10aa9469be0ea9be00f9f7cfcc683bfeb1902a8577655d80a85f271
MISC metadata.xml 440 BLAKE2B 526fb5eb5ad9a9ed7062fac74a6c5cbd0bfc82b8f69da9cf687b16c0c6d0cc03728abf1508c6c48960c26198fa88ca8fe64f924c080010b5158ff8f9cb06e850 SHA512 3c6dfd749421e6620930993f60bdac847c8e3baa65d4389861de3b8d63641cdc54402274e4b663a718adf8889d2e8bb9b036b427184e1f4d71e290fa74a273cd
diff --git a/sys-apps/yarn/yarn-1.9.4.ebuild b/sys-apps/yarn/yarn-1.9.4.ebuild
new file mode 100644
index 000000000000..b4b5ee7ead80
--- /dev/null
+++ b/sys-apps/yarn/yarn-1.9.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="Fast, reliable, and secure node dependency management"
+HOMEPAGE="https://yarnpkg.com"
+SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="!dev-util/cmdtest
+ net-libs/nodejs"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang
+ insinto "${install_dir}"
+ doins -r .
+ dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn"
+
+ while read -r -d '' path; do
+ read -r shebang < ${path} || die
+ [[ "${shebang}" == \#\!* ]] || continue
+ chmod +x "${path}" || die #614094
+ done < <(find "${ED}" -type f -print0 || die)
+}