python38Packages.bidict: Remove stale patch, use pytestCheckHook
This commit is contained in:
parent
9c6ca673a7
commit
f1478a78ff
|
@ -3,7 +3,7 @@
|
||||||
, sphinx
|
, sphinx
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, py
|
, py
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
, sortedcollections
|
, sortedcollections
|
||||||
, sortedcontainers
|
, sortedcontainers
|
||||||
|
@ -23,23 +23,14 @@ buildPythonPackage rec {
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ sphinx ];
|
propagatedBuildInputs = [ sphinx ];
|
||||||
|
|
||||||
# this can be removed >0.19.0
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "setuptools_scm < 4" "setuptools_scm"
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
hypothesis
|
hypothesis
|
||||||
py
|
py
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytest-benchmark
|
pytest-benchmark
|
||||||
sortedcollections
|
sortedcollections
|
||||||
sortedcontainers
|
sortedcontainers
|
||||||
];
|
];
|
||||||
checkPhase = ''
|
|
||||||
pytest tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/jab/bidict";
|
homepage = "https://github.com/jab/bidict";
|
||||||
|
|
Loading…
Reference in a new issue