Update openssl patch from 1.0.2p to 1.0.2q on macOS

This commit is contained in:
mayeut
2019-01-07 18:34:46 +01:00
committed by Matthieu Darbois
parent 0b4475ed07
commit 586b3c7197
+1 -1
View File
@@ -55,7 +55,7 @@ def build(project_dir, output_dir, test_command, test_requires, before_build, bu
call(['sudo', 'installer', '-pkg', '/tmp/Python.pkg', '-target', '/'])
# patch open ssl
if config.version in ('3.4', '3.5'):
call(['curl', '-fsSLo', '/tmp/python-patch.tar.gz', 'https://github.com/mayeut/patch-macos-python-openssl/releases/download/v1.0.2p/patch-macos-python-%s-openssl-v1.0.2p.tar.gz' % config.version])
call(['curl', '-fsSLo', '/tmp/python-patch.tar.gz', 'https://github.com/mayeut/patch-macos-python-openssl/releases/download/v1.0.2q/patch-macos-python-%s-openssl-v1.0.2q.tar.gz' % config.version])
call(['sudo', 'tar', '-C', '/Library/Frameworks/Python.framework/Versions/%s/' % config.version, '-xmf', '/tmp/python-patch.tar.gz'])
installation_bin_path = '/Library/Frameworks/Python.framework/Versions/{}/bin'.format(config.version)