commit:     5cfbececeb14d185125dd9aab713cadf459172f8
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 21:19:22 2024 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 21:28:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cfbecec

app-admin/gopass: add 1.15.14

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 app-admin/gopass/Manifest              |  2 ++
 app-admin/gopass/gopass-1.15.14.ebuild | 45 ++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index e65f6f8ffda2..d7b06919c0e0 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -2,3 +2,5 @@ DIST gopass-1.15.11-deps.tar.xz 288006888 BLAKE2B 
527cef72eb493425111c6fd0a872bb
 DIST gopass-1.15.11.tar.gz 2319860 BLAKE2B 
923be5effa8ca5a77a12bcd2692d2a07b68c6d068a579022e359a5f6e485813c37dc7e34acfeb1f0deec4e1075a54dd75b408ef0e07713cf7ffc2cfde2e9ac38
 SHA512 
ec3231f6cf903ba3a70f4721f04613ddf0e28e820c98a708c861ae68c993162a1346f62332132c00abd218f82f0ed0da0f8b86297427e813b0688a8eee5128be
 DIST gopass-1.15.13-deps.tar.xz 284979668 BLAKE2B 
12e42b897dfc613de810cc4c42e2318b5cad013e14b007daba454b800092f6e408e5ca10731b14d895673cd9426b322d94615a45954e3a0871b0b46533b6f6c9
 SHA512 
5e4a2f564d0140d77cdaf52a3784d75984db8b68152bf7137d3fbd727238e9509d56d280ceb1106fa47198bb8bc52980637652c10bd95524063bf1e3e962fdfb
 DIST gopass-1.15.13.tar.gz 2328529 BLAKE2B 
276ea675c7978ac1627cb313b595d9f252cc3aae29245eca758aed3b6632ddcdfa0da93cdc06f4c0767a2d5f58ded41fcccfac774b5001351bb4b743e976c595
 SHA512 
b7fcc7814ccad0cf0e3116eac848df080338e313ddcbb0cc8413cb353a1596b250aed427c97e791326e04c6c4241dbb529e112398218f2a905fc0fb48bc49963
+DIST gopass-1.15.14-deps.tar.xz 129535712 BLAKE2B 
efb790782a25d6f22b3b5f8b747bd72ea8f487bac18e7da746ebefd159a1ae6e36930d6bfe9b000c5d4096d9bbf277f9e263e922a57094d0d337bdd3add65a97
 SHA512 
88c27326563a3b3d35e05a31fde3d563a6d5c3ee67eb36580b4723c3b2646cc2662b2c8c77e1e2db9edaa8c25e73fa390fc08d98524a66f6b99a0fa8a84303b3
+DIST gopass-1.15.14.tar.gz 2328921 BLAKE2B 
76d58f43cd0d95743a3160ec1eae372a4e26e58483a4685b41fa8b8845a1b2adbb3f0be61e23523558eb96a9d10af4b43f5610ba7f44cb5736b944d97a4f7b6e
 SHA512 
874ea69816df46bc03113cbc3f1fae5b9c08a9c0b09a566097163f2f03f97e5d256351432f0f0eb1f89c5643b5866b4800e986d344f6fe06c5c3d4b3721c0521

diff --git a/app-admin/gopass/gopass-1.15.14.ebuild 
b/app-admin/gopass/gopass-1.15.14.ebuild
new file mode 100644
index 000000000000..bac64dde98cc
--- /dev/null
+++ b/app-admin/gopass/gopass-1.15.14.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module optfeature
+
+DESCRIPTION="a simple but powerful password manager for the terminal"
+HOMEPAGE="https://www.gopass.pw/";
+SRC_URI="https://github.com/gopasspw/gopass/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" 
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 ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND=">=dev-lang/go-1.18"
+RDEPEND="
+       dev-vcs/git
+       >=app-crypt/gnupg-2
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.15.3-skip-tests.patch"
+)
+
+src_test() {
+       # 
https://github.com/gopasspw/gopass/blob/v1.15.3/.github/workflows/build.yml#L38
+       git config --global user.name nobody || die
+       git config --global user.email foo....@example.org || die
+
+       default
+}
+
+src_install() {
+       emake install DESTDIR="${ED}/usr"
+       einstalldocs
+}
+
+pkg_postinst() {
+       optfeature "browser integration" app-admin/gopass-jsonapi
+       optfeature "git credentials helper" app-admin/git-credential-gopass
+       optfeature "haveibeenpwnd.com integration" app-admin/gopass-hibp
+       optfeature "summon secrets helper" app-admin/gopass-summon-provider
+}

Reply via email to