summaryrefslogtreecommitdiff
blob: 159c2b659a7a7ee4a84c5a741d361d756f3b3a02 (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
# 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.3 2007/07/11 06:19:47 mr_bones_ 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
}