# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/buzhug/buzhug-1.6.ebuild,v 1.1 2009/12/21 00:28:44 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Fast, pure-Python database engine, using a syntax that Python programmers should find very intuitive" HOMEPAGE="http://buzhug.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.zip" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" DEPEND="app-arch/unzip test? ( dev-python/nose )" RDEPEND="" RESTRICT_PYTHON_ABIS="3.*" src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} } python_execute_function testing }