python3Packages.mail-parser: remove version bounds on requirements.txt
This commit is contained in:
parent
903f0560af
commit
57ba772b68
@ -14,8 +14,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
LC_ALL = "en_US.utf-8";
|
LC_ALL = "en_US.utf-8";
|
||||||
|
|
||||||
|
# remove version bounds
|
||||||
|
prePatch = ''
|
||||||
|
sed -i -e 's/==.*//g' requirements.txt
|
||||||
|
''
|
||||||
# ipaddress is part of the standard library of Python 3.3+
|
# ipaddress is part of the standard library of Python 3.3+
|
||||||
prePatch = lib.optionalString (!pythonOlder "3.3") ''
|
+ lib.optionalString (!pythonOlder "3.3") ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "ipaddress" ""
|
--replace "ipaddress" ""
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user