Github messages for voidlinux
 help / color / mirror / Atom feed
From: dshynkev <dshynkev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gopass: update to 1.11.0.
Date: Thu, 11 Feb 2021 21:30:06 +0100	[thread overview]
Message-ID: <20210211203006.b3AgiQFzqfkUpKmsuf8CEk2xHRkHBvz5JcFlifhM5gM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28202@inbox.vuxu.org>

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

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

https://github.com/dshynkev/void-packages master
https://github.com/void-linux/void-packages/pull/28202

gopass: update to 1.11.0.
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From f87b994a0d32bfa84b687fb6b9b555415eae8090 Mon Sep 17 00:00:00 2001
From: Dmytro Shynkevych <dm.shynk@gmail.com>
Date: Sun, 24 Jan 2021 16:50:50 -0500
Subject: [PATCH] gopass: update to 1.12.0.

---
 srcpkgs/gopass/template | 31 +++++++++++--------------------
 1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/srcpkgs/gopass/template b/srcpkgs/gopass/template
index 2f6f5c860fa..2b3964146ab 100644
--- a/srcpkgs/gopass/template
+++ b/srcpkgs/gopass/template
@@ -1,8 +1,9 @@
 # Template file for 'gopass'
 pkgname=gopass
-version=1.10.1
-revision=2
+version=1.12.0
+revision=1
 build_style=go
+build_helper=qemu
 go_import_path=github.com/gopasspw/gopass
 go_package="${go_import_path} ${go_import_path}/cmd/..."
 makedepends="gnupg2"
@@ -13,29 +14,19 @@ license="MIT"
 homepage="https://www.gopass.pw/"
 changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
 distfiles="https://github.com/gopasspw/gopass/archive/v${version}.tar.gz"
-checksum=f4bfe03bc26701baf411795faafe774aa6025bc6050ab3ebf7e931e5ff821961
-
-if [ "$CROSS_BUILD" ]; then
-	# Depend on system gopass to generate completions
-	hostmakedepends+=" gopass"
-fi
+checksum=73b7c5c8367e664d85871fba88f4fa806ef0fb75047c767a72b8516dea6f64b3
 
 post_build() {
-	local GOPASS=${GOPATH}/bin/gopass
-	local completions=(zsh bash fish)
-
-	if [ "$CROSS_BUILD" ]; then
-		GOPASS=/usr/bin/gopass
-	fi
-
-	for completion in "${completions[@]}"; do
-		$GOPASS completion $completion > ${completion}.completion;
+	gopass=$(find $GOPATH/bin -name gopass)
+	for shell in bash fish zsh; do
+		vtargetrun $gopass completion $shell > completion.$shell
 	done
 }
 
 post_install() {
-	install -Dm0755 zsh.completion ${DESTDIR}/usr/share/zsh/site-functions/_gopass
-	install -Dm0755 bash.completion ${DESTDIR}/usr/share/bash-completion/completions/gopass
-	install -Dm0755 fish.completion ${DESTDIR}/usr/share/fish/vendor_completions.d/gopass.fish
 	vlicense LICENSE
+
+	for shell in bash fish zsh; do
+		vcompletion completion.$shell $shell
+	done
 }

  parent reply	other threads:[~2021-02-11 20:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 21:55 [PR PATCH] " dshynkev
2021-01-24 21:59 ` dshynkev
2021-01-24 22:00 ` dshynkev
2021-01-24 23:02 ` ericonr
2021-01-25  0:27 ` dshynkev
2021-01-25  0:27 ` dshynkev
2021-01-25  0:28 ` [PR PATCH] [Updated] " dshynkev
2021-01-25  1:33 ` ericonr
2021-01-25 12:54 ` ahesford
2021-01-25 13:29 ` ericonr
2021-01-25 23:26 ` [PR REVIEW] " ericonr
2021-01-27  7:46 ` [PR PATCH] [Updated] " dshynkev
2021-01-27  7:48 ` [PR REVIEW] " dshynkev
2021-01-27 15:02 ` [PR PATCH] [Updated] " dshynkev
2021-01-27 15:08 ` ahesford
2021-01-27 15:08 ` ahesford
2021-01-27 15:20 ` [PR PATCH] [Updated] " dshynkev
2021-01-27 15:22 ` dshynkev
2021-02-02 18:47 ` ahesford
2021-02-11 20:30 ` dshynkev [this message]
2021-02-11 20:31 ` gopass: update to 1.12.0 dshynkev
2021-02-11 21:23 ` [PR PATCH] [Merged]: " ericonr

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=20210211203006.b3AgiQFzqfkUpKmsuf8CEk2xHRkHBvz5JcFlifhM5gM@z \
    --to=dshynkev@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).