Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927549

Summary: x11-wm/herbstluftwm: completely broken src_test
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: RESOLVED FIXED    
Severity: normal CC: qa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=801658
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-22 16:39:36 UTC
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

^ this isn't valid in PEP517 mode.

    popd > /dev/null || die

    # Ensure PYTHONPATH is exported, see https://bugs.gentoo.org/801658.
    export PYTHONPATH

There's nothing setting PYTHONPATH here.

    python_test

This isn't valid top-level in src_test().
Comment 1 Larry the Git Cow gentoo-dev 2024-04-03 19:17:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cb254f3c89a9dfd5b84c2475ac7daee2ab0303

commit 08cb254f3c89a9dfd5b84c2475ac7daee2ab0303
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-04-03 19:15:10 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-04-03 19:17:04 +0000

    x11-wm/herbstluftwm: adjust src_test for pep517
    
    Closes: https://bugs.gentoo.org/927549
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 x11-wm/herbstluftwm/herbstluftwm-0.9.5-r2.ebuild | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)