aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/find-work/find-work-0.990.0.ebuild')
-rw-r--r--dev-util/find-work/find-work-0.990.0.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/find-work/find-work-0.990.0.ebuild b/dev-util/find-work/find-work-0.990.0.ebuild
index d487006d1..d39534f36 100644
--- a/dev-util/find-work/find-work-0.990.0.ebuild
+++ b/dev-util/find-work/find-work-0.990.0.ebuild
@@ -69,6 +69,16 @@ distutils_enable_sphinx docs \
dev-python/insipid-sphinx-theme \
dev-python/sphinx-prompt
+pkg_setup() {
+ DISTUTILS_ALL_SUBPHASE_IMPLS=()
+
+ # bug #944221
+ for impl in "${PYTHON_COMPAT[@]}"; do
+ use "python_targets_${impl}" && \
+ DISTUTILS_ALL_SUBPHASE_IMPLS+=( "${impl}" )
+ done
+}
+
python_compile_all() {
# copy-pasted from distutils_write_namespace
local path="${BUILD_DIR}/install$(python_get_sitedir)/find_work/__init__.py"