summaryrefslogtreecommitdiff
blob: 387e7c0f0f1e84a48b8d7c91a021d2477a82a952 (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
31
32
33
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-3.4.0-r1.ebuild,v 1.1 2003/06/01 01:31:09 liquidx Exp $

inherit distutils

DESCRIPTION="Python bindings for BerkelyDB"
HOMEPAGE="http://pybsddb.sourceforge.net/"
SRC_URI="mirror://sourceforge/pybsddb/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

DEPEND="virtual/python
	=sys-libs/db-3*"

S="${WORKDIR}/${P}"

DOCS="README.txt TODO.txt"

src_unpack() {
	unpack ${A}
	einfo "Applying ${P}-db3.patch"
	cd ${S}; patch -p0 < ${FILESDIR}/${P}-db3.patch
}

src_install() {
	distutils_src_install
	dohtml docs/*
}