Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/
Date: Fri, 26 Jun 2020 15:18:04
Message-Id: 1593184661.3d75bc5deef3bd56ec28aeefdded2470b1beb434.williamh@gentoo
1 commit: 3d75bc5deef3bd56ec28aeefdded2470b1beb434
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 26 15:15:43 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 15:17:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d75bc5d
7
8 sys-apps/yarn: remove old
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 sys-apps/yarn/Manifest | 1 -
13 sys-apps/yarn/yarn-1.22.0.ebuild | 40 ----------------------------------------
14 2 files changed, 41 deletions(-)
15
16 diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest
17 index 53cae8aaee3..89a18c4161f 100644
18 --- a/sys-apps/yarn/Manifest
19 +++ b/sys-apps/yarn/Manifest
20 @@ -1,2 +1 @@
21 -DIST yarn-v1.22.0.tar.gz 1244012 BLAKE2B 2764704103e281de8fd8c2c28abae56c7ba863365989b884add045d2f80810f0f8b83acd77baeef2375fe1424ad54cabfd89e4d14b38068114552115d3b7a812 SHA512 28c1cffc9ab9de364a4d8f624d4b77748565fdb7ba50fb3620da3debe0676472cac583537f03269601d368c5b2199a0eef8448e00205be75a162b5ead9448992
22 DIST yarn-v1.22.4.tar.gz 1244785 BLAKE2B 1f1eeb829096eaf19a8fdb48b46fa736769d9d3c247759e434413665186e4cccb750024afa836dae8a0130fc472df3c01805d263d81346e1dd7509e1b106e88a SHA512 a1833b862fe52169bd6c2a033045a07df5bc6a23595c259e675fed1b2d035ab37abe6ce309720abb6636d68f03615054b6292dc0a70da31c8697fda228b50d18
23
24 diff --git a/sys-apps/yarn/yarn-1.22.0.ebuild b/sys-apps/yarn/yarn-1.22.0.ebuild
25 deleted file mode 100644
26 index 706453936e7..00000000000
27 --- a/sys-apps/yarn/yarn-1.22.0.ebuild
28 +++ /dev/null
29 @@ -1,40 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -MY_P="${PN}-v${PV}"
36 -
37 -DESCRIPTION="Fast, reliable, and secure node dependency management"
38 -HOMEPAGE="https://yarnpkg.com"
39 -SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz"
40 -
41 -LICENSE="BSD-2"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~x86"
44 -IUSE=""
45 -
46 -RDEPEND="!dev-util/cmdtest
47 - net-libs/nodejs"
48 -DEPEND="${RDEPEND}"
49 -
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -src_prepare() {
53 - default
54 - sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die
55 -}
56 -
57 -src_install() {
58 - local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang
59 - insinto "${install_dir}"
60 - doins -r .
61 - dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn"
62 - dosym "../$(get_libdir)/node_modules/yarn/bin/yarnpkg" "/usr/bin/yarnpkg"
63 -
64 - while read -r -d '' path; do
65 - read -r shebang < "${ED}${path}" || die
66 - [[ "${shebang}" == \#\!* ]] || continue
67 - fperms +x "${path}"
68 - done < <(find "${ED}" -type f -printf '/%P\0' || die)
69 -}