diff options
author | soredake <fdsfgs@krutt.org> | 2016-11-02 20:55:32 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-12-09 04:03:50 -0500 |
commit | 833cd53bde855b76293d1bb25580d4fab83ad2c6 (patch) | |
tree | d7c2fc20af1fe17fa166285e2c8161aa843832eb /sys-apps/yarn | |
parent | media-sound/mixxx: Added sub-slot dep for dev-libs/protobuf. (diff) | |
download | gentoo-833cd53bde855b76293d1bb25580d4fab83ad2c6.tar.gz gentoo-833cd53bde855b76293d1bb25580d4fab83ad2c6.tar.bz2 gentoo-833cd53bde855b76293d1bb25580d4fab83ad2c6.zip |
sys-apps/yarn: initial commit with versions 0.18.0 and live
Yarn is a fast, reliable, and secure dependency management software.
Diffstat (limited to 'sys-apps/yarn')
-rw-r--r-- | sys-apps/yarn/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/yarn/metadata.xml | 12 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-0.18.0.ebuild | 27 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-9999.ebuild | 27 |
4 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest new file mode 100644 index 000000000000..a1268ffb6b46 --- /dev/null +++ b/sys-apps/yarn/Manifest @@ -0,0 +1 @@ +DIST yarn-v0.18.0.tar.gz 3618827 SHA256 8fb1843d2a1283972ff5fead9d6c9f9002de793ecec6dfec7abec908403ecd19 SHA512 bf063663ad89b151a1802ff6f3989394a31b6fc0d03a17de06e7c9c8c6ad38eca99cfac1e6821f90df92c0e500287c6c1c029d8985ea1b33f7a8ffb2ee2eb708 WHIRLPOOL 50b35804a51315eae63611025cf83b2e23dd08660de86ba26cc4a9a160c7339546f2d654af2949a95593f6ecda8fd118494421bf9234d916bb5f43f391bd92f3 diff --git a/sys-apps/yarn/metadata.xml b/sys-apps/yarn/metadata.xml new file mode 100644 index 000000000000..bcfee7f26bb6 --- /dev/null +++ b/sys-apps/yarn/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>fdsfgs@krutt.org</email> + <name>soredake</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/sys-apps/yarn/yarn-0.18.0.ebuild b/sys-apps/yarn/yarn-0.18.0.ebuild new file mode 100644 index 000000000000..0d75b134daba --- /dev/null +++ b/sys-apps/yarn/yarn-0.18.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="net-libs/nodejs" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/dist" + +src_install() { + local install_dir="/usr/$(get_libdir)/node_modules/yarn" + 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" +} diff --git a/sys-apps/yarn/yarn-9999.ebuild b/sys-apps/yarn/yarn-9999.ebuild new file mode 100644 index 000000000000..f554f18d6ecc --- /dev/null +++ b/sys-apps/yarn/yarn-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="Fast, reliable, and secure node dependency management" +HOMEPAGE="https://yarnpkg.com" +EGIT_REPO_URI="https://github.com/yarnpkg/yarn.git" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="net-libs/nodejs" +DEPEND="${RDEPEND}" + +src_install() { + local install_dir="/usr/$(get_libdir)/node_modules/yarn" + 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" +} |