# HG changeset patch # User Pascal Bellard # Date 1546261110 -3600 # Node ID 5f46a341be86b1072dc75eaa7e3b3b7eae3fb32f # Parent dd16469e1b32534ff8537ca9886d3227c345d5a4 pypi.python.org access with untrusted https (again) diff -r dd16469e1b32 -r 5f46a341be86 snimpy/receipt --- a/snimpy/receipt Mon Dec 31 13:09:27 2018 +0100 +++ b/snimpy/receipt Mon Dec 31 13:58:30 2018 +0100 @@ -16,6 +16,8 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|^import snimpy|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \ + setup.py python setup.py build && python setup.py install --root=$DESTDIR }