summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-05 19:59:11 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-05 20:45:03 +0100
commit00d51453ef571bc6cbee2716f30c5dd2d0ea3fdc (patch)
tree972284015ff8125f01bef0cbc96bd3eed7bbbde1 /dev-python/keyrings_alt
parentdev-python/ed25519ll: New package, ebuild written by me (diff)
downloadgentoo-00d51453ef571bc6cbee2716f30c5dd2d0ea3fdc.tar.gz
gentoo-00d51453ef571bc6cbee2716f30c5dd2d0ea3fdc.tar.bz2
gentoo-00d51453ef571bc6cbee2716f30c5dd2d0ea3fdc.zip
dev-python/keyrings_alt: Excluse test from installation
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/keyrings_alt')
-rw-r--r--dev-python/keyrings_alt/keyrings_alt-1.1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild b/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild
index e909ade03eb9..ebd7496e780d 100644
--- a/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild
+++ b/dev-python/keyrings_alt/keyrings_alt-1.1.ebuild
@@ -36,6 +36,13 @@ S="${WORKDIR}"/${MY_P}
# Multiple failures
RESTRICT=test
+python_prepare_all() {
+ sed \
+ -e "s:find_packages():find_packages(exclude=['tests']):g" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
python_test() {
py.test -v -v || die
}