/[gentoo-x86]/app-portage/esearch/esearch-1.2.ebuild
Gentoo

Contents of /app-portage/esearch/esearch-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 4 21:20:28 2012 UTC (2 years, 6 months ago) by fuzzyray
Branch: MAIN
Version bump to add --exclude option.

(Portage version: 2.1.10.64/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="3"
6 SUPPORT_PYTHON_ABIS="1"
7 RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
8 PYTHON_USE_WITH="readline"
9 PYTHON_NONVERSIONED_EXECUTABLES=(".*")
10
11 inherit base distutils python
12
13 DESCRIPTION="Replacement for 'emerge --search' with search-index"
14 HOMEPAGE="http://david-peter.de/esearch.html"
15 SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 IUSE="linguas_fr linguas_it"
20
21 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"
22
23 DEPEND="sys-apps/portage"
24 RDEPEND="${DEPEND}"
25
26 # Populate the patches array for any patches for -rX releases
27 # It is an array of patch file names of the form:
28 # "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch
29 PATCHES=()
30
31 distutils_src_compile_pre_hook() {
32 echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
33 VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
34 || die "setup.py set_version failed"
35 }
36
37 src_prepare() {
38 base_src_prepare
39 distutils_src_prepare
40 }
41
42 src_compile() {
43 distutils_src_compile
44 }
45
46 src_install() {
47 python_convert_shebangs -r "" build-*/scripts-*
48 distutils_src_install
49 dodoc eupdatedb.cron || die "dodoc failed"
50
51 # Remove unused man pages according to the linguas flags
52 if ! use linguas_fr ; then
53 rm -rf "${ED}"/usr/share/man/fr
54 fi
55
56 if ! use linguas_it ; then
57 rm -rf "${ED}"/usr/share/man/it
58 fi
59 }

  ViewVC Help
Powered by ViewVC 1.1.20