dev-python/kombu: Restrict *_all() phases to py2
authorMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 17:44:18 +0000 (18:44 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 19:06:47 +0000 (20:06 +0100)
dev-python/kombu/kombu-3.0.30.ebuild

index 373244c2322a31361851dfa46e8f1b5b32cb25da..d29d767f5229dba017adbc44a16fdc5a13a2cc85 100644 (file)
@@ -65,6 +65,10 @@ PATCHES=(
        "${FILESDIR}"/${PN}-NA-tests-fix.patch
        )
 
+pkg_setup() {
+       use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
+}
+
 python_prepare_all() {
        https://github.com/celery/kombu/issues/246
        sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py