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