1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
10 if [[ "${PV}" == "9999" ]]; then
12 EGIT_REPO_URI="git://github.com/Fluxx/${PN}.git"
15 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
18 DESCRIPTION="Helpers for better testing"
19 HOMEPAGE="https://github.com/Fluxx/exam https://pypi.python.org/pypi/exam"
23 KEYWORDS="~amd64 ~x86"
27 dev-python/mock[${PYTHON_USEDEP}]
32 dev-python/nose[${PYTHON_USEDEP}]
35 python_prepare_all() {
36 sed -i "s/packages=find_packages()/packages=find_packages(exclude=['tests', 'tests.*'])/" setup.py || die
37 distutils-r1_python_prepare_all