summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2023-01-17 10:34:11 -0600
committerJohn Helmert III <ajak@gentoo.org>2023-01-17 11:03:38 -0600
commit3bccfb9bb6911600af09dce3de6fed837e1eed7a (patch)
treee79ccc4e62f674c327d2b8cd6799af611bf280e4 /app-admin/gopass-jsonapi
parentapp-admin/gopass-hibp: add 1.15.3 (diff)
downloadgentoo-3bccfb9bb6911600af09dce3de6fed837e1eed7a.tar.gz
gentoo-3bccfb9bb6911600af09dce3de6fed837e1eed7a.tar.bz2
gentoo-3bccfb9bb6911600af09dce3de6fed837e1eed7a.zip
app-admin/gopass-jsonapi: add 1.15.3
Closes: https://bugs.gentoo.org/844271 Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-admin/gopass-jsonapi')
-rw-r--r--app-admin/gopass-jsonapi/Manifest2
-rw-r--r--app-admin/gopass-jsonapi/files/gopass-jsonapi-1.15.3-skip-test.patch13
-rw-r--r--app-admin/gopass-jsonapi/gopass-jsonapi-1.15.3.ebuild25
3 files changed, 40 insertions, 0 deletions
diff --git a/app-admin/gopass-jsonapi/Manifest b/app-admin/gopass-jsonapi/Manifest
index 6cf7dace1b4a..9dafa7c82a5f 100644
--- a/app-admin/gopass-jsonapi/Manifest
+++ b/app-admin/gopass-jsonapi/Manifest
@@ -204,6 +204,8 @@ DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191204190536-9bdfabe68543.mod 37 B
DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.zip 22295 BLAKE2B 310f892b8ce32810a1afef53335428d73bc23e749e52d00d7624afea2d10422b1b73507026daf23efd2384b81262c4c7862c22da23f6fb43c1b5f79a51170d5e SHA512 34044424d303f5032d4fd302bbf1aca390d45e876583cc223fddf0d685a6eec2bde0a4c1b82c4e471eb5be97fc8aea9b14695b07940d1ecde806636a85d12051
DIST gopass-jsonapi-1.11.1.tar.gz 30288 BLAKE2B 3607a8324ac604b1fde8e87fe06dadb366f00110b4d8f91e87444c3cad90b22cde7c994641a9c8740d79bada45f019285e01bd59e11b2e4fc60a5751b2c14269 SHA512 231585e4e6de51a7f98218d80cc805d71e4b61e5ec1eff7dfeab8ed2cc2a031ee21c58f2cf9e5e081dc24e7b90ffe7bd59ac7522fee1a3eeff187534c7eb0cc1
+DIST gopass-jsonapi-1.15.3-deps.tar.xz 37462824 BLAKE2B c6ec5937e0b029f70f378cc5ebda5b3dd70f426d67e0327f1851f68712fa6fc438841f2b1c6a403283a3a8a339c683970c10d11191d2ca282e0ebcc7c912876e SHA512 d41ff73f693283d33d9c0812ba929cf9fa2df51e616d653652cb2b2ffc8dd56f5b0a123cbdcf0659b579eb7dd6aa7895dd3a20b6df0420dc112dbdf48d5f5a72
+DIST gopass-jsonapi-1.15.3.tar.gz 32273 BLAKE2B ed0befce03a00336329f322a9d682a8237e72fc01816b1d3df35813cc360711f19051614fea8562e0fe47e1cd96607f4347cf57a08f5372b0a60896fa9fb88ed SHA512 90f1ddb51ed006e7504895f3b686192eec7571243601c3ab24e7525144c0ed338519a710258b5edd8d5b0b9b0bc8c6c319f37e3fb67ba1c938273be30b739989
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20180628173108-788fd7840127.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20190902080502-41f04d3bba15.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
diff --git a/app-admin/gopass-jsonapi/files/gopass-jsonapi-1.15.3-skip-test.patch b/app-admin/gopass-jsonapi/files/gopass-jsonapi-1.15.3-skip-test.patch
new file mode 100644
index 000000000000..94e6f612e167
--- /dev/null
+++ b/app-admin/gopass-jsonapi/files/gopass-jsonapi-1.15.3-skip-test.patch
@@ -0,0 +1,13 @@
+diff --git a/internal/jsonapi/api_test.go b/internal/jsonapi/api_test.go
+index 43205a3..724090e 100644
+--- a/internal/jsonapi/api_test.go
++++ b/internal/jsonapi/api_test.go
+@@ -271,6 +271,8 @@ func TestRespondMessageCreate(t *testing.T) {
+ }
+
+ func TestCopyToClipboard(t *testing.T) {
++ t.Skip("clipboard manipulation doesn't work from within Portage")
++
+ secrets := []storedSecret{
+ {[]string{"foo", "bar"}, newSec(t, "20\n")},
+ {[]string{"yamllogin"}, newSec(t, "thesecret\n---\nlogin: muh")},
diff --git a/app-admin/gopass-jsonapi/gopass-jsonapi-1.15.3.ebuild b/app-admin/gopass-jsonapi/gopass-jsonapi-1.15.3.ebuild
new file mode 100644
index 000000000000..a25268591243
--- /dev/null
+++ b/app-admin/gopass-jsonapi/gopass-jsonapi-1.15.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Gopass Browser Bindings"
+HOMEPAGE="https://github.com/gopasspw/gopass-jsonapi"
+SRC_URI="https://github.com/gopasspw/gopass-jsonapi/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="MIT Apache-2.0 BSD MPL-2.0 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND=">=dev-lang/go-1.16"
+RDEPEND="
+ dev-vcs/git
+ >=app-crypt/gnupg-2
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.15.3-skip-test.patch"
+)