Hi, The current live ebuild doesn't execute devscripts/update-version.py so the version reported with : yt-dlp -v always report the one from the template : [debug] yt-dlp version stable@2023.03.04 [392389b7d] I added "python devscripts/update-version.py || die" (it is probably not the right way to do it, not sure..) python_compile() { # generate missing files in live, not in compile_all nor prepare # given need lazy before compile and it needs a usable ${PYTHON} emake completions lazy-extractors $(usev man yt-dlp.1) python devscripts/update-version.py || die distutils-r1_python_compile } And now, it correctly reports the head commit being used : [debug] yt-dlp version stable@2023.05.07 [c449c0655] Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=609044d88519daa513874297f36e5675ccc94453 commit 609044d88519daa513874297f36e5675ccc94453 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-05-07 17:38:47 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-05-07 17:41:48 +0000 net-misc/yt-dlp: report correct version in live Closes: https://bugs.gentoo.org/905884 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> net-misc/yt-dlp/yt-dlp-9999.ebuild | 2 ++ 1 file changed, 2 insertions(+)