Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396081 - new ebuild for app-vim/gnupg
Summary: new ebuild for app-vim/gnupg
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL: https://github.com/vim-scripts
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 13:50 UTC by Mikle Kolyada (RETIRED)
Modified: 2011-12-27 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for app-vim/gnupg (gnupg-2.3.ebuild,564 bytes, text/plain)
2011-12-26 13:51 UTC, Mikle Kolyada (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2011-12-26 13:50:20 UTC
I wrote new ebuild for app-vim/gnupg - Plugin for transparent editing of gpg encrypted files.

Reproducible: Always
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2011-12-26 13:51:01 UTC
Created attachment 297003 [details]
ebuild for app-vim/gnupg
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-27 01:32:08 UTC
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.
Comment 3 Tim Harder gentoo-dev 2011-12-27 05:04:14 UTC
Marking as invalid since app-vim/gnupg-2.3 has been in the tree for a while now.