Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423953 - [science overlay] dev-python/pyhdf-0.8.3 ebuild
Summary: [science overlay] dev-python/pyhdf-0.8.3 ebuild
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2012-06-28 09:31 UTC by Paweł Rumian
Modified: 2012-06-28 12:14 UTC (History)
2 users (show)

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


Attachments
pyhdf ebuild (pyhdf-0.8.3.ebuild,892 bytes, text/plain)
2012-06-28 09:31 UTC, Paweł Rumian
Details
Fixed ebuild (pyhdf-0.8.3.ebuild,752 bytes, text/plain)
2012-06-28 11:46 UTC, Paweł Rumian
Details

Note You need to log in before you can comment on or make changes to this bug.
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