wok-6.x rev 20621
pypi.python.org access with untrusted https (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 31 13:09:27 2018 +0100 (2018-12-31) |
parents | 02335b48dae1 |
children | 5f46a341be86 |
files | s3ql/receipt |
line diff
1.1 --- a/s3ql/receipt Mon Dec 31 11:54:16 2018 +0100 1.2 +++ b/s3ql/receipt Mon Dec 31 13:09:27 2018 +0100 1.3 @@ -18,6 +18,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ 1.8 + 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ 1.9 + util/distribute_setup.py 1.10 python setup.py build && 1.11 python setup.py test && 1.12 python setup.py install --root=$DESTDIR