diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-10-09 18:54:47 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-10-09 18:54:47 +0200 |
commit | 50951eef269444d13be6eb6669f9a77df19d674e (patch) | |
tree | c0e13e385062083ced98109858a9c43c0372bcc6 /sys-apps/yarn | |
parent | dev-util/meson: 0.43.0 version bump (diff) | |
download | gentoo-50951eef269444d13be6eb6669f9a77df19d674e.tar.gz gentoo-50951eef269444d13be6eb6669f9a77df19d674e.tar.bz2 gentoo-50951eef269444d13be6eb6669f9a77df19d674e.zip |
sys-apps/yarn: Version bump to 1.1.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-apps/yarn')
-rw-r--r-- | sys-apps/yarn/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-1.1.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest index 5b7ad9af11fb..b38488871f00 100644 --- a/sys-apps/yarn/Manifest +++ b/sys-apps/yarn/Manifest @@ -1,3 +1,4 @@ DIST yarn-v0.27.5.tar.gz 816114 SHA256 f0f3510246ee74eb660ea06930dcded7b684eac2593aa979a7add84b72517968 SHA512 a21615f3bf4996d6e2dc84b54c3e9ca8a58143941a80771121f6eb6f5dcf8fd655e1c9b9420e7a0ab3a7c26ecd6bdd3790451d76435d7e3d6fbb5ba8ac729dbd WHIRLPOOL e21887c715c72c490c58817ca0a6542899f4036ccd81fedfab4f751b13eca6196f82236d206f7a58d550e78f0bff4dac08fbfc44f287e2463ad119042b98a83b DIST yarn-v1.0.1.tar.gz 843398 SHA256 6b00b5e0a7074a512d39d2d91ba6262dde911d452617939ca4be4a700dd77cf1 SHA512 3d22bb7a7b32cff26bb7053a12e21fdabf4a2ff198e7164e034fd5e0b6a5760e0def19bcc6592f7df850108a3bf36d60a9337f1dc56a35ed72c98b14c0af95fb WHIRLPOOL 99826575498c7944ddf07c61c3bac5b7163c4fbe65f8196502b7322cc5978b1988ae524a4d2ae4ab69c78d5773d4bb66598fb1495394e139e7f72e3c2a32fe8c DIST yarn-v1.0.2.tar.gz 843696 SHA256 8a31f8fa50ab6d5f8852025fb0ea4a50f2f8b82792f060fa99de0acc370b0698 SHA512 21b24f4633517f001f0cf2529d67316b5a1aded787c6516504b0f7b89fec991c3f17f7a098590bcfcea88a5d9831121079facca2237c678495bd2124cdf07dad WHIRLPOOL 12dca2a10b2e946bf0587ac41254b86813a49ca9025e11d4939851de5da9178c5e9c7603711e7b876dea3f3aa01c2068f7c9df5142f8bb7117cbe9535842031d +DIST yarn-v1.1.0.tar.gz 874168 SHA256 171c1f9ee93c488c0d774ac6e9c72649047c3f896277d88d0f805266519430f3 SHA512 7ce740ac47d8ba42c47d0262979fcd1d22daede2a298e1743341c52584bee7d4beca8758c118deccaefd9cb0bc2780a37e110ae3633af56ac6916ae0389eadf6 WHIRLPOOL 21fabd1824fc7bf3ef3cf4ac64103e19f97c547f968aa0220371ca0ddb3cba71e034cd6143047ac85fa8c8ff1d39c3364e7bf3de57f9628af244d9c8723a7498 diff --git a/sys-apps/yarn/yarn-1.1.0.ebuild b/sys-apps/yarn/yarn-1.1.0.ebuild new file mode 100644 index 000000000000..f028ad115d08 --- /dev/null +++ b/sys-apps/yarn/yarn-1.1.0.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}/${PN}-v${PV} + +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) +} |