pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59414: net/py-magic-wormhole installs shell completion at $PREFIX root



>Number:         59414
>Category:       pkg
>Synopsis:       net/py-magic-wormhole installs shell completion at $PREFIX root
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 10 00:40:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The WormBSD Completion
>Environment:
>Description:
net/py-magic-wormhole installs tab-completion hooks for several shells directly at the root of $PREFIX:

$PREFIX/wormhole_complete.bash
$PREFIX/wormhole_complete.fish
$PREFIX/wormhole_complete.zsh

This has been happening since 0.15.0 in September.

Not sure there is a written pkgsrc policy against this, but surely these belong under $PREFIX/share like other packages use -- and ideally with ${PYVERSSUFFIX} involved like the executable has.
>How-To-Repeat:
cd net/py-magic-wormhole
bmake install
>Fix:
Yes, please!

I think these should go in share/wormhole-${PYVERSSUFFIX}.  And perhaps share/wormhole should be a symlink to the active one, though I'm not sure pkg_alternatives has a way to do directory symlinks.



Home | Main Index | Thread Index | Old Index