python3Packages.tables: 3.6.1 -> 3.7.0
This commit is contained in:
parent
c32c39d6f3
commit
5f1c91abf9
1 changed files with 4 additions and 12 deletions
|
@ -10,19 +10,19 @@
|
||||||
, lzo
|
, lzo
|
||||||
, numpy
|
, numpy
|
||||||
, numexpr
|
, numexpr
|
||||||
, setuptools
|
, packaging
|
||||||
# Test inputs
|
# Test inputs
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tables";
|
pname = "tables";
|
||||||
version = "3.6.1";
|
version = "3.7.0";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9";
|
sha256 = "sha256-6SqIetbyqYPlZKaZAt5KdkXDAGn8AavTU+xdolXF4f4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [ cython ];
|
||||||
|
@ -36,17 +36,9 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
numexpr
|
numexpr
|
||||||
setuptools # uses pkg_resources at runtime
|
packaging # uses packaging.version at runtime
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Needed for numpy >= 1.20.0
|
|
||||||
name = "tables-pr-862-use-lowercase-numpy-dtypes.patch";
|
|
||||||
url = "https://github.com/PyTables/PyTables/commit/93a3272b8fe754095637628b4d312400e24ae654.patch";
|
|
||||||
sha256 = "00czgxnm1dxp9763va9xw1nc7dd7kxh9hjcg9klim52519hkbhi4";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
# When doing `make distclean`, ignore docs
|
# When doing `make distclean`, ignore docs
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace "src doc" "src"
|
substituteInPlace Makefile --replace "src doc" "src"
|
||||||
|
|
Loading…
Reference in a new issue