pythonPackages.shapely: fix darwin build

This commit is contained in:
Josef Kemetmüller 2018-03-12 01:29:44 +01:00
parent 5c25232728
commit 74b81ea91c

View File

@ -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; {