From eab3688432ea0609370d1c25ea1f556faa139dbf Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 28 Jan 2017 00:27:18 +0800 Subject: [PATCH] Updated Makefile and README for 2.7-b2 --- Makefile | 9 +++++---- README.rst | 11 ++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 2bc19d2..9377990 100644 --- a/Makefile +++ b/Makefile @@ -21,14 +21,14 @@ # Current director PROJECT_DIR=$(shell pwd) -BUILD_NUMBER=1 +BUILD_NUMBER=2 # Version of packages that will be compiled by this meta-package -PYTHON_VERSION=2.7.12 +PYTHON_VERSION=2.7.13 PYTHON_VER=$(basename $(PYTHON_VERSION)) OPENSSL_VERSION_NUMBER=1.0.2 -OPENSSL_REVISION=h +OPENSSL_REVISION=k OPENSSL_VERSION=$(OPENSSL_VERSION_NUMBER)$(OPENSSL_REVISION) BZIP2_VERSION=1.0.6 @@ -227,7 +227,8 @@ else cp -f $(PROJECT_DIR)/patch/Python/Setup.embedded $$(PYTHON_DIR-$1)/Modules/Setup.embedded cd $$(PYTHON_DIR-$1) && PATH=$(PROJECT_DIR)/$(PYTHON_DIR-macOS)/python/bin:$(PATH) ./configure \ CC="$$(CC-$1)" LD="$$(CC-$1)" \ - --host=$$(MACHINE_DETAILED-$1)-apple-ios --build=x86_64-apple-darwin$(shell uname -r) \ + --host=$$(MACHINE_DETAILED-$1)-apple-$(shell echo $2 | tr '[:upper:]' '[:lower:]') \ + --build=x86_64-apple-darwin$(shell uname -r) \ --prefix=$(PROJECT_DIR)/$$(PYTHON_DIR-$1)/dist \ --without-pymalloc --without-doc-strings --disable-ipv6 --without-ensurepip \ ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no \ diff --git a/README.rst b/README.rst index 8f17d0e..9bf1ebb 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Python Apple Support ==================== -**This repository branch builds a packaged version of Python 2.7.12**. +**This repository branch builds a packaged version of Python 2.7.13**. Other Python versions are available by cloning other branches of the main repository. @@ -27,6 +27,7 @@ for watchOS. This should enable the code to run on: - iPhone 6 Plus - iPhone 6s - iPhone 6s Plus + - iPhone 7 * iPad Pro * iPad - iPad 2 @@ -72,10 +73,10 @@ This should: The build products will be in the `build` directory; the compiled frameworks will be in the `dist` directory. -.. _for macOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b1/Python-2.7-macOS-support.b1.tar.gz -.. _for iOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b1/Python-2.7-iOS-support.b1.tar.gz -.. _for tvOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b1/Python-2.7-tvOS-support.b1.tar.gz -.. _for watchOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b1/Python-2.7-watchOS-support.b1.tar.gz +.. _for macOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b2/Python-2.7-macOS-support.b2.tar.gz +.. _for iOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b2/Python-2.7-iOS-support.b2.tar.gz +.. _for tvOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b2/Python-2.7-tvOS-support.b2.tar.gz +.. _for watchOS: https://github.com/pybee/Python-Apple-support/releases/download/2.7-b2/Python-2.7-watchOS-support.b2.tar.gz Acknowledgements ----------------