Gentoo Archives: gentoo-commits

From: "Paul Varner (fuzzyray)" <fuzzyray@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/esearch: ChangeLog esearch-0.7.1-r6.ebuild
Date: Wed, 31 Dec 2008 05:11:22
Message-Id: E1LHtMV-0003Oq-Kk@stork.gentoo.org
1 fuzzyray 08/12/31 05:11:19
2
3 Modified: ChangeLog
4 Added: esearch-0.7.1-r6.ebuild
5 Log:
6 Fix deprecation warning when using --verbose and fix traceback when using --ebuild. (Bugs 231223 and 253216)
7 (Portage version: 2.2_rc20/cvs/Linux 2.6.23-gentoo-r8 i686)
8
9 Revision Changes Path
10 1.54 app-portage/esearch/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 31 Dec 2008 03:23:15 -0000 1.53
23 +++ ChangeLog 31 Dec 2008 05:11:19 -0000 1.54
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-portage/esearch
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.53 2008/12/31 03:23:15 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.54 2008/12/31 05:11:19 fuzzyray Exp $
29 +
30 +*esearch-0.7.1-r6 (31 Dec 2008)
31 +
32 + 31 Dec 2008; Paul Varner <fuzzyray@g.o>
33 + +files/231223-fix-deprecated.patch, +files/253216-fix-ebuild-option.patch,
34 + +esearch-0.7.1-r6.ebuild:
35 + Fix deprecation warning when using --verbose and fix traceback when using
36 + --ebuild. (Bugs 231223 and 253216)
37
38 31 Dec 2008; Jeremy Olexa <darkside@g.o> esearch-0.7.1.ebuild:
39 reverted amd64 kw due to bug 253172
40
41
42
43 1.1 app-portage/esearch/esearch-0.7.1-r6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/esearch/esearch-0.7.1-r6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/esearch/esearch-0.7.1-r6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: esearch-0.7.1-r6.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-0.7.1-r6.ebuild,v 1.1 2008/12/31 05:11:19 fuzzyray Exp $
53
54 inherit eutils
55
56 DESCRIPTION="Replacement for 'emerge --search' with search-index"
57 HOMEPAGE="http://david-peter.de/esearch.html"
58 SRC_URI="http://david-peter.de/downloads/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="linguas_it"
64
65 RDEPEND=">=dev-lang/python-2.2
66 >=sys-apps/portage-2.0.50"
67
68 pkg_setup() {
69 if ! built_with_use dev-lang/python readline ; then
70 eerror "Python has to be build with 'readline' support!"
71 eerror "To do so: USE=\"readline\" emerge python"
72 eerror "Or, add \"readline\" to your USE string in"
73 eerror "/etc/make.conf"
74 die "Works only with python readline support"
75 fi
76 }
77
78 src_compile() {
79 epatch "${FILESDIR}/97462-esearch-metadata.patch" || die "Failed to patch sources!"
80 epatch "${FILESDIR}/97969-ignore-missing-ebuilds.patch" || die "Failed to patch sources!"
81 epatch "${FILESDIR}/120817-unset-emergedefaultopts.patch" || die "Failed to patch sources!"
82 epatch "${FILESDIR}/132548-multiple-overlay.patch" || die "Failed to patch sources!"
83 epatch "${FILESDIR}/231223-fix-deprecated.patch" || die "Failed to patch sources!"
84 epatch "${FILESDIR}/253216-fix-ebuild-option.patch" || die "Failed to patch sources!"
85 einfo "Fixing deprecated emerge syntax."
86 sed -i -e 's:/usr/bin/emerge sync:/usr/bin/emerge --sync:g' esync.py
87 }
88
89 src_install() {
90 dodir /usr/bin/ /usr/sbin/ || die "dodir failed"
91
92 exeinto /usr/lib/esearch
93 doexe eupdatedb.py esearch.py esync.py common.py || die "doexe failed"
94
95 dosym /usr/lib/esearch/esearch.py /usr/bin/esearch || die "dosym failed"
96 dosym /usr/lib/esearch/eupdatedb.py /usr/sbin/eupdatedb || die "dosym failed"
97 dosym /usr/lib/esearch/esync.py /usr/sbin/esync || die "dosym failed"
98
99 doman en/{esearch,eupdatedb,esync}.1 || die "doman failed"
100 dodoc ChangeLog "${FILESDIR}/eupdatedb.cron" || die "dodoc failed"
101
102 if use linguas_it ; then
103 insinto /usr/share/man/it/man1
104 doins it/{esearch,eupdatedb,esync}.1 || die "doins failed"
105 fi
106 }