summaryrefslogtreecommitdiff
blob: 6b2168e360b46d8c481453720e2e449d2c234cbd (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/orm/orm-0.15.ebuild,v 1.1 2004/05/01 23:32:52 kloeri Exp $

IUSE="firebird mysql postgres"

inherit distutils

DESCRIPTION="The Object Relational Membrane is an attempt to write an Object Relational Layer that is as thin as possible."
HOMEPAGE="http://www.tux4web.de/computer/software/orm/"
SRC_URI="${HOMEPAGE}download/${P}.tar.gz"

DEPEND=">=dev-lang/python-2.2.3
	dev-python/egenix-mx-base
	firebird? ( >=dev-python/kinterbasdb-3.1_pre7 )
	mysql? ( >=dev-python/mysql-python-0.9.2 )
	postgres? ( >=dev-python/psycopg-1.1.5.1 )"

SLOT="0"
KEYWORDS="~x86"
LICENSE="GPL-2"

pkg_setup() {
	( use firebird || use mysql || use postgres ) || \
	die "Using orm without any db makes no sense. Please enable at least one use flag."
}