Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419039 - x11-libs/flowcanvas-0.7.1 configure failure due to assumed python-2 eselect
Summary: x11-libs/flowcanvas-0.7.1 configure failure due to assumed python-2 eselect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 14:52 UTC by Ian Stakenvicius (RETIRED)
Modified: 2012-06-01 20:00 UTC (History)
0 users

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


Attachments
updated ebuild that builds when python-3 is eselected (flowcanvas-0.7.1-r1.ebuild,1009 bytes, text/plain)
2012-06-01 14:52 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2012-06-01 14:52:33 UTC
Created attachment 313831 [details]
updated ebuild that builds when python-3 is eselected

It seems that 'waf', which is the build system used for flowcanvas, will not work with python-3.  I attempted to patch the shebangs to specify python-2 instead of simply python, but this seemed to make no difference.

Attached is a patched ebuild that #1 - uses the 'waf-utils' eclass to simplify the ebuild, and #2 - uses the necessary bits of python.eclass to ensure a python-2 is used.

(note that I didn't change the package's KEYWORDS, but I expect that if this adjustment is acceptable that it could replace the existing ebuild for flowcanvas-0.7.1 directly)
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2012-06-01 20:00:03 UTC
+  01 Jun 2012; Ian Stakenvicius <axs@gentoo.org> flowcanvas-0.7.1.ebuild:
+  cleaned up ebuild, added logic to switch to python2 as required for this
+  particular waf, bug 419039 , thanks to aballier
+