diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-01-13 00:18:25 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-01-13 00:35:41 +0000 |
commit | 21dcb764503e1cbefb1b795a3e05ac54fda6d0b4 (patch) | |
tree | 9702b62d3256f93e29055352fca45301cb4733e1 /nixpkgs/pkgs/development/python-modules | |
parent | 11ffba1f8f51d8b7b41c0d34947185689926fcfc (diff) | |
download | nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar.gz nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar.bz2 nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar.lz nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar.xz nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.tar.zst nixlib-21dcb764503e1cbefb1b795a3e05ac54fda6d0b4.zip |
python3.pkgs.publicsuffix: fix build
This patch has not been necessary since 5425867bfa3e4ba83a3d67aa50b811b5f70d6fe5, and has in fact broken the build since then.
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/publicsuffix/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/publicsuffix/default.nix b/nixpkgs/pkgs/development/python-modules/publicsuffix/default.nix index 027b017c23ec..92a1f7c43a72 100644 --- a/nixpkgs/pkgs/development/python-modules/publicsuffix/default.nix +++ b/nixpkgs/pkgs/development/python-modules/publicsuffix/default.nix @@ -12,9 +12,7 @@ buildPythonPackage rec { # fix the ASCII-mode LICENSE file read # disable test_fetch and the doctests (which also invoke fetch) - patchPhase = stdenv.lib.optionalString isPy3k '' - sed -i "s/)\.read(/,encoding='utf-8'\0/" setup.py - '' + '' + patchPhase = '' sed -i -e "/def test_fetch/i\\ \\t@unittest.skip('requires internet')" -e "/def additional_tests():/,+1d" tests.py ''; |