diff options
Diffstat (limited to 'app-admin/gopass')
-rw-r--r-- | app-admin/gopass/Manifest | 3 | ||||
-rw-r--r-- | app-admin/gopass/files/gopass-1.8.4-xc-tests.patch | 28 | ||||
-rw-r--r-- | app-admin/gopass/gopass-1.8.4.ebuild | 45 |
3 files changed, 76 insertions, 0 deletions
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest index 9e05eede2059..4dfd1877d30f 100644 --- a/app-admin/gopass/Manifest +++ b/app-admin/gopass/Manifest @@ -1,3 +1,6 @@ +AUX gopass-1.8.4-xc-tests.patch 923 BLAKE2B 67c00d9d0d983dbb0e3f8a7e78c895dc645d1ce0e4eed2e726871d5fa35086cba10872452b76fa0ffb65ff89f3ad25c9f726141221d1dd3f11086690697da0a1 SHA512 a80ce382b9e35af43a7ddeaa7a863e73d7960e37337b66d558dfc1840a7b113767eacbb6225bbbc2f3dd581b33c0f4a9a03105a08340a9abed4768baa4c32648 DIST gopass-1.8.3.tar.gz 6374004 BLAKE2B 1f3b66e8a631d94fbbb33347009a4614f180d7bd30f3d73e98f476fc81a3f5f0aef15c80705b1b4e871f333a3366cc051eb41785082bb90420a5d34f38e35e16 SHA512 bcf8e4cdb37355ae43d0d6d21e3248d3547fb3f1892bb2e8d5d8ddc47a784f75f4f404429733ac824bd66d719fe63fef7a1d58facde65a6d1820ecf14e7bd77e +DIST gopass-1.8.4.tar.gz 6436185 BLAKE2B ecb086717b09a4a5ea24bc4378fd54369628b0319bfe222b2ca11583eb304c84c05513b1d2ca97089152f41903d5dae24f3aa4acc5e2f6c7e948a8d918308d66 SHA512 53440ff95589f21e1ea1d8a03e3565ad6a3b35dd747ecd62f6496fbe9ba51e94e3081142dfcc094a5986828fcf4724280ee0fdebd9cdc05f0d8720aa4f1c89ae EBUILD gopass-1.8.3.ebuild 1041 BLAKE2B 4fa9681eeb9b8c0b9be470cfc8fe3b3f2ef806e4b64238b412d67deb72bfff4cf9cc0bd4977028287ff6e5ce5fac26874925da6e181068c4c69555b3a7c4bfbc SHA512 1bbff9001cad0448f310a5db019117b13edc2c81a66025b10a0e491fc9f6d6f2bcc1837e5ffeae46705911aa7d8d4ba288efa92888fbfd3785805195733a7ed5 +EBUILD gopass-1.8.4.ebuild 1088 BLAKE2B bb31d0279bc124608f176d38e23ab630b85d5bf5ad9c53466e4e6f172576f64ba06721828af9dd9d8dde6570d395708184b8cc79ccff6a2c059236b2d03794ca SHA512 554f69abb959ec7d104bdf76bf28cc7bb8a0c269e601328926cea2af49f384ff366a228daa3f60a27ad53b481d359aeca9757786837e27ac959639f94fac3338 MISC metadata.xml 326 BLAKE2B fbff56ecc7a4bd866c1220fc218f9233ed0660b04cde03047df5db992557bf5d20f518815dc15eba2a22f6b2b8cc4eb5ed1c0f2cc2753e18ce4cafd59b768637 SHA512 2d43a58c7997bd539d9aa5659fe7cfcd947c97c49d31dea4ee1230b06b0ae2c8cef4fb228b889968f65c36693d5befa76828da3644bea0852ead709bbf7d760c 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 000000000000..5780f17bf347 --- /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 000000000000..1733d9991751 --- /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} +} |