diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-04-03 21:15:10 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-04-03 21:17:04 +0200 |
commit | 08cb254f3c89a9dfd5b84c2475ac7daee2ab0303 (patch) | |
tree | 793adc3a12c939c6d9ce3870aea1a05b1988672c /x11-wm | |
parent | dev-qt/qtxmlpatterns: Stabilize 5.15.13 ppc, #927748 (diff) | |
download | gentoo-08cb254f3c89a9dfd5b84c2475ac7daee2ab0303.tar.gz gentoo-08cb254f3c89a9dfd5b84c2475ac7daee2ab0303.tar.bz2 gentoo-08cb254f3c89a9dfd5b84c2475ac7daee2ab0303.zip |
x11-wm/herbstluftwm: adjust src_test for pep517
Closes: https://bugs.gentoo.org/927549
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild index 83a22e20d0e4..47d995e179c6 100644 --- a/x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild +++ b/x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,10 @@ LICENSE="BSD-2" SLOT="0" IUSE="+doc python test" RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( python ) +" COMMON_DEPEND=" x11-libs/libX11 @@ -137,11 +140,5 @@ 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 + distutils-r1_src_test } |