PyMca is a well know python application for X-ray fluorescence data analysis http://pymca.sourceforge.net/ I'm providing a suboptimal ebuild that although compiles and installs fine. It's suboptimal since it requires a double acceptance of the license and doesn't make use of any gentoo-related facility for license handling. (I've commented out the possibility to skip the second license acceptance, since I'd prefer to know the opinion of a gentoo developer, on how to handle such situation) Reproducible: Always Steps to Reproduce:
Created attachment 256412 [details] The initial suboptimal ebuild
I forgot to add that also the package fetching is tricky: you end up downloading manually the source file, since I was not able to find a source forge mirror. Tomorrow I may contact directly the author and ask for more information about fetching the source package.
+*PyMca-4.4.1_p1 (07 Dec 2010) + + 07 Dec 2010; Justin Lecher <jlec@gentoo.org> +files/4.4.1_p1-gentoo.patch, + +PyMca-4.4.1_p1.ebuild, +metadata.xml: + Initial commit, prelimary ebuild made by Nicola + You might want to take a look into the ebuild how I solved the problems you had.. Thanks for your contribution.
Created attachment 256610 [details] Added optional dependencies I would like to thank you for the corrections made, and I'm reopening the bug just because after talking directly to the author, I found out that there were other two optional dependencies that he silently checks in the building script. These are h5py and pyopengl. Although the virtual/opengl is needed for building the sources, pyopengl (that is needed for some 3D visualizations), is not mandatory for building and running fine the software. I'm sorry again for reopening the bug, but some often used functionalities (like HDF5 support) were missing. Thank you again for the fixes in the previous ebuild.
as said in the attachment comment, I'm reopening the bug just until those new optional dependencies are added.
Thanks, I added the fixes. I amde pyopengl not optional as we allready need opengl support for building.