Re: PY_RENAME_BINARIES

Leonardo Taccari <[email protected]> Wed, 01 Apr 2026 22:44:51 +0200
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
Thomas Klausner writes:
> Hi!
>

Hello Thomas,

> I've just added support to lang/python/wheel.mk for a new
> PY_RENAME_BINARIES variable.
>
> Usage:
>
> PY_RENAME_BINARIES=	foo
>
> This will replace
>
> post-install:
> 	cd ${DESTDIR}${PREFIX}/bin && ${MV} foo foo-${PYVERSSUFFIX} || ${TRUE}
> [...]

Thanks!

Why is this foo-${PYVERSSUFFIX} and not foo${PYVERSSUFFIX}?

I find that inconsistent with python* and most other ALTERNATIVES that
just add a version suffix.