This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
I am on the same boat ... >>> pietro@toilet ~ $ sudo emerge -1vUD @world These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 4.65 s (backtrack: 0/20). !!! The ebuild selected to satisfy "dev-java/javatoolkit" has unmet requirements. - dev-java/javatoolkit-0.6.7::gentoo USE="" ABI_X86="(64)" PYTHON_TARGETS="-python3_10 -python3_11" The following REQUIRED_USE flag constraints are unsatisfied: any-of ( python_targets_python3_10 python_targets_python3_11 ) (dependency required by "dev-java/swt-3.7.2-r3::gentoo" [installed]) (dependency required by "dev-util/android-sdk-update-manager-24.4.1-r2::gentoo" [installed]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) pietro@toilet ~ $ <<<
As a temporary workaround I am using "FireBurn" overlay ebuild of dev-java/javatoolkit-0.6.7 which adds support for python_targets_python3_12. https://github.com/FireBurn/Overlay/blob/master/dev-java/javatoolkit/javatoolkit-0.6.7.ebuild Looking forward to see this fixed in gentoo main.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19b5533e56067a6058b7e77497e93efb011b834 commit d19b5533e56067a6058b7e77497e93efb011b834 Author: Leandro Cerencio <lemoce@mail.neperiano.mat.br> AuthorDate: 2024-05-28 13:34:08 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-05-29 09:44:55 +0000 dev-java/javatoolkit: enable py3.12 Closes: https://bugs.gentoo.org/929398 Signed-off-by: Leandro Cerencio <lemoce@mail.neperiano.mat.br> Closes: https://github.com/gentoo/gentoo/pull/36872 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/javatoolkit/javatoolkit-0.6.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)