Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193154 - PYTHON_OVERRIDE_PYVER does not work with sci-chemistry/vmd-1.8.6.ebuild
Summary: PYTHON_OVERRIDE_PYVER does not work with sci-chemistry/vmd-1.8.6.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 09:57 UTC by milan hodoscek
Modified: 2007-09-20 10:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description milan hodoscek 2007-09-20 09:57:40 UTC
I looked at the eclass/python.eclass and found the PYTHON_OVERRIDE_PYVER variable which could be used to compile VMD. VMD-1.8.6 cannot compile with python-2.5.x, so it would be useful to use something like:

PYTHON_OVERRIDE_PYVER="2.4" emerge vmd

This currently doesn't work! However changing PYVER in the ebuild itself works OK!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 10:03:17 UTC
Not intended to be used like that, get vmd fixed.


*** This bug has been marked as a duplicate of bug 192902 ***
Comment 2 milan hodoscek 2007-09-20 10:07:16 UTC
Now that I look at this bug report I have another idea. How about having something  like /etc/portage/package.env where one could specify environment variables that go with the specific package. Specifically I have a problem with emerge --empty world which doesn't compile netcdf because it uses fortran and fortran is sensitive to the order how things get compiled. It is not always a problem (sometime I am lucky) but I usually have to do MAKEOPTS="-j1" emerge netcdf. Wouldn't it be neat to specify this in /etc/portage/package.env ?
Comment 3 milan hodoscek 2007-09-20 10:09:47 UTC
(In reply to comment #1)
> Not intended to be used like that, get vmd fixed.
> 
> 
> *** This bug has been marked as a duplicate of bug 192902 ***
> 

No, this is the bug for eclass/python.eclass and has nothing to do with the sci-chemistry/vmd-1.8.6.ebuild I used vmd only as an example!
Comment 4 milan hodoscek 2007-09-20 10:13:05 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Not intended to be used like that, get vmd fixed.
> > 
> > 
> > *** This bug has been marked as a duplicate of bug 192902 ***
> > 
> 
> No, this is the bug for eclass/python.eclass and has nothing to do with the
> sci-chemistry/vmd-1.8.6.ebuild I used vmd only as an example!
> 

OK, this is maybe not a bug, but more like a request for extending the functionality. I know it is not a fix for vmd but brings to the flexibility of portage itself!
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 10:15:34 UTC
Please, read what the ebuild does before filing bugs about an eclass.