Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347830 - sci-physics/PyMca-4.4.1 - X-ray Fluorescence Toolkit
Summary: sci-physics/PyMca-4.4.1 - X-ray Fluorescence Toolkit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 18:32 UTC by Nicola
Modified: 2010-12-08 08:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The initial suboptimal ebuild (PyMca-4.4.1-r1.ebuild,925 bytes, text/plain)
2010-12-05 18:33 UTC, Nicola
Details
Added optional dependencies (PyMca-4.4.1_p1.ebuild,979 bytes, text/plain)
2010-12-07 22:09 UTC, Nicola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola 2010-12-05 18:32:32 UTC
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:
Comment 1 Nicola 2010-12-05 18:33:22 UTC
Created attachment 256412 [details]
The initial suboptimal ebuild
Comment 2 Nicola 2010-12-05 18:38:30 UTC
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.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-12-07 07:53:02 UTC
+*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.
Comment 4 Nicola 2010-12-07 22:09:24 UTC
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.
Comment 5 Nicola 2010-12-07 22:10:58 UTC
as said in the attachment comment, I'm reopening the bug just until those new optional dependencies are added.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-12-08 08:27:17 UTC
Thanks, I added the fixes. I amde pyopengl not optional as we allready need opengl support for building.