python3Packages.httplib2: drop upstreamed patch (fails to apply)
``` $ nix build -f. python3Packages.httplib2 -L ... python3.9-httplib2> patching sources python3.9-httplib2> applying patch /nix/store/gbpay7j261cbshpnkfgvp3lbnwa41p89-08d6993b69256fbc6c0b1c615c24910803c4d610.patch python3.9-httplib2> patching file tests/test_http.py python3.9-httplib2> Reversed (or previously applied) patch detected! Assume -R? [n] python3.9-httplib2> Apply anyway? [n] python3.9-httplib2> Skipping patch. python3.9-httplib2> 1 out of 1 hunk ignored -- saving rejects to file tests/test_http.py.rej ```
This commit is contained in:
parent
aa8044d673
commit
ae842d0f74
1 changed files with 0 additions and 9 deletions
|
@ -2,7 +2,6 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, isPy27
|
, isPy27
|
||||||
, mock
|
, mock
|
||||||
, pyparsing
|
, pyparsing
|
||||||
|
@ -25,14 +24,6 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-1zqs3YRVtm5DwewETLtRg5XhMJPJsMi0QLfeGirOURs=";
|
sha256 = "sha256-1zqs3YRVtm5DwewETLtRg5XhMJPJsMi0QLfeGirOURs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# fix test_inject_space
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/httplib2/httplib2/commit/08d6993b69256fbc6c0b1c615c24910803c4d610.patch";
|
|
||||||
sha256 = "0kbd1skn58m20kfkh4qzd66g9bvj31xlkbhsg435dkk4qz6l3yn3";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "/--cov/d" setup.cfg
|
sed -i "/--cov/d" setup.cfg
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue