Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555714 - app-eselect/eselect-python - does not create pythonX-config symlinks
Summary: app-eselect/eselect-python - does not create pythonX-config symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://www.python.org/dev/peps/pep-0...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 18:37 UTC by Jason Zaman
Modified: 2016-02-06 09:16 UTC (History)
0 users

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


Attachments
0001-Add-PythonX-config-symlink.patch (0001-Add-PythonX-config-symlink.patch,819 bytes, patch)
2015-07-29 05:46 UTC, Jason Zaman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Zaman gentoo-dev 2015-07-23 18:37:15 UTC
I do not have the pythonX-config symlink on my machine. PEP0394 says it should be a symlink to pythonX.Y-config similar to how python/python3/python3.4 is handled.

# ls -1 /usr/bin/python*
/usr/bin/python
/usr/bin/python-config
/usr/bin/python-config-2.7
/usr/bin/python-config-3.4
/usr/bin/python-wrapper
/usr/bin/python2
/usr/bin/python2.7
/usr/bin/python2.7-config
/usr/bin/python3
/usr/bin/python3.4
/usr/bin/python3.4-config

Packages installed:
app-eselect/eselect-python-20111108
dev-lang/python-2.7.9-r1
dev-lang/python-3.4.1
dev-lang/python-exec-2.0.1-r1
Comment 1 Jason Zaman gentoo-dev 2015-07-29 05:46:45 UTC
Created attachment 407858 [details, diff]
0001-Add-PythonX-config-symlink.patch

Proposed patch. This just adds a symlink to pythonX.Y-config. It looks correct on my local machine.

My only reservation is that python-config (with no version) is a bash wrapper and I am not sure why or if it effects this.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-06 09:16:32 UTC
This is fixed since 20151117-r2. The new versions create python-exec wrappers for pythonX-config.