summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-23 16:42:34 +0000
committerZac Medico <zmedico@gentoo.org>2011-02-23 16:42:34 +0000
commit927b9355afc76ce92416fd6a7c7e74ecd6cf8dab (patch)
tree14334c40b6723bba9c29ca69ebc773b090fe79f9 /app-portage
parentStable for HPPA (bug #354237). (diff)
downloadgentoo-2-927b9355afc76ce92416fd6a7c7e74ecd6cf8dab.tar.gz
gentoo-2-927b9355afc76ce92416fd6a7c7e74ecd6cf8dab.tar.bz2
gentoo-2-927b9355afc76ce92416fd6a7c7e74ecd6cf8dab.zip
23 Feb 2011; Zac Medico <zmedico@gentoo.org> +esearch-0.7.1-r8.ebuild:
Bug #356177 - Specify python2 in shebangs. (Portage version: 2.2.0_alpha25/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/esearch/ChangeLog9
-rw-r--r--app-portage/esearch/esearch-0.7.1-r8.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/app-portage/esearch/ChangeLog b/app-portage/esearch/ChangeLog
index dc8e9c0d3a91..a1b99339db43 100644
--- a/app-portage/esearch/ChangeLog
+++ b/app-portage/esearch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-portage/esearch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.60 2009/06/24 16:08:58 fuzzyray Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.61 2011/02/23 16:42:34 zmedico Exp $
+
+*esearch-0.7.1-r8 (23 Feb 2011)
+
+ 23 Feb 2011; Zac Medico <zmedico@gentoo.org> +esearch-0.7.1-r8.ebuild:
+ Bug #356177 - Specify python2 in shebangs.
07 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> esearch-0.7.1.ebuild,
esearch-0.7.1-r7.ebuild:
diff --git a/app-portage/esearch/esearch-0.7.1-r8.ebuild b/app-portage/esearch/esearch-0.7.1-r8.ebuild
new file mode 100644
index 000000000000..887072074d13
--- /dev/null
+++ b/app-portage/esearch/esearch-0.7.1-r8.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-0.7.1-r8.ebuild,v 1.1 2011/02/23 16:42:34 zmedico Exp $
+
+EAPI=3
+PYTHON_DEPEND=2:2.4
+PYTHON_USE_WITH=readline
+
+inherit base eutils python
+
+DESCRIPTION="Replacement for 'emerge --search' with search-index"
+HOMEPAGE="http://david-peter.de/esearch.html"
+SRC_URI="http://david-peter.de/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="linguas_it"
+
+RDEPEND=">=sys-apps/portage-2.0.50"
+
+PATCHES=( "${FILESDIR}"/97462-esearch-metadata.patch
+ "${FILESDIR}"/97969-ignore-missing-ebuilds.patch
+ "${FILESDIR}"/120817-unset-emergedefaultopts.patch
+ "${FILESDIR}"/124601-remove-deprecated-syntax.patch
+ "${FILESDIR}"/132548-multiple-overlay.patch
+ "${FILESDIR}"/231223-fix-deprecated.patch
+ "${FILESDIR}"/253216-fix-ebuild-option.patch
+ "${FILESDIR}"/186994-esync-quiet.patch
+ "${FILESDIR}"/146555-esearch-manifest2.patch )
+
+src_compile() { :; }
+
+src_install() {
+ dodir /usr/bin/ /usr/sbin/ || die "dodir failed"
+
+ exeinto /usr/lib/esearch
+ doexe eupdatedb.py esearch.py esync.py common.py || die "doexe failed"
+
+ dosym /usr/lib/esearch/esearch.py /usr/bin/esearch || die "dosym failed"
+ dosym /usr/lib/esearch/eupdatedb.py /usr/sbin/eupdatedb || die "dosym failed"
+ dosym /usr/lib/esearch/esync.py /usr/sbin/esync || die "dosym failed"
+
+ doman en/{esearch,eupdatedb,esync}.1 || die "doman failed"
+ dodoc ChangeLog "${FILESDIR}/eupdatedb.cron" || die "dodoc failed"
+
+ if use linguas_it ; then
+ insinto /usr/share/man/it/man1
+ doins it/{esearch,eupdatedb,esync}.1 || die "doins failed"
+ fi
+
+ python_convert_shebangs -r 2 "${D}"
+}