From: reback00 <reback00@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: pnpm-5.8.0
Date: Sun, 11 Apr 2021 19:27:03 +0200 [thread overview]
Message-ID: <20210411172703.mlUwslaCmg3ObEslXGZ3ooYQ8ThcKSy_1WGD1mHYioY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25315@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
There is an updated pull request by reback00 against master on the void-packages repository
https://github.com/reback00/void-packages pnpm-branch
https://github.com/void-linux/void-packages/pull/25315
New package: pnpm-5.8.0
Fast, disk space efficient package manager for nodejs. One of the highlight features: saves a package once and symlinks on individual projects resulting in a great savings of disk space. Hope it's useful!
[website](https://pnpm.js.org/)
A patch file from https://github.com/void-linux/void-packages/pull/25315.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pnpm-branch-25315.patch --]
[-- Type: text/x-diff, Size: 1579 bytes --]
From 724b4bbad76ed0de86f27fe59e9170d24448aca6 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sat, 3 Oct 2020 21:40:52 +0600
Subject: [PATCH] New package: pnpm-6.0.1
---
srcpkgs/pnpm/template | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/pnpm/template
diff --git a/srcpkgs/pnpm/template b/srcpkgs/pnpm/template
new file mode 100644
index 000000000000..066b9a414d32
--- /dev/null
+++ b/srcpkgs/pnpm/template
@@ -0,0 +1,31 @@
+# Template file for 'pnpm'
+pkgname=pnpm
+version=6.0.1
+revision=1
+create_wrksrc=yes
+build_style=fetch
+hostmakedepends="nodejs jq"
+depends="nodejs"
+short_desc="Fast, disk space efficient package manager"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://pnpm.js.org/"
+distfiles="https://registry.npmjs.org/${pkgname}/-/${pkgname}-${version}.tgz"
+checksum=6e390217ab6250f85d28cb0135620e3b0526a849dda7fb7c54f092c1b6bd465c
+python_version=3
+
+do_install() {
+ npm install -g --user root --prefix "${DESTDIR}/usr" "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tgz"
+ local _npmdir="${DESTDIR}/usr/lib/node_modules/${pkgname}"
+
+ # Sort and cleanup package.json
+ jq '.|=with_entries(select(.key|test("_.+")|not))' "$_npmdir/package.json" > "$_npmdir/package.json"
+ chmod 644 "$_npmdir/package.json"
+
+ # Delete JS SourceMaps
+ find "${DESTDIR}/usr/lib" -depth -name '*.map' -delete
+
+ vlicense "$_npmdir/LICENSE"
+ vdoc "$_npmdir/README.md"
+ rm -rf "${DESTDIR}/usr/etc" "$_npmdir/LICENSE" "$_npmdir/README.md"
+}
next prev parent reply other threads:[~2021-04-11 17:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-03 15:45 [PR PATCH] " reback00
2021-04-05 0:56 ` kwshi
2021-04-05 1:19 ` [PR REVIEW] " ericonr
2021-04-06 18:30 ` Chocimier
2021-04-06 18:30 ` Chocimier
2021-04-06 18:30 ` Chocimier
2021-04-11 17:27 ` reback00 [this message]
2021-04-11 17:43 ` [PR REVIEW] New package: pnpm-6.0.1 reback00
2021-04-11 17:43 ` reback00
2021-04-11 17:44 ` reback00
2021-04-11 17:47 ` reback00
2021-04-11 17:49 ` reback00
2021-04-12 4:44 ` [PR PATCH] [Updated] " reback00
2021-04-12 4:48 ` [PR REVIEW] " reback00
2021-04-12 17:05 ` [PR PATCH] [Merged]: " Chocimier
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=20210411172703.mlUwslaCmg3ObEslXGZ3ooYQ8ThcKSy_1WGD1mHYioY@z \
--to=reback00@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).