# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/adodb-py-2.01.ebuild,v 1.5 2007/02/14 20:35:52 dev-zero Exp $ NEED_PYTHON=2.3 inherit distutils MY_P=${PN}${PV//./} DESCRIPTION="Active Data Objects Data Base library for Python" HOMEPAGE="http://adodb.sourceforge.net/" SRC_URI="mirror://sourceforge/adodb/${MY_P}.zip" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="mysql postgres sqlite" RDEPEND="postgres? ( =dev-python/mysql-python-0.9.2 ) sqlite? ( >=dev-python/pysqlite-2.0 ) " DEPEND="${RDEPEND} app-arch/unzip" PYTHON_MODNAME="adodb" S=${WORKDIR}/${MY_P/py/} src_install() { distutils_src_install dohtml adodb-py-docs.htm icons/*.gif }