Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851570 - sci-libs/keras: fix distutils-r1 usage
Summary: sci-libs/keras: fix distutils-r1 usage
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
Depends on:
Blocks: 803152
  Show dependency tree
Reported: 2022-06-12 16:02 UTC by Sam James
Modified: 2022-06-26 02:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 16:02:57 UTC 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:
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!
Comment 1 Larry the Git Cow gentoo-dev 2022-06-26 02:45:47 UTC
The bug has been closed via the following commit(s):

commit 9f272af550415b741b93760849b847dc59c6be6e
Author:     Jason Zaman <>
AuthorDate: 2022-06-25 16:39:38 +0000
Commit:     Jason Zaman <>
CommitDate: 2022-06-26 02:37:33 +0000

    sci-libs/keras: add 2.9.0
    Signed-off-by: Jason Zaman <>

 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(+)