From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1554388-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E80A3158089
	for <garchives@archives.gentoo.org>; Thu, 14 Sep 2023 13:22:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1396F2BC097;
	Thu, 14 Sep 2023 13:22:57 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F11712BC097
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2023 13:22:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3EF3F335D4B
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2023 13:22:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7490911B3
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2023 13:22:52 +0000 (UTC)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com>
Message-ID: <1694622542.aa44a50352ff3e244ea2d7cacafa8a4cabe617e5.davidroman@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/pnpm-bin/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: sys-apps/pnpm-bin/Manifest sys-apps/pnpm-bin/metadata.xml sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild
X-VCS-Directories: sys-apps/pnpm-bin/
X-VCS-Committer: davidroman
X-VCS-Committer-Name: David Roman
X-VCS-Revision: aa44a50352ff3e244ea2d7cacafa8a4cabe617e5
X-VCS-Branch: master
Date: Thu, 14 Sep 2023 13:22:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 20c135cf-497a-4652-b00b-a3abdee185fd
X-Archives-Hash: 77213716b6cc6dcbdc414fdb7b02e1be

commit:     aa44a50352ff3e244ea2d7cacafa8a4cabe617e5
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Wed Sep 13 16:29:02 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Sep 13 16:29:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa44a503

sys-apps/pnpm-bin: new package, add 8.7.5

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 sys-apps/pnpm-bin/Manifest              |  1 +
 sys-apps/pnpm-bin/metadata.xml          | 37 +++++++++++++++++++++++++++++++++
 sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild | 21 +++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/sys-apps/pnpm-bin/Manifest b/sys-apps/pnpm-bin/Manifest
new file mode 100644
index 0000000000..76eb5584c5
--- /dev/null
+++ b/sys-apps/pnpm-bin/Manifest
@@ -0,0 +1 @@
+DIST pnpm-linux-x64 57620299 BLAKE2B 4f9b27871be08b2d1e656ce2388af8117401a30c5bc9f963d5fb6284989e2513540e08de4b2196b597718904f0804833053e5d004fc413186e52c573c6bb6eae SHA512 5ecec3b3c3f2400ab66da81f943f8e97d6f6d006c1a213d9fc876c31f6108e1bbf900ac4f1f2515f41f65b87461e1be52d2dca06f3cadf17a5482c5ae8ad4713

diff --git a/sys-apps/pnpm-bin/metadata.xml b/sys-apps/pnpm-bin/metadata.xml
new file mode 100644
index 0000000000..7d16a80ee7
--- /dev/null
+++ b/sys-apps/pnpm-bin/metadata.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Vitaly Zdanevich</name>
+		<email>zdanevich.vitaly@ya.ru</email>
+	</maintainer>
+	<longdescription lang="en">
+		* Fast. Up to 2x faster than the alternatives.
+
+		* Efficient. Files inside node_modules are linked from a single content-addressable storage
+
+		* Great for monorepos.
+
+		* Strict. A package can access only dependencies that are specified in its package.json.
+
+		* Deterministic. Has a lockfile called pnpm-lock.yaml.
+
+		* Works as a Node.js version manager.
+
+		* Battle-tested. Used in production by teams of all sizes since 2016.
+
+To quote the Rush team "Microsoft uses pnpm in Rush repos with hundreds of projects and hundreds of PRs per day, and we’ve found it to be very fast and reliable".
+
+pnpm uses a content-addressable filesystem to store all files from all module directories on a disk. When using npm, if you have 100 projects using lodash, you will have 100 copies of lodash on disk. With pnpm, lodash will be stored in a content-addressable storage, so:
+
+* If you depend on different versions of lodash, only the files that differ are added to the store. If lodash has 100 files, and a new version has a change only in one of those files, pnpm update will only add 1 new file to the storage.
+		
+* All the files are saved in a single place on the disk. When packages are installed, their files are linked from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).
+
+As a result, you save gigabytes of space on your disk and you have a lot faster installations!
+	</longdescription>
+	<upstream>
+		<remote-id type="github">pnpm/pnpm</remote-id>
+		<bugs-to>https://github.com/pnpm/pnpm/issues</bugs-to>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild b/sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild
new file mode 100644
index 0000000000..67a0d55f69
--- /dev/null
+++ b/sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Fast, disk space efficient package manager, alternative to npm and yarn"
+HOMEPAGE="https://pnpm.io"
+
+SRC_URI="https://github.com/pnpm/pnpm/releases/download/v${PV}/pnpm-linux-x64"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+RESTRICT="strip"
+
+S="${WORKDIR}"
+
+src_install() {
+	newbin "${DISTDIR}/pnpm-linux-x64" ${PN}
+}