summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-02-05 12:32:00 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-02-05 12:32:00 +0000
commitab76fff550fe39c1c79cbabd4a3b88209b1eaa03 (patch)
tree24130237ace7d427d7848954367b4ce019f6f3bf /app-portage
parentStable on ppc64 (diff)
downloadgentoo-2-ab76fff550fe39c1c79cbabd4a3b88209b1eaa03.tar.gz
gentoo-2-ab76fff550fe39c1c79cbabd4a3b88209b1eaa03.tar.bz2
gentoo-2-ab76fff550fe39c1c79cbabd4a3b88209b1eaa03.zip
version bump which incorporates all fixes already done here and uses distfiles for installation
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/elogv/ChangeLog12
-rw-r--r--app-portage/elogv/elogv-0.6.2.ebuild (renamed from app-portage/elogv/elogv-0.6.1-r3.ebuild)23
-rw-r--r--app-portage/elogv/files/elogv-0.6.1-refresh_screen.patch32
-rw-r--r--app-portage/elogv/files/elogv-0.6.1-segfault_delete.patch23
-rw-r--r--app-portage/elogv/files/elogv-0.6.1-vi_movement.patch54
5 files changed, 16 insertions, 128 deletions
diff --git a/app-portage/elogv/ChangeLog b/app-portage/elogv/ChangeLog
index 67094ba4d1c9..caa8394649e7 100644
--- a/app-portage/elogv/ChangeLog
+++ b/app-portage/elogv/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-portage/elogv
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/ChangeLog,v 1.28 2008/02/05 08:18:07 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/ChangeLog,v 1.29 2008/02/05 12:31:59 opfer Exp $
+
+*elogv-0.6.2 (05 Feb 2008)
+
+ 05 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ -files/elogv-0.6.1-refresh_screen.patch,
+ -files/elogv-0.6.1-segfault_delete.patch,
+ -files/elogv-0.6.1-vi_movement.patch, -elogv-0.6.1-r3.ebuild,
+ +elogv-0.6.2.ebuild:
+ version bump which incorporates all fixes already done here and uses
+ distfiles for installation
*elogv-0.6.1-r3 (05 Feb 2008)
diff --git a/app-portage/elogv/elogv-0.6.1-r3.ebuild b/app-portage/elogv/elogv-0.6.2.ebuild
index cc79dbc806aa..76c28b5b4071 100644
--- a/app-portage/elogv/elogv-0.6.1-r3.ebuild
+++ b/app-portage/elogv/elogv-0.6.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.6.1-r3.ebuild,v 1.1 2008/02/05 08:18:07 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.6.2.ebuild,v 1.1 2008/02/05 12:31:59 opfer Exp $
-inherit eutils
+inherit distutils eutils
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
HOMEPAGE="http://gechi-overlay.sourceforge.net/?page=elogv"
@@ -13,6 +13,7 @@ KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
+# remove this after the release of 2008.0
RDEPEND=">=sys-apps/portage-2.1"
pkg_setup() {
@@ -26,27 +27,13 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # on user request, allow up/down movement with Vi bindings
- epatch "${FILESDIR}/${P}-vi_movement.patch"
- # bug 195429
- epatch "${FILESDIR}/${P}-segfault_delete.patch"
- # bug 208524
- epatch "${FILESDIR}/${P}-refresh_screen.patch"
-}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
- newbin elogv.py elogv || die "newbin failed"
- doman elogv.1
- dodoc README AUTHORS ChangeLog ChangeLog.old
- # This will be used as soon as the Makefile is ready for BSD
- # see bug 192514
-# emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed"
+ distutils_src_install
+ dodoc README ChangeLog ChangeLog.old
}
pkg_postinst() {
diff --git a/app-portage/elogv/files/elogv-0.6.1-refresh_screen.patch b/app-portage/elogv/files/elogv-0.6.1-refresh_screen.patch
deleted file mode 100644
index 177fcd5274cd..000000000000
--- a/app-portage/elogv/files/elogv-0.6.1-refresh_screen.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- elogv.py.orig 2008-02-05 09:00:11.000000000 +0100
-+++ elogv.py 2008-02-05 09:11:10.000000000 +0100
-@@ -129,12 +129,21 @@
-
- elif c == ord("a"):
- self.sort_method[0] = "alphabetical"
-+ self.fill_file_pad()
-+ self.refresh_file_pad()
-+ self.show_log()
-
- elif c == ord("t"):
- self.sort_method[0] = "date"
-+ self.fill_file_pad()
-+ self.refresh_file_pad()
-+ self.show_log()
-
- elif c == ord("r"):
- self.sort_method[1] = not self.sort_method[1]
-+ self.fill_file_pad()
-+ self.refresh_file_pad()
-+ self.show_log()
-
- elif c == ord(" "):
- # Now is used only for scrolling the text
-@@ -170,6 +179,7 @@
- if n:
- self.remove_file(n)
- self.file_pad.clear()
-+ self.refresh_file_pad()
- self.fill_file_pad()
- self.refresh_file_pad()
- self.show_log()
diff --git a/app-portage/elogv/files/elogv-0.6.1-segfault_delete.patch b/app-portage/elogv/files/elogv-0.6.1-segfault_delete.patch
deleted file mode 100644
index 6299dff91f81..000000000000
--- a/app-portage/elogv/files/elogv-0.6.1-segfault_delete.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- elogv.py.orig 2008-02-05 08:59:43.000000000 +0100
-+++ elogv.py 2008-02-05 08:59:47.000000000 +0100
-@@ -172,6 +172,7 @@
- self.file_pad.clear()
- self.fill_file_pad()
- self.refresh_file_pad()
-+ self.show_log()
-
- elif c == ord("/"):
- word = ""
-@@ -274,6 +275,12 @@
- # so this will prevent a crash
- if self.usel >= len(self.file_list):
- self.usel = len(self.file_list)-1
-+ # We also have to update self.pposy
-+ if self.pposy > self.usel:
-+ self.pposy = self.usel - 10
-+ if self.pposy < 0:
-+ self.pposy = 0
-+
-
- # Sort the list
- if self.sort_method[0] == "alphabetical":
diff --git a/app-portage/elogv/files/elogv-0.6.1-vi_movement.patch b/app-portage/elogv/files/elogv-0.6.1-vi_movement.patch
deleted file mode 100644
index 003036c56456..000000000000
--- a/app-portage/elogv/files/elogv-0.6.1-vi_movement.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- elogv.py.orig 2008-02-05 08:51:24.000000000 +0100
-+++ elogv.py 2008-02-05 08:53:08.000000000 +0100
-@@ -33,10 +33,10 @@
- Elogv is a portage elog viewer based on curses and python,
- you can use these keys to control the behavior of the program:
-
-- - Down arrow -> Scroll the list of files down by 1 unit
-- - Up arrow -> opposite of Down arrow
-- - Pag Down -> Scroll the list down by 10 unit
-- - Pag Up -> opposite of Pag Down
-+ - Down arrow or j -> Scroll the list of files down by 1 unit
-+ - Up arrow or k -> opposite of Down arrow
-+ - PageDown -> Scroll the list down by 10 unit
-+ - PageUp -> opposite of Pag Down
- - End -> Go to the last file of the list
- - Home -> Go to the first file of the list
- - t -> order the list of files by date, most recent on top
-@@ -108,10 +108,10 @@
- sys.exit()
-
- ## Scrolling keys ##
-- elif c == curses.KEY_DOWN:
-+ elif c == curses.KEY_DOWN or c == ord("j"):
- self.change_usel(1)
-
-- elif c == curses.KEY_UP:
-+ elif c == curses.KEY_UP or c == ord("k"):
- self.change_usel(-1)
-
- elif c == curses.KEY_NPAGE:
-
---- elogv.1.orig 2008-02-05 09:13:59.000000000 +0100
-+++ elogv.1 2008-02-05 09:14:37.000000000 +0100
-@@ -6,16 +6,16 @@
- .SH USAGE
- You can use these keys to control the behavior of the program:
- .TP
--.B "Down arrow"
-+.B "Down arrow or j"
- Scroll the list of files down by 1 unit
- .TP
--.B "Up arrow"
-+.B "Up arrow or k"
- opposite of Down arrow
- .TP
--.B "Pag Down"
-+.B "PageDown"
- Scroll the list down by 10 unit
- .TP
--.B "Pag Up"
-+.B "PageUp"
- opposite of Pag Down
- .TP
- .B End