Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366357 - dev-python/restkit requires Python 2.5 or later.
Summary: dev-python/restkit requires Python 2.5 or later.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 16:26 UTC by Dirk Tilger
Modified: 2011-11-29 20:23 UTC (History)
0 users

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


Attachments
Patch to the ebuild to rectify the issue. (diff,333 bytes, patch)
2011-05-07 16:26 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Tilger 2011-05-07 16:26:49 UTC
Created attachment 272397 [details, diff]
Patch to the ebuild to rectify the issue.

dev-python/restkit requires Python 2.5 or later, however python:2.4 is still in the portage tree and compilation will be enabled if USE_PYTHON contains 2.4.

Error message:

>>> Compiling source in /home/portage/portage/dev-python/restkit-3.0.2/work/restkit-3.0.2 ...
 * Building of dev-python/restkit-3.0.2 with CPython 2.4...
python2.4 setup.py build -b build-2.4
Restkit requires Python 2.5 or later.

Solution would be to restrict that Python ABI.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-11-29 20:19:26 UTC
PYTHON_DEPEND="2:2.5"
   
RESTRICT_PYTHON_ABIS="2.4 3*"

done
Comment 2 Mike Gilbert gentoo-dev 2011-11-29 20:23:29 UTC
+  29 Nov 2011; Mike Gilbert <floppym@gentoo.org> restkit-3.0.2.ebuild:
+  Restrict python 2.4, fixes bug 366357.