simply copy 0.13.0 to 0.14.0, will result following error >>> Install net-mail/b4-0.14.0 into /var/tmp/portage/net-mail/b4-0.14.0/image * python3_12: running distutils-r1_run_phase distutils-r1_python_install * The following unexpected files/directories were found top-level * in the site-packages directory: * * /usr/lib/python3.12/site-packages/tests * * This is most likely a bug in the build system. More information * can be found in the Python Guide: * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages * ERROR: net-mail/b4-0.14.0::local failed (install phase): * Failing install because of stray top-level files in site-packages Reproducible: Always
not looking into fixing the build system, but removing 'src/tests' works for me, (assume that will break FEATURES,USE=test ..) +src_prepare() { + distutils-r1_src_prepare + rm -rf src/tests || die +} +
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad4acd187c41afef63afb402ef4b27f62cd2d203 commit ad4acd187c41afef63afb402ef4b27f62cd2d203 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2024-08-10 22:23:10 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2024-08-10 22:23:10 +0000 net-mail/b4: add 0.14.1, fix test support Closes: https://bugs.gentoo.org/935775 Signed-off-by: Mike Pagano <mpagano@gentoo.org> net-mail/b4/Manifest | 1 + net-mail/b4/b4-0.14.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+)