summaryrefslogtreecommitdiff
blob: d39829651d94ea7ec357629a89a9bbcecfd85806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/xapwrap/xapwrap-0.3.1.ebuild,v 1.2 2006/08/03 18:43:21 swegener Exp $

inherit distutils eutils

DESCRIPTION="XapWrap enhances xapian's python bindings."
HOMEPAGE="http://divmod.org/trac/wiki/DivmodXapwrap"
SRC_URI="mirror://gentoo/Xapwrap-${PV}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-lang/python-2.4
	>=dev-python/epsilon-0.4
	>=dev-libs/xapian-bindings-0.9.2"

S="${WORKDIR}/Xapwrap-${PV}"

DOCS="README NEWS.txt"


pkg_setup() {
	if ! built_with_use dev-libs/xapian-bindings python; then
		eerror "Need xapian-bindings compiled with USE=python"
		die "Need xapian-bindings compiled with USE=python"
	fi
}