mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-apps/yarn: Version bump to 0.27.5
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST yarn-v0.21.3.tar.gz 3408603 SHA256 0946a4d1abc106c131b700cc31e5c3aa5f2205eb3bb9d17411f8115354a97d5d SHA512 dad7181c78dd1aaf2b07ff32055a8442b55ff9b68a73cf611f4142d612e95f43dcd376e6f2306a4cccc5249680bb82365a7e9ee3160e5c5083f50ee0791a448d WHIRLPOOL f96e16e6112f23efe1f6609e2f5c674e20e033725374116929cceca319c5dad8f65a3cb667d43f5d00fdf46b46ee41eb4038e6998ffe6f6aea9d13d910258c55
|
||||
DIST yarn-v0.27.5.tar.gz 816114 SHA256 f0f3510246ee74eb660ea06930dcded7b684eac2593aa979a7add84b72517968 SHA512 a21615f3bf4996d6e2dc84b54c3e9ca8a58143941a80771121f6eb6f5dcf8fd655e1c9b9420e7a0ab3a7c26ecd6bdd3790451d76435d7e3d6fbb5ba8ac729dbd WHIRLPOOL e21887c715c72c490c58817ca0a6542899f4036ccd81fedfab4f751b13eca6196f82236d206f7a58d550e78f0bff4dac08fbfc44f287e2463ad119042b98a83b
|
||||
|
||||
31
sys-apps/yarn/yarn-0.27.5.ebuild
Normal file
31
sys-apps/yarn/yarn-0.27.5.ebuild
Normal file
@@ -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}/dist"
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user