Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338260 - dev-python/bpython-0.9.7.1 doesn't support Python 2.4
Summary: dev-python/bpython-0.9.7.1 doesn't support Python 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 07:04 UTC by James Rowe
Modified: 2010-09-21 15:16 UTC (History)
1 user (show)

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


Attachments
bpython-no_python_2_4.patch (bpython-no_python_2_4.patch,301 bytes, patch)
2010-09-21 07:05 UTC, James Rowe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Rowe 2010-09-21 07:04:54 UTC
bpython's setup.py uses conditional expressions for setup()'s scripts argument,
and therefore fails in src_compile with Python v2.4

The installed package makes use of context managers, so it also requires v2.5.  
Guess who patched setup.py for 2.4 before noticing that :)

Thanks,

James

Reproducible: Always
Comment 1 James Rowe 2010-09-21 07:05:19 UTC
Created attachment 248254 [details, diff]
bpython-no_python_2_4.patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-21 15:16:33 UTC
Fixed.