Skip to content

Commit

Permalink
pythonPackages.shapely: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
knedlsepp committed Mar 12, 2018
1 parent 5c25232 commit 74b81ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/shapely/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ buildPythonPackage rec {
sed -i "s|free = load_dll('c').free|free = load_dll('c', fallbacks=['${stdenv.cc.libc}/lib/${libc}']).free|" shapely/geos.py
'';

# tests/test_voctorized fails because the vectorized extension is not
# available in when running tests
# Disable the tests that improperly try to use the built extensions
checkPhase = ''
py.test --ignore tests/test_vectorized.py
py.test -k 'not test_vectorized and not test_fallbacks' tests
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 74b81ea

Please sign in to comment.