public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/gopass/files/, app-admin/gopass/
Date: Tue,  5 Feb 2019 00:20:01 +0000 (UTC)	[thread overview]
Message-ID: <1549325855.365e33ca24998415fd62bea5db87337d8cb7c69f.radhermit@gentoo> (raw)

commit:     365e33ca24998415fd62bea5db87337d8cb7c69f
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 31 19:49:19 2019 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Feb  5 00:17:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365e33ca

app-admin/gopass: version bump to 1.8.4

Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>

 app-admin/gopass/Manifest                          |  1 +
 app-admin/gopass/files/gopass-1.8.4-xc-tests.patch | 28 ++++++++++++++
 app-admin/gopass/gopass-1.8.4.ebuild               | 45 ++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index f87ee99549b..38d3a0f6d20 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -1 +1,2 @@
 DIST gopass-1.8.3.tar.gz 6374004 BLAKE2B 1f3b66e8a631d94fbbb33347009a4614f180d7bd30f3d73e98f476fc81a3f5f0aef15c80705b1b4e871f333a3366cc051eb41785082bb90420a5d34f38e35e16 SHA512 bcf8e4cdb37355ae43d0d6d21e3248d3547fb3f1892bb2e8d5d8ddc47a784f75f4f404429733ac824bd66d719fe63fef7a1d58facde65a6d1820ecf14e7bd77e
+DIST gopass-1.8.4.tar.gz 6437993 BLAKE2B f01ded172ce4d39208325628e6cf9d001e6f97c23b604fd82b55c00996e3cea5f2597bab624aa333f88ac79f53ed34bc72c6b998fbded4346b36bf4131390693 SHA512 9884ddc9ec570261d4de2b873228092e0e503f47ffa62e034959a58aa475f16427944c8fe66f17f48e2f9f23ca6ea900950996b4ad7ba1e5b42dde31701839a9

diff --git a/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch b/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch
new file mode 100644
index 00000000000..5780f17bf34
--- /dev/null
+++ b/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch
@@ -0,0 +1,28 @@
+Skip xc cli tests, 1.8.3 failed when run with no arguments for these commands
+but 1.8.4 doesn't.
+
+--- gopass-1.8.4/src/github.com/gopasspw/gopass/commands_test.go
++++ gopass-1.8.4/src/github.com/gopasspw/gopass/commands_test.go
+@@ -55,14 +55,14 @@
+ 	".templates.remove":      {},
+ 	".templates.show":        {},
+ 	".unclip":                {},
+-	".xc.decrypt":            {},
+-	".xc.encrypt":            {},
+-	".xc.export":             {},
+-	".xc.export-private-key": {},
+-	".xc.generate":           {},
+-	".xc.import":             {},
+-	".xc.import-private-key": {},
+-	".xc.remove":             {},
++	// ".xc.decrypt":            {},
++	// ".xc.encrypt":            {},
++	// ".xc.export":             {},
++	// ".xc.export-private-key": {},
++	// ".xc.generate":           {},
++	// ".xc.import":             {},
++	// ".xc.import-private-key": {},
++	// ".xc.remove":             {},
+ }
+ 
+ func TestGetCommands(t *testing.T) {

diff --git a/app-admin/gopass/gopass-1.8.4.ebuild b/app-admin/gopass/gopass-1.8.4.ebuild
new file mode 100644
index 00000000000..1733d999175
--- /dev/null
+++ b/app-admin/gopass/gopass-1.8.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/gopasspw/gopass"
+
+inherit golang-vcs-snapshot golang-build bash-completion-r1
+
+DESCRIPTION="a simple but powerful password manager for the terminal"
+HOMEPAGE="https://www.gopass.pw/"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.11"
+RDEPEND="
+	dev-vcs/git
+	>=app-crypt/gnupg-2
+"
+
+PATCHES=( "${FILESDIR}"/${P}-xc-tests.patch )
+
+src_install() {
+	dobin gopass
+
+	local DOCS=( src/${EGO_PN}/{CHANGELOG,CONTRIBUTING}.md src/${EGO_PN}/docs/*.md )
+	einstalldocs
+
+	# install fish completion
+	./gopass completion fish > "${T}"/${PN}.fish || die
+	insinto /usr/share/fish/vendor_completions.d
+	doins "${T}"/${PN}.fish
+
+	# install bash completion
+	./gopass completion bash > "${T}"/${PN} || die
+	dobashcomp "${T}"/${PN}
+
+	# install zsh completion
+	./gopass completion zsh > "${T}"/${PN}.zsh || die
+	insinto /usr/share/zsh/site-functions
+	newins "${T}"/${PN}.zsh _${PN}
+}


             reply	other threads:[~2019-02-05  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05  0:20 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-17 17:10 [gentoo-commits] repo/gentoo:master commit in: app-admin/gopass/files/, app-admin/gopass/ John Helmert III

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=1549325855.365e33ca24998415fd62bea5db87337d8cb7c69f.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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