Revert "python: don't use libressl for host build"
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 11 Jan 2017 09:07:22 +0000 (11:07 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 11 Jan 2017 13:12:20 +0000 (15:12 +0200)
This reverts commit ca800e60b040a2b409801560dc16dbcac6cba2b1.

lang/python/Makefile
lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch [deleted file]

index b0d4330db2733b711a8d3169520e7b6caa116d67..ae9a2146ebe5e312ea71f10db43d0315d2bcbdcd 100644 (file)
@@ -12,7 +12,7 @@ include ./files/python-version.mk
 
 PKG_NAME:=python
 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
-PKG_RELEASE:=2
+PKG_RELEASE:=1
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
diff --git a/lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch b/lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch
deleted file mode 100644 (file)
index 1a442e0..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -859,7 +859,7 @@ class PyBuildExt(build_ext):
-         min_openssl_ver = 0x00907000
-         have_any_openssl = ssl_incs is not None and ssl_libs is not None
--        have_usable_openssl = (have_any_openssl and
-+        have_usable_openssl = cross_compiling and (have_any_openssl and
-                                openssl_ver >= min_openssl_ver)
-         if have_any_openssl: