Summary: | new ebuild for app-vim/gnupg | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mikle Kolyada (RETIRED) <zlogene> |
Component: | New packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/vim-scripts | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild for app-vim/gnupg |
Description
Mikle Kolyada (RETIRED)
2011-12-26 13:50:20 UTC
Created attachment 297003 [details]
ebuild for app-vim/gnupg
gentoo-x86/app-vim/gnupg $ wget 'https://bugs.gentoo.org/attachment.cgi?id=297003' -O - | diff -u gnupg-2.3.ebuild - --2011-12-27 02:29:35-- https://bugs.gentoo.org/attachment.cgi?id=297003 Resolving bugs.gentoo.org (bugs.gentoo.org)... 94.100.119.170 Connecting to bugs.gentoo.org (bugs.gentoo.org)|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://396081.bugs.gentoo.org/attachment.cgi?id=297003 [following] --2011-12-27 02:29:35-- https://396081.bugs.gentoo.org/attachment.cgi?id=297003 Resolving 396081.bugs.gentoo.org (396081.bugs.gentoo.org)... 94.100.119.170 Connecting to 396081.bugs.gentoo.org (396081.bugs.gentoo.org)|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 564 [text/plain] Saving to: `STDOUT' 100%[==========================================================================================>] 564 --.-K/s in 0s 2011-12-27 02:29:35 (110 KB/s) - written to stdout [564/564] --- gnupg-2.3.ebuild 2011-11-29 08:17:22.000000000 +0100 +++ - 2011-12-27 02:29:35.812747923 +0100 @@ -1,29 +1,32 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/gnupg/gnupg-2.3.ebuild,v 1.1 2011/11/29 07:17:22 radhermit Exp $ +# $Header: $ EAPI=4 inherit vim-plugin -DESCRIPTION="vim plugin: transparent editing of gpg encrypted files" +MY_PN="gnupg.vim" + +DESCRIPTION="vim plugin: Plugin for transparent editing of gpg encrypted files" HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3645" -SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.bz2" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="" +SRC_URI="http://github.com/vim-scripts/${MY_PN}/tarball/${PV} -> ${P}.tar.gz" -RDEPEND="app-crypt/gnupg" +LICENSE="vim" +KEYWORDS="~X86 ~amd64" +IUSE="" VIM_PLUGIN_HELPFILES="${PN}.txt" -src_prepare() { - # There's good documentation included with the script, but it's not - # in a helpfile. Since there's rather too much information to include - # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc. - mkdir doc - sed -e '/" Section: Plugin header.\+$/,9999d' -e 's/^" \?//' \ - -e 's/\(Name:\s\+\)\([^.]\+\)\.vim/\1*\2.txt*/' \ - plugin/${PN}.vim \ - > doc/${PN}.txt +src_unpack() { + +unpack ${A} +mv *-${MY_PN}-* "${S}" + +} + +src_preparce() { + +rm README || die + } Apart from the obvious errors, what's new? FWIW, version 2.3 has been in the tree since November 29th. Marking as invalid since app-vim/gnupg-2.3 has been in the tree for a while now. |