Vitables is a graphical tool for browsing and editing files in both PyTables and HDF5 formats. It is very useful for anyone who works with data in the HDF5 format. This is a new ebuild that I wrote. I did my best to comply with all the guidelines. Reproducible: Always
Created attachment 190059 [details] New ebuild for vitables-2.0 Ebuild attached.
You might want to get this ebuild imported into the sunrise overlay for now.
I have some interest in this package so I will maintain it as a part of the sci herd. Modified ebuild added to CVS, thanks for the initial version!
Unfortunately ebuild has wrong Qt4 dependencies - monolithic Qt ebuilds are declared deprecated and no ebuild is allowed to depend on it. Replace '>=x11-libs/qt-4.0' with either '>=x11-libs/qt-gui-4.5:4' or 'x11-libs/qt-gui:4' And add other required Qt dependencies (maybe qt-xml, qt-dbus, etc - qt-core is already pulled by qt-gui).
(In reply to comment #4) > Unfortunately ebuild has wrong Qt4 dependencies - monolithic Qt ebuilds are > declared deprecated and no ebuild is allowed to depend on it. > > Replace '>=x11-libs/qt-4.0' with either '>=x11-libs/qt-gui-4.5:4' or > 'x11-libs/qt-gui:4' > And add other required Qt dependencies (maybe qt-xml, qt-dbus, etc - qt-core is > already pulled by qt-gui). > In this case, I think only a PyQt4 dependency is needed since it in turn depends on qt-gui anyway.
Created attachment 195720 [details] Ebuild Fix This change to the ebuild allows for more than one patch to be applied, Use this instead of the original if you want to add a patch to the FILESDIR.
Ok, here's another bug that I could not figure out how to fix. I get an ACCESS DENIED because it wants to install the resource files (i.e. vitables.desktop) to the /usr/local prefix. I tried a patch on the setup.py file, but it still wanted to install to /usr/local. So I gave up by hacking in an 'addwrite /usr/local' for the time being.
This package still cannot be merged because of the ACCESS DENIED error. The msg is as follow: running install_egg_info Writing /var/tmp/portage/sci-misc/vitables-2.0/image/usr/lib64/python2.6/site-packages/ViTables-2.0-py2.6.egg-info @copying unixapp/vitables.svgz -> /usr/kde/3.5/share/icons/hicolor/scalable/apps ACCESS DENIED open_wr: /usr/kde/3.5/share/icons/hicolor/scalable/apps/vitables.svgz cp: cannot create regular file `/usr/kde/3.5/share/icons/hicolor/scalable/apps/vitables.svgz': Permission denied @copying unixapp/vitables.desktop -> /usr/kde/3.5/share/applications ACCESS DENIED open_wr: /usr/kde/3.5/share/applications/vitables.desktop cp: cannot create regular file `/usr/kde/3.5/share/applications/vitables.desktop': Permission denied Installation completed successfully! Enjoy Data with ViTables, the troll of the PyTables family. >>> Completed installing vitables-2.0 into /var/tmp/portage/sci-misc/vitables-2.0/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-26543.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /usr/kde/3.5/share/icons/hicolor/scalable/apps/vitables.svgz A: /usr/kde/3.5/share/icons/hicolor/scalable/apps/vitables.svgz R: /usr/kde/3.5/share/icons/hicolor/scalable/apps/vitables.svgz C: cp unixapp/vitables.svgz /usr/kde/3.5/share/icons/hicolor/scalable/apps F: open_wr S: deny P: /usr/kde/3.5/share/applications/vitables.desktop A: /usr/kde/3.5/share/applications/vitables.desktop R: /usr/kde/3.5/share/applications/vitables.desktop C: cp unixapp/vitables.desktop /usr/kde/3.5/share/applications -------------------------------------------------------------------------------- >>> Failed to emerge sci-misc/vitables-2.0, Log file: >>> '/var/tmp/portage/sci-misc/vitables-2.0/temp/build.log' Is there any solution to this problem?
I've just commited a fix which should solve the access denied problems. In the future, please open a new bug for such issues.