From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6EE491396D9 for ; Thu, 2 Nov 2017 21:54:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6924E0C63; Thu, 2 Nov 2017 21:54:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76127E0C63 for ; Thu, 2 Nov 2017 21:54:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 147BF34169C for ; Thu, 2 Nov 2017 21:54:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F08392C7 for ; Thu, 2 Nov 2017 21:54:16 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1509659540.5b9efc646c940148c91e2a10abe8fd7f3a975bf1.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/yarn/Manifest sys-apps/yarn/yarn-1.2.1.ebuild X-VCS-Directories: sys-apps/yarn/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 5b9efc646c940148c91e2a10abe8fd7f3a975bf1 X-VCS-Branch: master Date: Thu, 2 Nov 2017 21:54:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa79a736-c939-416b-9477-014d4b3c4af4 X-Archives-Hash: 83d92271498bc0ea3c92386720a58f48 commit: 5b9efc646c940148c91e2a10abe8fd7f3a975bf1 Author: Manuel Rüger gentoo org> AuthorDate: Thu Nov 2 21:52:20 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Nov 2 21:52:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9efc64 sys-apps/yarn: Version bump to 1.2.1 Package-Manager: Portage-2.3.12, Repoman-2.3.4 sys-apps/yarn/Manifest | 1 + sys-apps/yarn/yarn-1.2.1.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest index b38488871f0..7fc9b1df504 100644 --- a/sys-apps/yarn/Manifest +++ b/sys-apps/yarn/Manifest @@ -2,3 +2,4 @@ DIST yarn-v0.27.5.tar.gz 816114 SHA256 f0f3510246ee74eb660ea06930dcded7b684eac25 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 +DIST yarn-v1.2.1.tar.gz 885691 SHA256 f8ed07675c3a0b866e11a02af5c15d2f34c3aa261ab1501943ecee328786c959 SHA512 cb61788e16cd3537073b3a8711ce6a29f7e14380cea20ca16144e97ed05ec62c685b805a18af9e70d16f7aedb4c460cad97027e37fb43596f97570386d596477 WHIRLPOOL c435a313d8701ab75e0945314dd96fd591e623078fc541e3ddbd44710e941c3fa1b7b9381489590955bdb32f715ccd21275d05e083b5d9d332122df7eb3a799e diff --git a/sys-apps/yarn/yarn-1.2.1.ebuild b/sys-apps/yarn/yarn-1.2.1.ebuild new file mode 100644 index 00000000000..f028ad115d0 --- /dev/null +++ b/sys-apps/yarn/yarn-1.2.1.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) +}