Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927549 - x11-wm/herbstluftwm: completely broken src_test
Summary: x11-wm/herbstluftwm: completely broken src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 16:39 UTC by Michał Górny
Modified: 2024-04-03 19:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)