Apparently upstream has a merge request that resolves the problem by switching to pyxdg.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1482e094c60cec18eb2769bc7f7a32a69c643019 commit 1482e094c60cec18eb2769bc7f7a32a69c643019 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-07-25 09:16:49 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-07-25 09:19:50 +0000 app-misc/goobook: Patch to use pyxdg rather than xdg Closes: https://bugs.gentoo.org/804076 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-misc/goobook/files/goobook-3.5.1-pyxdg.patch | 105 +++++++++++++++++++++ ...ook-3.5.1-r1.ebuild => goobook-3.5.1-r2.ebuild} | 10 +- 2 files changed, 112 insertions(+), 3 deletions(-)