sci-physics/geant-4 offers to build a python module. Since I relies on geant-4 already built, I am attaching a split ebuild to built the module. I am not entirely sure this software post-pre-alpha, and just dump it here if somebody wants to play and test. There's hardly any documentation, and I am not even sure that all geant-4 classes are mapped to python. The current geant-4 version in the tree is 4.9.1_p02, but this ebuild uses 4.9.2_beta1. On my machine different geant4py and geant-4 version live together happily. This ebuild could also work with an older geant4py version. Take it easy, b. Reproducible: Always Steps to Reproduce:
Created attachment 163798 [details] sample ebuild for dev-python/geant4-py If this is all of what geant4py has to offer I'd rather stick to swig ;)
if I am not wrong, it is officially included in geant now. Please comment if I am wrong.
This has been part of the geant4 tarball for some time. bicatali suggested to create a split ebuild since the geant4 build process is rather complicated and the python module's build dependency on the core part is not very clean. The way I understood this is that it has always been more of an example on how to create interfaces for geant4 *user libraries* written in C++ to python than an actually working additional interface that works out of the box. Also, looking at the repository http://www-geant4.kek.jp/lxr/source/environments/g4py/ it seems like development has practically stop around 2008. So whatever its status, WONTFIX is fine with me.