# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.4.0.ebuild,v 1.3 2009/12/01 10:16:32 maekke Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols." HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich" SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="test" DEPEND="test? ( dev-python/nose )" RDEPEND="" RESTRICT_PYTHON_ABIS="3.*" src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} } python_execute_function testing }