Merge pull request #4001 from aherrmann/pr_mpi

mpi4py: Disable for Python3 and PyPy
This commit is contained in:
Domen Kožar 2014-09-07 19:56:34 +02:00
commit 0487521ab2

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, buildPythonPackage, mpi, openssh }: { stdenv, fetchurl, python, buildPythonPackage, mpi, openssh, isPy3k, isPyPy }:
buildPythonPackage rec { buildPythonPackage rec {
name = "mpi4py-1.3.1"; name = "mpi4py-1.3.1";
@ -45,6 +45,8 @@ buildPythonPackage rec {
# if openssh is not present. E.g. h5py with mpi support. # if openssh is not present. E.g. h5py with mpi support.
propagatedBuildInputs = [ openssh ]; propagatedBuildInputs = [ openssh ];
disabled = isPy3k || isPyPy;
meta = { meta = {
description = description =
"Python bindings for the Message Passing Interface standard"; "Python bindings for the Message Passing Interface standard";