summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-10-02 13:59:31 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-10-02 13:59:31 +0000
commitc1d935ff138181ee586938e56c3b7d72e0a97e70 (patch)
treeca75b4646b366d913b2575c63e3fef21d50cc0ae /dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild
parentchangelog:p (diff)
downloadhistorical-c1d935ff138181ee586938e56c3b7d72e0a97e70.tar.gz
historical-c1d935ff138181ee586938e56c3b7d72e0a97e70.tar.bz2
historical-c1d935ff138181ee586938e56c3b7d72e0a97e70.zip
prepare for python2.3
Diffstat (limited to 'dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild')
-rw-r--r--dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild b/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild
index 1c76e5c89417..041fbcb01391 100644
--- a/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild
+++ b/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild
@@ -1,22 +1,30 @@
# Copyright 1999-2003 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.5 2003/09/06 23:32:28 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kinterbasdb/kinterbasdb-3.0.2.ebuild,v 1.6 2003/10/02 13:59:26 liquidx Exp $
inherit distutils
-IUSE=""
-S=${WORKDIR}/${P}
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 ~alpha"
-DEPEND="virtual/python
- >=dev/db/firebird-1.0_rc1
+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}