summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-11-13 08:54:05 -0800
committerBrian Dolbec <dolsen@gentoo.org>2016-11-13 09:18:39 -0800
commitfaecf9357902f16cdc0e4e4197311db366c5056c (patch)
treeb0307661b710009e6e2efac5ca1c55a6f426afc6 /dev-python/spark-parser
parentapp-emulation/qemu: drop vulnerable 2.7.0-r5, bug #598772 (diff)
downloadgentoo-faecf9357902f16cdc0e4e4197311db366c5056c.tar.gz
gentoo-faecf9357902f16cdc0e4e4197311db366c5056c.tar.bz2
gentoo-faecf9357902f16cdc0e4e4197311db366c5056c.zip
dev-python/spark-parser: Fix setup.py unconditional test only dep bug 599638
Package-Manager: portage-2.3.2_p3
Diffstat (limited to 'dev-python/spark-parser')
-rw-r--r--dev-python/spark-parser/spark-parser-1.4.0.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-python/spark-parser/spark-parser-1.4.0.ebuild b/dev-python/spark-parser/spark-parser-1.4.0.ebuild
index 9ca7566496ba..3c0cd9af4894 100644
--- a/dev-python/spark-parser/spark-parser-1.4.0.ebuild
+++ b/dev-python/spark-parser/spark-parser-1.4.0.ebuild
@@ -29,6 +29,14 @@ DEPEND="
S="${WORKDIR}/${MY_PN}-${PV}"
+python_prepare_all() {
+ # Remove an unconditional test only dep
+ sed \
+ -e "s/setup_requires/# setup_requires/" \
+ -i setup.py
+ distutils-r1_python_prepare_all
+}
+
python_test() {
emake check
}