Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105359 - pyxdg requires masked python-2.4 instead of python-2.3
Summary: pyxdg requires masked python-2.4 instead of python-2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 04:04 UTC by Alessandro Pisani
Modified: 2005-10-16 14:15 UTC (History)
2 users (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 Alessandro Pisani 2005-09-09 04:04:31 UTC
pyxdg perfectly works with python-2.3.x but the ebuilds currently in portage
forces python-2.4 as requiresment. Looking on the pyxdg project homepage such
requiresment is not listed anywhere, instead the changelog says it works with
python-2.3.x. Changing requiresment to python-2.3 works for me (i use pyxdg with
smeg-0.7.5).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter Hyman 2005-09-30 04:53:18 UTC
pyxdg-0.8 uses virtual/python. Maybe that's worth considering for later versions
if there is no strict python req?
Comment 2 Peter Hyman 2005-09-30 05:07:55 UTC
Testing a small menu xpplication xdg-menu for ROX, the following errors are
observed with pyxdg 14 and 15 using Python 2.3.

Traceback (most recent call last):
  File "/usr/lib/rox/XDG-Menu/AppletRun", line 16, in ?
    w.add(main.Button())
  File "/usr/lib/rox/XDG-Menu/python/main.py", line 252, in __init__
    self.get_start_menu()
  File "/usr/lib/rox/XDG-Menu/python/main.py", line 291, in get_start_menu
    self._start_menu = XdgMenu(self.get_xmenu(),
  File "/usr/lib/rox/XDG-Menu/python/main.py", line 280, in get_xmenu
    self._xmenu = xdg.Menu.parse()
  File "/usr/lib/python2.3/site-packages/xdg/Menu.py", line 516, in parse
    __parse(doc, filename, tmp["Root"])
  File "/usr/lib/python2.3/site-packages/xdg/Menu.py", line 537, in __parse
    __parseMenu(child, filename, parent)
  File "/usr/lib/python2.3/site-packages/xdg/Menu.py", line 691, in __parseMenu
    __parse(child, filename, m)
  File "/usr/lib/python2.3/site-packages/xdg/Menu.py", line 544, in __parse
    __parseDefaultAppDir(filename, parent)
  File "/usr/lib/python2.3/site-packages/xdg/Menu.py", line 720, in
__parseDefaultAppDir
    for dir in reversed(xdg_data_dirs):
NameError: global name 'reversed' is not defined

Being reported to xdg-menu author as well (xdg-menu.sourceforge.net). His
requirements were listed as python >=2.3 and pygtk >=0.14.
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2005-10-16 14:15:31 UTC
Closing as python-2.4 is now stable.