diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-06-29 20:48:31 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-06-29 22:09:51 +0200 |
commit | d779e82840e3c9d58d86957d412fa6098e2a7157 (patch) | |
tree | a9cc647e8613b31f7a26bac904627d0ea5f9b62b /package/python/011-remove-python-symlink.patch | |
parent | e63ea7faa26faa4464045c4def88de5df01f3ec5 (diff) | |
download | buildroot-d779e82840e3c9d58d86957d412fa6098e2a7157.tar.gz buildroot-d779e82840e3c9d58d86957d412fa6098e2a7157.zip |
package/python: bump version to 2.7.12
Rebased 011-remove-python-symlink.patch
[Peter: correct .hash file comment as pointed out by Baruch]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python/011-remove-python-symlink.patch')
-rw-r--r-- | package/python/011-remove-python-symlink.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/package/python/011-remove-python-symlink.patch b/package/python/011-remove-python-symlink.patch index b0548c31df..fed46f0b86 100644 --- a/package/python/011-remove-python-symlink.patch +++ b/package/python/011-remove-python-symlink.patch @@ -5,20 +5,22 @@ Buildroot needs to control to what python interpreter (python2 or python3) the python symlink points to. Signed-off-by: Samuel Martin <s.martin49@gmail.com> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> +(rebased against version 2.7.12) Index: b/Makefile.pre.in =================================================================== --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -890,17 +890,10 @@ - # $(PYTHON) -> python2 -> python$(VERSION)) - # Also create equivalent chains for other installed files - bininstall: altbininstall +@@ -974,17 +974,11 @@ + echo "Creating directory $(LIBPC)"; \ + $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \ + fi - -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \ - then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ - else true; \ - fi -- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON)) + (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON)) -rm -f $(DESTDIR)$(BINDIR)/python2$(EXE) (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE)) -rm -f $(DESTDIR)$(BINDIR)/python2-config |