# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS=1 RESTRICT_PYTHON_ABIS="2.5 3.*" DISTUTILS_SRC_TEST=setup.py inherit distutils eutils DESCRIPTION="Manuel lets you build tested documentation." HOMEPAGE="http://packages.python.org/manuel/ http://pypi.python.org/pypi/manuel" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64" IUSE="test" DEPEND="dev-python/setuptools dev-python/six" # test? ( net-zope/zope-testing )" RDEPEND="${DEPEND}" DOCS=( CHANGES.txt ) src_prepare() { epatch "${FILESDIR}"/${P}-rm_zope_test.patch } src_test() { testing() { pushd build-${PYTHON_ABI}/lib > /dev/null # PYTHONPATH=. "$(PYTHON)" -m ${PN}.tests popd > /dev/null } python_execute_function testing }