Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388137 - sys-apps/seabios-0.6.3_pre20010817 is using system python while supporting only python2
Summary: sys-apps/seabios-0.6.3_pre20010817 is using system python while supporting on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 18:46 UTC by Alon Bar-Lev
Modified: 2012-01-18 19:17 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 Alon Bar-Lev 2011-10-22 18:46:03 UTC
Workaround:

EPYTHON=python2 emerge --oneshot sys-apps/seabios

This package has no configure or any override, it uses plain:
#!/usr/bin/env python

So either use python eclass to rewrite the header or force python2.
Comment 1 Chris Mayo 2011-10-23 12:06:02 UTC
Adding:
pkg_setup() {
    python_set_active_version 2
}

did fix this for me but meant dropping the EAPI to 3 to allow inherit python.
Comment 2 Chris Mayo 2011-10-23 12:07:04 UTC
Shouldn't have just copied and pasted - works fine with EAPI 4 now.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-01-17 22:37:05 UTC
This should be fixed in the tree.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-01-18 14:02:40 UTC
You should add build-time dependency on Python 2.