Merge pull request #153116 from rmcgibbo/tables
python3Packages.tables: 3.6.1 -> 3.7.0
This commit is contained in:
commit
90fb50d95c
1 changed files with 4 additions and 12 deletions
|
@ -10,19 +10,19 @@
|
|||
, lzo
|
||||
, numpy
|
||||
, numexpr
|
||||
, setuptools
|
||||
, packaging
|
||||
# Test inputs
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tables";
|
||||
version = "3.6.1";
|
||||
version = "3.7.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9";
|
||||
sha256 = "sha256-6SqIetbyqYPlZKaZAt5KdkXDAGn8AavTU+xdolXF4f4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
@ -36,17 +36,9 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
numpy
|
||||
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
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "src doc" "src"
|
||||
|
|
Loading…
Reference in a new issue