pythonPackages.azure-mgmt-network: remove patch (#59614)

The patched file has been removed in [0].

 [0]: 09b09a5839
This commit is contained in:
Lorenzo 2019-04-17 20:47:08 +02:00 committed by Robert Schütz
parent 40a84f0fa9
commit 6c6f13e9c4

View File

@ -15,12 +15,6 @@ buildPythonPackage rec {
sha256 = "cef9bf5d36700966e52f7cea86e29c622bc5bbb92d0ce7a75420e29fb0e75f45";
};
preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/network/networkresourceprovider.py
'';
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py