dev-python/oauth2client: Exclude tests from installation

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-02-17 11:34:43 +01:00
parent ce16a3b192
commit 2d6be8c0be

View File

@@ -32,6 +32,13 @@ DEPEND="${RDEPEND}
# Needs network
RESTRICT=test
python_prepare_all() {
sed \
-e "s:find_packages():find_packages(exclude=['tests']):" \
-i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
nosetests || die
}