python3Packages.tables: 3.10.1 -> 3.10.2
https://github.com/PyTables/PyTables/releases/tag/v3.10.2
This commit is contained in:
parent
4fd2d26c40
commit
c0bab883ec
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
@ -23,14 +24,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tables";
|
pname = "tables";
|
||||||
version = "3.10.1";
|
version = "3.10.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-SqB6xzS5wDe66vRK7GTskCrSR/V4EbWfMMTjHTHxJs8=";
|
hash = "sha256-JUSBKnGG+tuoMdbdNOtJzNeI1qg/TkwrQxuDW2eWyRA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
@ -59,15 +60,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# When doing `make distclean`, ignore docs
|
# When doing `make distclean`, ignore docs
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace "src doc" "src"
|
|
||||||
# Force test suite to error when unittest runner fails
|
# Force test suite to error when unittest runner fails
|
||||||
substituteInPlace tables/tests/test_suite.py \
|
substituteInPlace tables/tests/test_suite.py \
|
||||||
--replace "return 0" "assert result.wasSuccessful(); return 0" \
|
--replace-fail "return 0" "assert result.wasSuccessful(); return 0" \
|
||||||
--replace "return 1" "assert result.wasSuccessful(); return 1"
|
--replace-fail "return 1" "assert result.wasSuccessful(); return 1"
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace tables/__init__.py \
|
||||||
--replace "cython>=0.29.21" "" \
|
--replace-fail 'find_library("blosc2")' '"${lib.getLib c-blosc}/lib/libblosc${stdenv.hostPlatform.extensions.sharedLibrary}"' '';
|
||||||
--replace "blosc2~=2.0.0" "blosc2"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Regenerate C code with Cython
|
# Regenerate C code with Cython
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user