blob: b814482568adfc8a0e174fc8d8e627c869b74984 (
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
34
35
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild,v 1.9 2004/02/19 14:19:25 agriffis Exp $
inherit distutils
DESCRIPTION="kinterbasdb - firebird/interbase interface for Python."
SRC_URI="mirror://sourceforge/kinterbasdb/${P}-src.tar.gz"
HOMEPAGE="http://kinterbasdb.sourceforge.net"
IUSE=""
LICENSE="kinterbasdb"
SLOT="0"
KEYWORDS="x86 -sparc"
DEPEND="dev-lang/python
>=dev-db/firebird-1.0_rc1
>=dev-python/egenix-mx-base-2.0.1"
src_unpack() {
distutils_python_version
unpack ${A}
if [ ${PYVER_MINOR} -gt 2 ]; then
EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-py23.patch
fi
}
src_install() {
mydoc="docs/*.txt"
distutils_src_install --install-data=/usr/share/doc/${PF}
# we put docs in properly ourselves
rm -rf ${D}/usr/share/doc/${PF}/kinterbasdb
dohtml docs/*.html docs/*.css
}
|