summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-07-19 19:14:34 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-07-19 19:14:34 +0200
commitf89419b65985cdaff454830e41c8a4e6fa01ba84 (patch)
treead1261eb7fa4d19b4bd27cad11f94c959d779802 /sys-apps/yarn
parentsci-libs/dmlc-core: initial import (diff)
downloadgentoo-f89419b65985cdaff454830e41c8a4e6fa01ba84.tar.gz
gentoo-f89419b65985cdaff454830e41c8a4e6fa01ba84.tar.bz2
gentoo-f89419b65985cdaff454830e41c8a4e6fa01ba84.zip
sys-apps/yarn: Version bump to 0.27.5
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-apps/yarn')
-rw-r--r--sys-apps/yarn/Manifest1
-rw-r--r--sys-apps/yarn/yarn-0.27.5.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest
index 7baf5551382d..1ce76f318eae 100644
--- a/sys-apps/yarn/Manifest
+++ b/sys-apps/yarn/Manifest
@@ -1 +1,2 @@
DIST yarn-v0.21.3.tar.gz 3408603 SHA256 0946a4d1abc106c131b700cc31e5c3aa5f2205eb3bb9d17411f8115354a97d5d SHA512 dad7181c78dd1aaf2b07ff32055a8442b55ff9b68a73cf611f4142d612e95f43dcd376e6f2306a4cccc5249680bb82365a7e9ee3160e5c5083f50ee0791a448d WHIRLPOOL f96e16e6112f23efe1f6609e2f5c674e20e033725374116929cceca319c5dad8f65a3cb667d43f5d00fdf46b46ee41eb4038e6998ffe6f6aea9d13d910258c55
+DIST yarn-v0.27.5.tar.gz 816114 SHA256 f0f3510246ee74eb660ea06930dcded7b684eac2593aa979a7add84b72517968 SHA512 a21615f3bf4996d6e2dc84b54c3e9ca8a58143941a80771121f6eb6f5dcf8fd655e1c9b9420e7a0ab3a7c26ecd6bdd3790451d76435d7e3d6fbb5ba8ac729dbd WHIRLPOOL e21887c715c72c490c58817ca0a6542899f4036ccd81fedfab4f751b13eca6196f82236d206f7a58d550e78f0bff4dac08fbfc44f287e2463ad119042b98a83b
diff --git a/sys-apps/yarn/yarn-0.27.5.ebuild b/sys-apps/yarn/yarn-0.27.5.ebuild
new file mode 100644
index 000000000000..631ba960a315
--- /dev/null
+++ b/sys-apps/yarn/yarn-0.27.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Fast, reliable, and secure node dependency management"
+HOMEPAGE="https://yarnpkg.com"
+SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/yarn-v${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="!dev-util/cmdtest
+ net-libs/nodejs"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/dist"
+
+src_install() {
+ local install_dir="/usr/$(get_libdir)/node_modules/yarn" path
+ insinto "${install_dir}"
+ doins -r .
+ dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn"
+ fperms a+x "${install_dir}/bin/yarn.js"
+ while read -r -d '' path; do
+ [[ $(head -n1 "${path}") == \#\!* ]] || continue
+ chmod +x "${path}" || die #614094
+ done < <(find "${ED}" -type f -print0)
+}