httpretty: make patch conditional on python version

This commit is contained in:
Allen Nelson 2016-04-25 12:25:01 -05:00
parent db3ffaa8f0
commit a3ef1ad66c

View file

@ -10443,7 +10443,8 @@ in modules // {
DIFF
# Explicit encoding flag is required with python3, unless locale is set.
patch -p0 -i ${../development/python-modules/httpretty/setup.py.patch}
${if !self.isPy3k then "" else
"patch -p0 -i ${../development/python-modules/httpretty/setup.py.patch}"}
'';
meta = {