Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304789 - dev-python/django-1.1.1.ebuild fails on python_set_active_version()
Summary: dev-python/django-1.1.1.ebuild fails on python_set_active_version()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 22:55 UTC by michael@smith-li.com
Modified: 2010-02-14 17:39 UTC (History)
0 users

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


Attachments
django-1.1.1-there-can-be-only-one-python.patch (django-1.1.1-there-can-be-only-one-python.patch,742 bytes, patch)
2010-02-12 22:57 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description michael@smith-li.com 2010-02-12 22:55:06 UTC
"python_set_active_version() cannot be used in ebuilds of packages supporting installation for multiple versions of Python"

In the python.eclass the above function will fail if SUPPORT_PYTHON_ABIS is set. These conditions are met in the 1.1.1 ebuild. A patch will be included.

Reproducible: Always

Steps to Reproduce:
Comment 1 michael@smith-li.com 2010-02-12 22:57:12 UTC
Created attachment 219389 [details, diff]
django-1.1.1-there-can-be-only-one-python.patch

This resolves the issue by removing the offending function. Credit to ABCD in #gentoo-python for the changes, I really didn't do any of this work.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-14 17:37:31 UTC
Fixed.