mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user