diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-19 06:14:45 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-19 06:14:45 +0000 |
commit | afd5f03485a7a21c5cb77e0fbac349835f292e18 (patch) | |
tree | 7857bd630c7b917d0cf4940d44c9432173f864bf /app-vim/gist | |
parent | Version bump and remove old. (diff) | |
download | gentoo-2-afd5f03485a7a21c5cb77e0fbac349835f292e18.tar.gz gentoo-2-afd5f03485a7a21c5cb77e0fbac349835f292e18.tar.bz2 gentoo-2-afd5f03485a7a21c5cb77e0fbac349835f292e18.zip |
Version bump and remove old.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'app-vim/gist')
-rw-r--r-- | app-vim/gist/ChangeLog | 8 | ||||
-rw-r--r-- | app-vim/gist/gist-5.1.ebuild (renamed from app-vim/gist/gist-4.9.ebuild) | 17 |
2 files changed, 20 insertions, 5 deletions
diff --git a/app-vim/gist/ChangeLog b/app-vim/gist/ChangeLog index 52769be08b38..4f3d312fb6b1 100644 --- a/app-vim/gist/ChangeLog +++ b/app-vim/gist/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-vim/gist # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/gist/ChangeLog,v 1.2 2011/06/25 08:04:38 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/gist/ChangeLog,v 1.3 2011/09/19 06:14:45 radhermit Exp $ + +*gist-5.1 (19 Sep 2011) + + 19 Sep 2011; Tim Harder <radhermit@gentoo.org> -gist-4.9.ebuild, + +gist-5.1.ebuild: + Version bump and remove old. *gist-5.0 (25 Jun 2011) diff --git a/app-vim/gist/gist-4.9.ebuild b/app-vim/gist/gist-5.1.ebuild index 04e4c6d4b5ee..d84280edc82c 100644 --- a/app-vim/gist/gist-4.9.ebuild +++ b/app-vim/gist/gist-5.1.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/gist/gist-4.9.ebuild,v 1.1 2011/05/20 08:10:15 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/gist/gist-5.1.ebuild,v 1.1 2011/09/19 06:14:45 radhermit Exp $ EAPI=4 inherit vim-plugin +MY_PN="Gist" DESCRIPTION="vim plugin: interact with gists (gist.github.com)" HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2423" +SRC_URI="https://github.com/vim-scripts/${MY_PN}.vim/tarball/${PV} -> ${P}.tar.gz" LICENSE="BSD" KEYWORDS="~amd64 ~x86" IUSE="" @@ -15,7 +17,12 @@ IUSE="" RDEPEND="net-misc/curl dev-vcs/git" -VIM_PLUGIN_HELPFILES="gist.txt" +VIM_PLUGIN_HELPFILES="${PN}.txt" + +src_unpack() { + unpack ${A} + mv *-${MY_PN}.vim-* "${S}" +} src_prepare() { # There's good documentation included with the script, but it's not @@ -24,6 +31,8 @@ src_prepare() { mkdir "${S}"/doc sed -e '0,/"=\+$/d' -e '/" GetLatest.\+$/,9999d' -e 's/^" \?//' \ -e 's/\(File: \)\([^.]\+\)\.vim/\1*\2.txt*/' \ - plugin/gist.vim \ - > doc/gist.txt + plugin/${PN}.vim \ + > doc/${PN}.txt + + rm README || die } |