Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/gnupg/
Date: Sat, 09 Oct 2021 22:45:32
Message-Id: 1633819520.737554e80b3e535551cb55c90d894c1163eedc78.monsieurp@gentoo
1 commit: 737554e80b3e535551cb55c90d894c1163eedc78
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 22:18:03 2021 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 22:45:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737554e8
7
8 app-vim/gnupg: version bump.
9
10 Closes: https://bugs.gentoo.org/709870
11 Closes: https://github.com/gentoo/gentoo/pull/22533
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 app-vim/gnupg/Manifest | 1 +
15 app-vim/gnupg/gnupg-2.7.1.ebuild | 32 ++++++++++++++++++++++++++++++++
16 2 files changed, 33 insertions(+)
17
18 diff --git a/app-vim/gnupg/Manifest b/app-vim/gnupg/Manifest
19 index 1ad76e421bc..2d883828ebc 100644
20 --- a/app-vim/gnupg/Manifest
21 +++ b/app-vim/gnupg/Manifest
22 @@ -1 +1,2 @@
23 DIST gnupg-2.6.tar.bz2 12074 BLAKE2B d06e4637627187e1d276c3b485e22b35f0cba78a491d34f0884da7ad320f12a3443e40a7c0e7e3f27be03984380eb966d593a283d768bb834a1fefed05656dd3 SHA512 1b7307954aad751006286edebb80767951b9bd9a8eff4c4a57fa6030cb442ceca12730a82c76a2181e1da19cc4cc8be21ccd4f8a21817aedf42785d8ff4b61ac
24 +DIST gnupg-2.7.1.zip 16131 BLAKE2B 82e29fd95adc5d6690409ec136086be2f0f358143de0bd6ad53c095d4cdcebe47f463f30cc5f494c441222380b5fac3291a9a6f7937f487ad28702ed3e175873 SHA512 07599e981e55d7eac7b06169e9ce30d33374b01680ad0317d5e4b51addce22b195dbd7a22a2adc381dfb89bd66aad9c377b43f36e6a5b32b7c577462b149e0a2
25
26 diff --git a/app-vim/gnupg/gnupg-2.7.1.ebuild b/app-vim/gnupg/gnupg-2.7.1.ebuild
27 new file mode 100644
28 index 00000000000..af2368e71d4
29 --- /dev/null
30 +++ b/app-vim/gnupg/gnupg-2.7.1.ebuild
31 @@ -0,0 +1,32 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit vim-plugin
38 +
39 +DESCRIPTION="transparent editing of gpg encrypted files"
40 +HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3645"
41 +SRC_URI="https://www.vim.org/scripts/download_script.php?src_id=27359 -> ${P}.zip"
42 +LICENSE="GPL-2"
43 +KEYWORDS="~amd64 ~arm ~x86"
44 +
45 +S="${WORKDIR}/vim-${P}"
46 +
47 +RDEPEND="app-crypt/gnupg"
48 +
49 +BDEPEND="app-arch/unzip"
50 +
51 +VIM_PLUGIN_HELPFILES="${PN}.txt"
52 +
53 +src_prepare() {
54 + default
55 +
56 + # There's good documentation included with the script, but it's not
57 + # in a helpfile. Since there's rather too much information to include
58 + # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc.
59 + sed -e '/" Section: Plugin header.\+$/,9999d' -e 's/^" \?//' \
60 + -e 's/\(Name:\s\+\)\([^.]\+\)\.vim/\1*\2.txt*/' \
61 + plugin/${PN}.vim \
62 + > doc/${PN}.txt || die
63 +}