pythonPackages.pyarrow: fix build

Setting setupPyBuildFlags makes builder add an additional target
"build_ext" to setup.py arguments in addition to "bdisst_wheel".
pyarrow's setup.py recently started to try to redo build_ext again which
broke the build.
This commit is contained in:
Dmitry Kalinkin 2019-03-26 00:05:59 -04:00
parent 796a8764ab
commit 49e9194b24
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -16,6 +16,7 @@ buildPythonPackage rec {
checkInputs = [ hypothesis pandas pytest ]; checkInputs = [ hypothesis pandas pytest ];
PYARROW_BUILD_TYPE = "release"; PYARROW_BUILD_TYPE = "release";
PYARROW_WITH_PARQUET = true;
PYARROW_CMAKE_OPTIONS = [ PYARROW_CMAKE_OPTIONS = [
"-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib" "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"
@ -48,8 +49,6 @@ buildPythonPackage rec {
ARROW_HOME = _arrow-cpp; ARROW_HOME = _arrow-cpp;
PARQUET_HOME = _arrow-cpp; PARQUET_HOME = _arrow-cpp;
setupPyBuildFlags = ["--with-parquet" ];
checkPhase = '' checkPhase = ''
mv pyarrow/tests tests mv pyarrow/tests tests
rm -rf pyarrow rm -rf pyarrow