Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449674 - python-utils-r1.eclass: allow *'python3 '* and *'python2 '* for _python_rewrite_shebang
Summary: python-utils-r1.eclass: allow *'python3 '* and *'python2 '* for _python_rewri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL: http://thread.gmane.org/gmane.linux.g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-01 17:36 UTC by Julian Ospald
Modified: 2013-01-07 23:01 UTC (History)
2 users (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 Julian Ospald 2013-01-01 17:36:38 UTC
ebuild in bug 433840 has to workaround this

error message without the workaround is:

* A file does not seem to have a supported shebang:
 *   file: /var/tmp/portage/x11-misc/dex-0.6/image//usr/bin/dex-python3.1
 *   shebang: #!/usr/bin/env python3
 * ERROR: x11-misc/dex-0.6 failed (install phase):
 *   _python_rewrite_shebang: /var/tmp/portage/x11-misc/dex-0.6/image//usr/bin/dex-python3.1 does not seem to have a valid shebang
 * 


and makes python_replicate_script fail
Comment 1 Sergey Popov (RETIRED) gentoo-dev 2013-01-07 23:01:25 UTC
Works fine, thanks