pythonPackages.sfepy: 2019.4 -> 2020.4
This commit is contained in:
parent
ed626755b2
commit
28360094d8
@ -9,15 +9,21 @@
|
|||||||
, cython
|
, cython
|
||||||
, python
|
, python
|
||||||
, sympy
|
, sympy
|
||||||
|
, meshio
|
||||||
|
, mpi4py
|
||||||
|
, psutil
|
||||||
|
, openssh
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "sfepy_${version}";
|
name = "sfepy";
|
||||||
version = "2019.4";
|
version = "2020.4";
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url="https://github.com/sfepy/sfepy/archive/release_${version}.tar.gz";
|
url="https://github.com/sfepy/sfepy/archive/release_${version}.tar.gz";
|
||||||
sha256 = "1l9vgcw09l6bwhgfzlbn68fzpvns25r6nkd1pcp7hz5165hs6zzn";
|
sha256 = "1wb0ik6kjg3mksxin0abr88bhsly67fpg36qjdzabhj0xn7j1yaz";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -28,12 +34,15 @@ buildPythonPackage rec {
|
|||||||
pyparsing
|
pyparsing
|
||||||
tables
|
tables
|
||||||
sympy
|
sympy
|
||||||
|
meshio
|
||||||
|
mpi4py
|
||||||
|
psutil
|
||||||
|
openssh
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# broken test
|
# broken tests
|
||||||
rm tests/test_homogenization_perfusion.py
|
rm tests/test_meshio.py
|
||||||
rm tests/test_splinebox.py
|
|
||||||
|
|
||||||
# slow tests
|
# slow tests
|
||||||
rm tests/test_input_*.py
|
rm tests/test_input_*.py
|
||||||
@ -47,6 +56,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export OMPI_MCA_plm_rsh_agent=${openssh}/bin/ssh
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
mv sfepy sfepy.hidden
|
mv sfepy sfepy.hidden
|
||||||
mkdir -p $HOME/.matplotlib
|
mkdir -p $HOME/.matplotlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user