wok-6.x rev 20622
pypi.python.org access with untrusted https (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 31 13:58:30 2018 +0100 (2018-12-31) |
parents | dd16469e1b32 |
children | f729a14d0687 |
files | snimpy/receipt |
line diff
1.1 --- a/snimpy/receipt Mon Dec 31 13:09:27 2018 +0100 1.2 +++ b/snimpy/receipt Mon Dec 31 13:58:30 2018 +0100 1.3 @@ -16,6 +16,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i 's|^import snimpy|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \ 1.8 + setup.py 1.9 python setup.py build && 1.10 python setup.py install --root=$DESTDIR 1.11 }