Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 423953

Summary: [science overlay] dev-python/pyhdf-0.8.3 ebuild
Product: Gentoo Linux Reporter: Paweł Rumian <gorkypl>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: gorkypl, xarthisius
Priority: Normal Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pyhdf ebuild
Fixed ebuild

Description Paweł Rumian 2012-06-28 09:31:12 UTC
Created attachment 316519 [details]
pyhdf ebuild

pyhdf is a python wrapper around the NCSA HDF version 4 library.
http://pysclint.sourceforge.net/pyhdf/

This ebuild is based on dev-python/pycdf ebuild.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-28 09:59:49 UTC
Can I ask you the philosophical question: why do you want to use hdf4 and not hdf5? Are you bound by the software you use?
I'd rather people migrate to something less ancient...
Comment 2 Paweł Rumian 2012-06-28 11:26:16 UTC
Of course, it's no secret...

I am working with some ancient meteorological data available only in hdf4. There was also an ancient tool based on pyhdf, which did some calculation based on this data.
I have batch-converted the data to hdf5, and currently write a new software based on h5py, but needed to check if the results are compatible and so needed to ressurect pyhdf.

If you think there is no demand for adding pyhdf to the tree, I will not put any pressure on this :)
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-28 11:32:08 UTC
For the time being, I think it'll be a good addition to Science overlay. Ebuild LGTM, I'd only:

1) drop ~ia64 unless you have a hardware and tested it
2) shorten dohtml and dodoc by using {}, or *.hml / *.txt

You want me to commit to sci directly, or wanna play with forking/issuing pull request on github[1] ?

[1] https://github.com/gentoo-science/sci
Comment 4 Paweł Rumian 2012-06-28 11:46:15 UTC
Created attachment 316531 [details]
Fixed ebuild

I'd be very thankful if you could do the commit.
Attached is the fixed version of the ebuild.

Thank you for your help.
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-28 12:14:27 UTC
(In reply to comment #4)
> Created attachment 316531 [details]
> Fixed ebuild
I've looked again at it and saw a couple of small issues ;) fixed them on the fly. 

[master 6cbe9f1] [dev-python/pyhdf] initial import wrt #423953. Ebuild written by Paweł Rumian <gorkypl@gmail.com> with my modifications

http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6cbe9f1a288e92707da37402999292a53cebc3aa