python3Packages.clifford: 1.3.1 -> 1.4.0
This commit is contained in:
parent
ca57fe27a0
commit
5791d8184f
1 changed files with 18 additions and 20 deletions
|
@ -1,9 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
, pythonOlder
|
||||||
, isPy27
|
|
||||||
, future
|
|
||||||
, h5py
|
, h5py
|
||||||
, ipython
|
, ipython
|
||||||
, numba
|
, numba
|
||||||
|
@ -15,25 +13,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "clifford";
|
pname = "clifford";
|
||||||
version = "1.3.1";
|
version = "1.4.0";
|
||||||
disabled = isPy27;
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
|
sha256 = "sha256-eVE8FrD0YHoRreY9CrNb8v4v4KrG83ZU0oFz+V+p+Q0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Compatibility with h5py 3.
|
|
||||||
# Will be included in the next releasse after 1.3.1
|
|
||||||
url = "https://github.com/pygae/clifford/pull/388/commits/955d141662c68d3d61aa50a162b39e656684c208.patch";
|
|
||||||
sha256 = "0pkpwnk0kfdxsbzsxqlqh8kgif17l5has0mg31g3kyp8lncj89b1";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
future
|
|
||||||
h5py
|
h5py
|
||||||
numba
|
numba
|
||||||
numpy
|
numpy
|
||||||
|
@ -55,15 +44,24 @@ buildPythonPackage rec {
|
||||||
"veryslow"
|
"veryslow"
|
||||||
"test_algebra_initialisation"
|
"test_algebra_initialisation"
|
||||||
"test_cga"
|
"test_cga"
|
||||||
"test_estimate_rotor_sequential[random_sphere]"
|
"test_grade_projection"
|
||||||
|
"test_multiple_grade_projection"
|
||||||
|
"test_inverse"
|
||||||
|
"test_inv_g4"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Disable failing tests
|
||||||
|
"test_g3c_tools.py"
|
||||||
|
"test_multivector_inverse.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "clifford" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Numerical Geometric Algebra Module";
|
description = "Numerical Geometric Algebra Module";
|
||||||
homepage = "https://clifford.readthedocs.io";
|
homepage = "https://clifford.readthedocs.io";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = with maintainers; [ costrouc ];
|
||||||
# many TypeError's in tests
|
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue