python311Packages.scikit-misc: 0.1.4 -> 0.2.0
This commit is contained in:
parent
88db8ca7dd
commit
0de704a276
|
@ -3,35 +3,41 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cython
|
, cython
|
||||||
, gfortran
|
, gfortran
|
||||||
, pytestCheckHook
|
, git
|
||||||
, numpy }:
|
, meson-python
|
||||||
|
, pkg-config
|
||||||
|
, numpy
|
||||||
|
, openblas
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "scikit-misc";
|
pname = "scikit-misc";
|
||||||
version = "0.1.4";
|
version = "0.2.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "scikit_misc";
|
||||||
hash = "sha256-93RqA0eBEGPh7PkSHflINXhQA5U8OLW6hPY/xQjCKRE=";
|
inherit version;
|
||||||
|
hash = "sha256-rBTdTpNeRC/DSrHFg7ZhHUYD0G9IgoqFx+A+LCxYK7w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytest.ini \
|
patchShebangs .
|
||||||
--replace "--cov --cov-report=xml" ""
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
cython
|
||||||
gfortran
|
gfortran
|
||||||
|
git
|
||||||
|
meson-python
|
||||||
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cython
|
|
||||||
numpy
|
numpy
|
||||||
|
openblas
|
||||||
];
|
];
|
||||||
|
|
||||||
# Tests fail because of infinite recursion error
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"skmisc"
|
"skmisc"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue