Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: volta-0.7.1
Date: Mon, 03 Feb 2020 21:01:04 +0100	[thread overview]
Message-ID: <20200203200104.P-o6ZvFU9OI52lB3-HxLl1UIqTF-c-JGaS_lyyziiuo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18756@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

There is an updated pull request by atk against master on the void-packages repository

https://github.com/atk/void-packages feat-volta
https://github.com/void-linux/void-packages/pull/18756

New package: volta-0.7.1
See https://github.com/void-linux/void-packages/pull/18446. Unfortunately, I was not able to reopen the PR due to the force push (my bad). The comments from this PR have been resolved.

A patch file from https://github.com/void-linux/void-packages/pull/18756.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feat-volta-18756.patch --]
[-- Type: text/x-diff, Size: 3398 bytes --]

From 305427d61bf07f4ac7866a73ac6d341ebdba7bbf Mon Sep 17 00:00:00 2001
From: Alex Lohr <alexloh@T490.fritz.box>
Date: Tue, 21 Jan 2020 15:49:52 +0100
Subject: [PATCH] New package: volta-0.7.1

---
 srcpkgs/volta/patches/bindir.patch | 33 ++++++++++++++++++++++++++++++
 srcpkgs/volta/template             | 30 +++++++++++++++++++++++++++
 srcpkgs/volta/update               |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 srcpkgs/volta/patches/bindir.patch
 create mode 100644 srcpkgs/volta/template
 create mode 100644 srcpkgs/volta/update

diff --git a/srcpkgs/volta/patches/bindir.patch b/srcpkgs/volta/patches/bindir.patch
new file mode 100644
index 00000000000..6e7b051ec04
--- /dev/null
+++ b/srcpkgs/volta/patches/bindir.patch
@@ -0,0 +1,33 @@
+--- shell/unix/load.bash
++++ shell/unix/load.bash
+@@ -75,7 +75,7 @@ volta() {
+     export VOLTA_POSTSCRIPT="${VOLTA_ROOT}/tmp/volta_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ").sh"
+ 
+     # Forward the arguments to the Volta executable.
+-    VOLTA_SHELL=bash command "${VOLTA_ROOT}/volta" "$@"
++    VOLTA_SHELL=bash command volta "$@"
+     EXIT_CODE=$?
+ 
+     # Call the post-invocation script if it is present, then delete it.
+--- shell/unix/load.fish
++++ shell/unix/load.fish
+@@ -11,7 +11,7 @@ function volta
+     set -x VOLTA_POSTSCRIPT "$VOLTA_ROOT/tmp/volta_tmp_"(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ")".fish"
+ 
+     # Forward the arguments to the Volta executable.
+-    env VOLTA_SHELL=fish "$VOLTA_ROOT/volta" $argv
++    env VOLTA_SHELL=fish volta $argv
+     set EXIT_CODE $status
+ 
+     # Call the post-invocation script if it is present, then delete it.
+--- shell/unix/load.sh
++++ shell/unix/load.sh
+@@ -10,7 +10,7 @@ volta() {
+     export VOLTA_POSTSCRIPT="${VOLTA_ROOT}/tmp/volta_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ").sh"
+ 
+     # Forward the arguments to the Volta executable.
+-    VOLTA_SHELL=bash command "${VOLTA_ROOT}/volta" "$@"
++    VOLTA_SHELL=bash command volta "$@"
+     EXIT_CODE=$?
+ 
+     # Call the post-invocation script if it is present, then delete it.
diff --git a/srcpkgs/volta/template b/srcpkgs/volta/template
new file mode 100644
index 00000000000..bfc29ecb479
--- /dev/null
+++ b/srcpkgs/volta/template
@@ -0,0 +1,30 @@
+# Template file for 'volta'
+pkgname=volta
+version=0.7.1
+revision=1
+archs="x86_64 i686"
+build_helper="rust"
+hostmakedepends="cargo pkg-config"
+makedepends="libressl-devel"
+short_desc="JavaScript tool version sync helper"
+maintainer="Alex Lohr <alex.lohr@logmein.com>"
+license="BSD-2-Clause"
+homepage="https://volta.sh/"
+distfiles="https://github.com/volta-cli/${pkgname}/archive/v${version}.tar.gz"
+checksum=e53a07e167bb64103f36901423f5a377a2ea89ecfdd7a1343e69d659f99f9c1b
+
+pre_build() {
+	cargo update --package openssl-sys --precise 0.9.53
+}
+
+do_build() {
+	cargo build --release --target ${RUST_TARGET}
+}
+
+do_install() {
+	vlicense LICENSE
+
+	vbin target/${RUST_TARGET}/release/volta
+	vbin target/${RUST_TARGET}/release/volta-shim
+	vbin target/${RUST_TARGET}/release/volta-migrate
+}
diff --git a/srcpkgs/volta/update b/srcpkgs/volta/update
new file mode 100644
index 00000000000..7e45e278a6c
--- /dev/null
+++ b/srcpkgs/volta/update
@@ -0,0 +1,2 @@
+site="https://github.com/volta-cli/volta/releases"
+pattern="\bv(\d+\.\d+\.\d+)\b"

  parent reply	other threads:[~2020-02-03 20:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03 10:11 [PR PATCH] " voidlinux-github
2020-02-03 10:41 ` [PR PATCH] [Updated] " voidlinux-github
2020-02-03 11:32 ` voidlinux-github
2020-02-03 15:31 ` voidlinux-github
2020-02-03 15:31 ` voidlinux-github
2020-02-03 15:38 ` voidlinux-github
2020-02-03 19:59 ` voidlinux-github
2020-02-03 20:01 ` voidlinux-github [this message]
2020-02-03 20:53 ` voidlinux-github
2020-02-03 20:57 ` [PR PATCH] [Updated] " voidlinux-github
2020-02-03 20:57 ` voidlinux-github
2020-02-03 21:01 ` voidlinux-github
2020-02-04  6:05 ` voidlinux-github
2020-02-06  3:33 ` [PR PATCH] [Closed]: " voidlinux-github
2020-02-06  7:52 ` voidlinux-github
2020-02-06 15:01 ` voidlinux-github
2020-02-06 17:20 ` voidlinux-github
2020-02-06 17:37 ` voidlinux-github
2020-02-06 18:08 ` voidlinux-github
2020-02-07  3:32 ` voidlinux-github
  -- strict thread matches above, loose matches on Subject: below --
2020-01-21 14:49 [PR PATCH] New package: volta-0.7.0 voidlinux-github
2020-01-28 10:09 ` [PR PATCH] [Updated] New package: volta-0.7.1 voidlinux-github
2020-01-28 19:03 ` voidlinux-github
2020-01-30  8:56 ` voidlinux-github
2020-01-31  8:38 ` voidlinux-github
2020-01-31  8:48 ` voidlinux-github
2020-01-31  9:25 ` voidlinux-github

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=20200203200104.P-o6ZvFU9OI52lB3-HxLl1UIqTF-c-JGaS_lyyziiuo@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).