diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-05-14 10:20:05 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-05-14 10:20:05 +0200 |
commit | 018c9dfc94441496b4d7a1f7105df193396aabb4 (patch) | |
tree | 0387dfef64f0044322b277c631b3f53818aa5261 /sys-apps | |
parent | sys-process/cronie: stable 1.5.4 for sparc, bug #685848 (diff) | |
download | gentoo-018c9dfc94441496b4d7a1f7105df193396aabb4.tar.gz gentoo-018c9dfc94441496b4d7a1f7105df193396aabb4.tar.bz2 gentoo-018c9dfc94441496b4d7a1f7105df193396aabb4.zip |
sys-apps/yarn: Version bump to 1.16.0
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/yarn/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-1.16.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest index 5d75c04ca469..279dfded80b8 100644 --- a/sys-apps/yarn/Manifest +++ b/sys-apps/yarn/Manifest @@ -2,4 +2,5 @@ DIST yarn-v1.10.1.tar.gz 1107068 BLAKE2B ce9870d5f149b53d056682190a4bd3bcd2a8d2c DIST yarn-v1.12.3.tar.gz 1166553 BLAKE2B 8e0c56c46522eeccaa558dd1fccdca40e83d03dc0ec04a58541b318b73bb64b9559c6f210a2745cc07a87234ef7857a1cc8a57d1f22277a8b6a90026f8c563d3 SHA512 f1fe6b58d0ef9210260b19a7f02d0bb0d58cc536159385462a2ab4b0807a1c66636994c7b06207f3b4949950d411dd96939e1ba8aa1495b55681014242146457 DIST yarn-v1.13.0.tar.gz 1169613 BLAKE2B 5fc730c0b456d67702ef5305223cfd933c4c8f1d13364ff383294f8ae2b7b3f400476ff32b9aa0b27c497116660ea295691831e4e9bf50cb699d03d2dcd99e6e SHA512 5277f0d9e79fbfc8a6b7864c3e1bc554fe38582cf7f21b83c641ecf98aabc78c014caef94ebd26877578ae1fb6370e6242ad2b70cfd569fa2d099a3da936f90c DIST yarn-v1.15.2.tar.gz 1169927 BLAKE2B 1ebf899b1f34dd3b6fea4fa001b1edda62dd4c8964099b8a1bc858a1b28b7ccbab3aa3e229bc7882892763db414ed4f7cfbe2deb636d2a8675da87df1754a835 SHA512 0e1a9a19ed8571829db8ee36776841c9793bcbc936938d87deecd875604c4ef70d72058ac7bc429095ac540422917bda1103761b224daf3f026e8a9499a051af +DIST yarn-v1.16.0.tar.gz 1172930 BLAKE2B 1dbb754ae0af3b9666bb03057f587854407b3587fc4304e8282c759d5ea0cbee12eed58e526808893d3cf8e29c4ec69b13a28acccc6f6908bcdb8c9126d1a408 SHA512 71f7a6c8696758a035ce8a5452079b4cf7fc0b85a43c867e4c99a4970704009e2eea858fb49780cebb1a99a18687ff9bd5759ef16e75cb3008982e0059b591d6 DIST yarn-v1.9.4.tar.gz 937393 BLAKE2B 188e270b2a8b5b357b85101eda2552d675e3f41d30bc7b45266f34831cbcfc00feefe452c420f3aaefad7423c2af342d5fdb859ec6420faf689b680b5acda00f SHA512 1e3a908cf47a2fe46d7ce8db549b91cd0b3372c7c43c6b0029f1060b044a0a65e5bc3323f4ed6baf20bbbcb49ba358a6bb8f2691a591e4d3e8a01bc31372cb5b diff --git a/sys-apps/yarn/yarn-1.16.0.ebuild b/sys-apps/yarn/yarn-1.16.0.ebuild new file mode 100644 index 000000000000..6366d1485234 --- /dev/null +++ b/sys-apps/yarn/yarn-1.16.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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_prepare() { + default + sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die +} + +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 < "${ED}${path}" || die + [[ "${shebang}" == \#\!* ]] || continue + fperms +x "${path}" + done < <(find "${ED}" -type f -printf '/%P\0' || die) +} |