Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325895 - dev-python/pygobject does not work with Python 2.4
Summary: dev-python/pygobject does not work with Python 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-27 22:49 UTC by Robert Buchholz (RETIRED)
Modified: 2010-09-09 19:51 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 Robert Buchholz (RETIRED) gentoo-dev 2010-06-27 22:49:16 UTC
dev-python/pygobject-2.20.0 states:

SUPPORT_PYTHON_ABIS="1"
...
RESTRICT_PYTHON_ABIS="3.*"

However, its syntax is not valid in Python 2.4:

$ python2.4 /usr/lib64/python2.4/site-packages/gtk-2.0/girepository/btypes.py
  File "/usr/lib64/python2.4/site-packages/gtk-2.0/girepository/btypes.py", line 24
    from . import repo
         ^
SyntaxError: invalid syntax
Comment 1 Pacho Ramos gentoo-dev 2010-09-02 10:41:21 UTC
Should we also RESTRICT 2.4 then?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-09 19:51:04 UTC
+  09 Sep 2010; Gilles Dartiguelongue <eva@gentoo.org>
+  -pygobject-2.18.0.ebuild, -pygobject-2.18.0-r2.ebuild,
+  pygobject-2.20.0.ebuild:
+  Depend on python >=2.5, bug #325895. Clean up old revisions.

Fixed, thanks for reporting.