# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils MY_PN="repoze.who" MY_P="${MY_PN}-${PV/_alpha/a}" DESCRIPTION="An identification and authentication framework for arbitrary WSGI applications" HOMEPAGE="http://www.repoze.org/" SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="repoze" SLOT="0" KEYWORDS="~amd64" IUSE="test" DEPEND="dev-python/setuptools test? ( dev-python/nose )" RDEPEND="" RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" LC_ALL="C" nosetests-${PYTHON_ABI} } python_execute_function testing }