Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268149 - New ebuild for vitables-2.0
Summary: New ebuild for vitables-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 19:16 UTC by Craig Finch
Modified: 2009-09-29 15:21 UTC (History)
2 users (show)

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


Attachments
New ebuild for vitables-2.0 (vitables-2.0.ebuild,612 bytes, text/plain)
2009-05-01 19:17 UTC, Craig Finch
Details
Ebuild Fix (vitables-2.0-EPATCH-fix.ebuild,996 bytes, text/plain)
2009-06-25 03:22 UTC, Peter Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Finch 2009-05-01 19:16:49 UTC
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
Comment 1 Craig Finch 2009-05-01 19:17:23 UTC
Created attachment 190059 [details]
New ebuild for vitables-2.0

Ebuild attached.
Comment 2 Patrick Lauer gentoo-dev 2009-05-01 19:37:41 UTC
You might want to get this ebuild imported into the sunrise overlay for now.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2009-06-11 20:45:54 UTC
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!
Comment 4 Maciej Mrozowski gentoo-dev 2009-06-24 22:38:14 UTC
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).
Comment 5 Peter Alexander 2009-06-25 03:16:33 UTC
(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. 

Comment 6 Peter Alexander 2009-06-25 03:22:45 UTC
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.
Comment 7 Peter Alexander 2009-06-25 03:26:38 UTC
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.
Comment 8 Luyang Han 2009-09-29 09:05:55 UTC
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?
Comment 9 Michal Januszewski (RETIRED) gentoo-dev 2009-09-29 15:21:00 UTC
I've just commited a fix which should solve the access denied problems.  In the future, please open a new bug for such issues.