# HG changeset patch # User Pascal Bellard # Date 1546258167 -3600 # Node ID dd16469e1b32534ff8537ca9886d3227c345d5a4 # Parent 02335b48dae16feb6987b8b17fe96d9f41f4e335 pypi.python.org access with untrusted https (again) diff -r 02335b48dae1 -r dd16469e1b32 s3ql/receipt --- a/s3ql/receipt Mon Dec 31 11:54:16 2018 +0100 +++ b/s3ql/receipt Mon Dec 31 13:09:27 2018 +0100 @@ -18,6 +18,9 @@ # Rules to configure and make the package. compile_rules() { + sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ + 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ + util/distribute_setup.py python setup.py build && python setup.py test && python setup.py install --root=$DESTDIR