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: Wed, 11 Mar 2020 05:03:48 +0000 (UTC)	[thread overview]
Message-ID: <1583903022.df9f861593de6b96380cf51c55c456da25b8f544.zmedico@gentoo> (raw)

commit:     df9f861593de6b96380cf51c55c456da25b8f544
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 05:00:56 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 05:03:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9f8615

sys-apps/yarn: Bump to version 1.22.4

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

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

diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest
index 5b73665fc75..53cae8aaee3 100644
--- a/sys-apps/yarn/Manifest
+++ b/sys-apps/yarn/Manifest
@@ -1 +1,2 @@
 DIST yarn-v1.22.0.tar.gz 1244012 BLAKE2B 2764704103e281de8fd8c2c28abae56c7ba863365989b884add045d2f80810f0f8b83acd77baeef2375fe1424ad54cabfd89e4d14b38068114552115d3b7a812 SHA512 28c1cffc9ab9de364a4d8f624d4b77748565fdb7ba50fb3620da3debe0676472cac583537f03269601d368c5b2199a0eef8448e00205be75a162b5ead9448992
+DIST yarn-v1.22.4.tar.gz 1244785 BLAKE2B 1f1eeb829096eaf19a8fdb48b46fa736769d9d3c247759e434413665186e4cccb750024afa836dae8a0130fc472df3c01805d263d81346e1dd7509e1b106e88a SHA512 a1833b862fe52169bd6c2a033045a07df5bc6a23595c259e675fed1b2d035ab37abe6ce309720abb6636d68f03615054b6292dc0a70da31c8697fda228b50d18

diff --git a/sys-apps/yarn/yarn-1.22.4.ebuild b/sys-apps/yarn/yarn-1.22.4.ebuild
new file mode 100644
index 00000000000..706453936e7
--- /dev/null
+++ b/sys-apps/yarn/yarn-1.22.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 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"
+	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:[~2020-03-11  5:03 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11  5:03 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-03-31  0:02 Zac Medico
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-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=1583903022.df9f861593de6b96380cf51c55c456da25b8f544.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