public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/
Date: Sun, 31 Mar 2024 00:02:56 +0000 (UTC)	[thread overview]
Message-ID: <1711842318.9a014f855f0ccde671f17c7d8881587b3efd5288.zmedico@gentoo> (raw)

commit:     9a014f855f0ccde671f17c7d8881587b3efd5288
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Thu Mar 28 17:11:50 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar 30 23:45:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a014f85

sys-apps/yarn: add 1.22.22

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/35968
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-apps/yarn/Manifest            |  1 +
 sys-apps/yarn/yarn-1.22.22.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest
index 2f20b6c40e22..b3e157667ab3 100644
--- a/sys-apps/yarn/Manifest
+++ b/sys-apps/yarn/Manifest
@@ -1,3 +1,4 @@
 DIST yarn-v1.22.17.tar.gz 1246198 BLAKE2B ae0b86cdb248a0f81d1a4a23d15ef9aab185fcda7ef7f8873959c3e54dfc305219afb2416264911098c4e3a6a65a33d248ff97c8e0ca043b118de64e003c3d9b SHA512 1f4a76e35057687d1437d21e1fffd14fcdad9793df36b695a52a44a16f844fb966a29342eb5799f80f880ef53c14ce86a39bf1d7ad929dc0cbf09d598d106b89
 DIST yarn-v1.22.19.tar.gz 1244259 BLAKE2B f103d148bafa76bddcdf9e26356fbebba87f7c7c707f823a54404302571e1d09e25569406fc721d74f53cfdac8706dec6bd40da39b7d44000381b1f36d0d8de0 SHA512 ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71
 DIST yarn-v1.22.21.tar.gz 1243124 BLAKE2B 99a53db799f07c6aed1bb8d5d2997b6caef6d518118ef8bea4974fdaf3cc0b6a7a7fa17fb9244c8fb2915bffed77d5ed8dd701eecdcf4491d26b68f92750d8c7 SHA512 75fc33d00ee14733272c04090b3a646fb4021fce85103b2451f01f60f47be7dc9811c76b26465fe6a3735996ac55fd9e80f918cc45422af0888047f4c9ba8f9d
+DIST yarn-v1.22.22.tar.gz 1247457 BLAKE2B a81ec778e774f85da6d5802d4abbc579f1c9194f6e2681ef239cc336e4ec2b502b412f303fa4a8c61dda08a00444e120487e04aa19e89113f844c0db4fd54098 SHA512 c8b361ca353e3ca15e32eadf7f1617449f485fe488860e49774ea35dac1544f39ab1104f82bf24528de6e553eef53c4604a560e522dfab8433425ee13ccfd6f9

diff --git a/sys-apps/yarn/yarn-1.22.22.ebuild b/sys-apps/yarn/yarn-1.22.22.ebuild
new file mode 100644
index 000000000000..02435ca2eafe
--- /dev/null
+++ b/sys-apps/yarn/yarn-1.22.22.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~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"
+	dosym "../$(get_libdir)/node_modules/yarn/bin/yarnpkg" "/usr/bin/yarnpkg"
+
+	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)
+}


             reply	other threads:[~2024-03-31  0:02 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31  0:02 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-31  3:08 [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/ Zac Medico
2024-05-11 15:16 Arthur Zamarin
2024-02-28  2:57 Zac Medico
2024-02-28  2:57 Zac Medico
2024-02-28  2:57 Zac Medico
2022-05-13 22:04 Zac Medico
2022-05-13 22:01 Zac Medico
2021-12-05 19:08 Zac Medico
2021-10-17  4:31 Zac Medico
2021-08-13  6:51 Agostino Sarubbo
2020-10-06 14:00 Sam James
2020-10-06  4:55 Sam James
2020-10-04 19:26 Zac Medico
2020-08-30 21:40 Zac Medico
2020-06-26 15:17 William Hubbs
2020-06-26 15:17 William Hubbs
2020-06-26 15:17 William Hubbs
2020-03-11  5:03 Zac Medico
2020-03-01  2:41 Zac Medico
2020-02-13 22:00 Zac Medico
2019-12-30  0:21 Zac Medico
2019-12-30  0:19 Zac Medico
2019-11-22 18:16 Zac Medico
2019-10-18  4:39 Zac Medico
2019-10-06 17:55 Zac Medico
2019-08-08  1:53 Zac Medico
2019-05-14  8:20 Manuel Rüger
2019-03-17 21:12 Zac Medico
2019-03-17 19:34 Zac Medico
2019-03-17 19:29 Zac Medico
2019-01-19  1:45 Zac Medico
2019-01-18 19:25 Zac Medico
2018-11-14 18:49 William Hubbs
2018-10-16 14:50 William Hubbs
2018-08-14 20:29 William Hubbs
2018-06-18 18:25 Zac Medico
2018-06-18 18:20 Zac Medico
2018-05-12 17:48 Michał Górny
2018-03-28 18:00 William Hubbs
2018-01-04 12:21 Manuel Rüger
2017-11-02 21:54 Manuel Rüger
2017-11-02 21:54 Manuel Rüger
2017-10-09 16:55 Manuel Rüger
2017-09-15 11:04 Manuel Rüger
2017-09-10 10:37 Manuel Rüger
2017-08-12 13:28 Michael Palimaka
2017-07-19 17:15 Manuel Rüger
2017-07-17 17:11 Göktürk Yüksek
2017-04-29  0:40 Zac Medico
2017-03-07 21:12 Göktürk Yüksek
2017-03-07 21:12 Göktürk Yüksek
2017-01-15  4:28 Göktürk Yüksek
2016-12-11  2:31 Göktürk Yüksek
2016-12-09  9:04 Göktürk Yüksek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711842318.9a014f855f0ccde671f17c7d8881587b3efd5288.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox