diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-17 11:34:43 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-17 11:34:54 +0100 |
commit | 2d6be8c0be46c07256a267f89a00f66db0d95edd (patch) | |
tree | 27bf508f105ede0af786b27be6ae03c35ecaafeb /dev-python/oauth2client | |
parent | Merge remote-tracking branch 'github/pr/870'. (diff) | |
download | gentoo-2d6be8c0be46c07256a267f89a00f66db0d95edd.tar.gz gentoo-2d6be8c0be46c07256a267f89a00f66db0d95edd.tar.bz2 gentoo-2d6be8c0be46c07256a267f89a00f66db0d95edd.zip |
dev-python/oauth2client: Exclude tests from installation
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/oauth2client')
-rw-r--r-- | dev-python/oauth2client/oauth2client-2.0.0.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/oauth2client/oauth2client-2.0.0.ebuild b/dev-python/oauth2client/oauth2client-2.0.0.ebuild index db2bdb7b1808..23f97404115d 100644 --- a/dev-python/oauth2client/oauth2client-2.0.0.ebuild +++ b/dev-python/oauth2client/oauth2client-2.0.0.ebuild @@ -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 } |