python: Update to 2.7.13

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-04-28 13:10:41 +02:00
parent a3366d419f
commit 66f3b51d6d
2 changed files with 25 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
include Config
VER = 2.7.10
VER = 2.7.13
THISAPP = Python-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = c685ef0b8e9f27b5e3db5db12b268ac6
$(DL_FILE)_MD5 = 53b43534153bb2a0363f08bae8b9d990
install : $(TARGET)
@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
rm -rf $(DIR_APP)/Modules/_ctypes/{darwin,libffi,libffi_arm_wince,libffi_msvc,libffi_osx}
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/python-2.7.13-getentropy.patch
cd $(DIR_APP) && OPT="$(CFLAGS)" ./configure \
--prefix=/usr --enable-shared --with-system-ffi
cd $(DIR_APP) && make $(MAKETUNING)