python313Packages.boost-histogram: fix build, more checks (#438836)
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pytest-benchmark,
|
||||
pytest-xdist,
|
||||
cloudpickle,
|
||||
hypothesis,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -34,7 +37,8 @@ buildPythonPackage rec {
|
||||
owner = "scikit-hep";
|
||||
repo = "boost-histogram";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fWbvv9MiBZZiTZLu78tMR5Cx0/7xSuVIya3dkuahPE4=";
|
||||
hash = "sha256-kduE5v1oQT76MRxMuGo+snCBdJ+yOjkOJFO45twcUIs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@@ -56,6 +60,9 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-benchmark
|
||||
pytest-xdist
|
||||
cloudpickle
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pytestFlags = [ "--benchmark-disable" ];
|
||||
@@ -66,6 +73,8 @@ buildPythonPackage rec {
|
||||
"test_numpy_conversion_4"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "boost_histogram" ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for the C++14 Boost::Histogram library";
|
||||
homepage = "https://github.com/scikit-hep/boost-histogram";
|
||||
|
||||
Reference in New Issue
Block a user