Though distributed with geant4, g4py has a build system with hand written configure that is different from cmake of geant4. Therefore, it is better to write a new ebuild for g4py than as geant[python]. In the attachment is my draft of ebuild for g4py (far from ready for commit), please review. Reproducible: Always
Created attachment 306841 [details] g4py-4.9.5.ebuild
Created attachment 306843 [details, diff] build system patch
Created attachment 306845 [details, diff] visManager verbose patch for debug
in tree.