https://github.com/gentoo/gentoo/pull/25822 has some background, but the gist is, instead of doing: e.g. python_foreach_impl run_in_build_dir do_compile Instead, we should do: e.g. src_compile() { [...] distutils-r1_src_compile } python_compile() { # copy in the do_compile logic here } It's simpler but it also means the PEP517 bits in future will be easier to handle. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f272af550415b741b93760849b847dc59c6be6e commit 9f272af550415b741b93760849b847dc59c6be6e Author: Jason Zaman <perfinion@gentoo.org> AuthorDate: 2022-06-25 16:39:38 +0000 Commit: Jason Zaman <perfinion@gentoo.org> CommitDate: 2022-06-26 02:37:33 +0000 sci-libs/keras: add 2.9.0 Closes: https://bugs.gentoo.org/851570 Signed-off-by: Jason Zaman <perfinion@gentoo.org> sci-libs/keras/Manifest | 1 + ...eras-2.9.0-0001-bazel-Use-system-protobuf.patch | 331 +++++++++++++++++++++ sci-libs/keras/keras-2.9.0.ebuild | 85 ++++++ 3 files changed, 417 insertions(+)