httpretty: make patch conditional on python version
This commit is contained in:
parent
db3ffaa8f0
commit
a3ef1ad66c
@ -10443,7 +10443,8 @@ in modules // {
|
|||||||
DIFF
|
DIFF
|
||||||
|
|
||||||
# Explicit encoding flag is required with python3, unless locale is set.
|
# 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 = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user