Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 232124
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Physics related packages <sci-physics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benjamin Bannier <benni@netronaut.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Update-PYTHONPATH.patch patch against portage tree patch Benjamin Bannier 2008-07-17 23:09 0000 1.27 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 232124 depends on: Show dependency tree
Bug 232124 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-17 23:08 0000
Hi,

sci-physics/root-5.* has a nice python module (activated via USE=python) that
gets installed in a non-standard location (/usr/lib/root). Standard python code
looks for modules in PYTHONPATH that is not updated by the root ebuild, so a
user had to update it by hand himself if he wanted to use python+root.

/usr/lib/root contains the following python files on my machine:
  /usr/lib/root/PyCintex.py  /usr/lib/root/ROOTwriter.py
  /usr/lib/root/ROOT.py      /usr/lib/root/writer.py
They seem to have no collisions with other modules on my machine.

The module is in /usr/lib/root/ROOT. I am attaching a patch that adds the
module path to PYTHONPATH. Another possibility would be to install the module
files in the standard path under /usr/lib/python*.*, so I can be automatically
updated if a new major python version gets installed, but I have no idea about
the hardcoded paths in the libraries.


Cheers,

Benjamin

Reproducible: Sometimes

Steps to Reproduce:

------- Comment #1 From Benjamin Bannier 2008-07-17 23:09:54 0000 -------
Created an attachment (id=160672) [details]
patch against portage tree

------- Comment #2 From Sébastien Fabbro 2008-07-18 09:20:56 0000 -------
Patch added.
Thanks much!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug