buildrootschalter/package/python
Samuel Martin e1584b7d33 python: rework python symlinks installation
This change adds a patch to python disabling the installation of the
python and python-config symlinks.

This allows Buildroot to control these symlinks' installation:

* the python symlink should be unconditionally installed in the target
  tree, and the python-config symlink in the staging tree, since it is
  only built and installed in the target tree if the user selected it;

* the python and python-config symlinks should only be installed in
  the host tree when python(2) is the selection of the user for the
  target.
  Otherwise, when python3 is selected for the target, the host-python
  may be required to built some packages. In such cases, the python
  symlink should points to python3 (so should the python-config
  symlink) to reflect the staging/target tree.

[Thomas: fix comments according to Yann's suggestions, and replaced
python(2) by python2, as suggested by Yann.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-05 15:31:19 +02:00
..
Config.in
python-001-remove-host-header-path.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-002-fix-get-python-inc.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-003-properly-detect-if-python-build.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-004-sysconfigdata-install-location.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-005-pyc-pyo-conditional.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-006-cross-compile-getaddrinfo.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-007-disable-extensions.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-008-distutils-use-python-sysroot.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-009-no-termcap-host-path.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-010-fix-python-config.patch python: fixup python-config script 2014-03-02 15:20:16 +01:00
python-011-remove-python-symlink.patch python: rework python symlinks installation 2014-04-05 15:31:19 +02:00
python-100-optional-test-modules.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-101-optional-pydoc.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-102-optional-2to3.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-103-optional-sqlite.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-104-optional-tk.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-105-optional-curses.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-106-optional-expat.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-107-optional-codecs-cjk.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-108-optional-nis.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-109-optional-unicodedata.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-110-optional-db.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-111-optional-ssl.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-112-optional-bzip2.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python-113-optional-zlib.patch python: bump to 2.7.6 2014-02-14 21:41:43 +01:00
python.mk python: rework python symlinks installation 2014-04-05 15:31:19 +02:00