diff options
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-0.9.3.ebuild | 7 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-9999.ebuild | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.9.3.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.9.3.ebuild index 65e8342992a3..fe478ccf2e52 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-0.9.3.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-0.9.3.ebuild @@ -129,5 +129,12 @@ distutils_enable_tests pytest src_test() { ln -s "${BUILD_DIR}/herbstclient" || die "Could not symlink herbstclient" ln -s "${BUILD_DIR}/herbstluftwm" || die "Could not symlink herbstluftwm" + + pushd python > /dev/null || die + distutils_install_for_testing + popd > /dev/null || die + + # Ensure PYTHONPATH is exported, see https://bugs.gentoo.org/801658. + export PYTHONPATH python_test } diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild index c167e7f353e2..37035a6a5ff8 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild @@ -129,5 +129,12 @@ distutils_enable_tests pytest src_test() { ln -s "${BUILD_DIR}/herbstclient" || die "Could not symlink herbstclient" ln -s "${BUILD_DIR}/herbstluftwm" || die "Could not symlink herbstluftwm" + + pushd python > /dev/null || die + distutils_install_for_testing + popd > /dev/null || die + + # Ensure PYTHONPATH is exported, see https://bugs.gentoo.org/801658. + export PYTHONPATH python_test } |