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-1.3.ebuild
Date: Fri, 02 Nov 2012 19:28:58
Message-Id: 20121102192835.A65F321600@flycatcher.gentoo.org
1 fuzzyray 12/11/02 19:28:35
2
3 Modified: ChangeLog
4 Added: esearch-1.3.ebuild
5 Log:
6 Version bump to fix unicode / Python3 issues.
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x38AC371E)
9
10 Revision Changes Path
11 1.100 app-portage/esearch/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.100&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.100&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.99&r2=1.100
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v
20 retrieving revision 1.99
21 retrieving revision 1.100
22 diff -u -r1.99 -r1.100
23 --- ChangeLog 24 Aug 2012 20:59:07 -0000 1.99
24 +++ ChangeLog 2 Nov 2012 19:28:35 -0000 1.100
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-portage/esearch
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.99 2012/08/24 20:59:07 fuzzyray Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.100 2012/11/02 19:28:35 fuzzyray Exp $
30 +
31 +*esearch-1.3 (02 Nov 2012)
32 +
33 + 02 Nov 2012; Paul Varner <fuzzyray@g.o> +esearch-1.3.ebuild:
34 + Version bump to fix unicode / Python3 issues.
35
36 24 Aug 2012; Paul Varner <fuzzyray@g.o> esearch-9999.ebuild:
37 Remove ewarn for changed file locations. The older version of esearch was
38
39
40
41 1.1 app-portage/esearch/esearch-1.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: esearch-1.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3.ebuild,v 1.1 2012/11/02 19:28:35 fuzzyray Exp $
51
52 EAPI="3"
53 SUPPORT_PYTHON_ABIS="1"
54 RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
55 PYTHON_USE_WITH="readline"
56 PYTHON_NONVERSIONED_EXECUTABLES=(".*")
57
58 inherit base distutils python
59
60 DESCRIPTION="Replacement for 'emerge --search' with search-index"
61 HOMEPAGE="http://david-peter.de/esearch.html"
62 SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 IUSE="linguas_fr linguas_it"
67
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
69
70 DEPEND="sys-apps/portage"
71 RDEPEND="${DEPEND}"
72
73 # Populate the patches array for any patches for -rX releases
74 # It is an array of patch file names of the form:
75 # "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch
76 PATCHES=()
77
78 distutils_src_compile_pre_hook() {
79 echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
80 VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
81 || die "setup.py set_version failed"
82 }
83
84 src_prepare() {
85 base_src_prepare
86 distutils_src_prepare
87 }
88
89 src_compile() {
90 distutils_src_compile
91 }
92
93 src_install() {
94 python_convert_shebangs -r "" build-*/scripts-*
95 distutils_src_install
96 dodoc eupdatedb.cron || die "dodoc failed"
97
98 # Remove unused man pages according to the linguas flags
99 if ! use linguas_fr ; then
100 rm -rf "${ED}"/usr/share/man/fr
101 fi
102
103 if ! use linguas_it ; then
104 rm -rf "${ED}"/usr/share/man/it
105 fi
106 }