Merge pull request #310421 from mweinelt/bsddb3-tests
python312Packages.bsddb3: disable tests
This commit is contained in:
commit
5c0c6e1492
1 changed files with 9 additions and 1 deletions
|
@ -1,22 +1,30 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, setuptools
|
||||||
, pkgs
|
, pkgs
|
||||||
, python
|
, python
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bsddb3";
|
pname = "bsddb3";
|
||||||
version = "6.2.9";
|
version = "6.2.9";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801";
|
sha256 = "70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ pkgs.db ];
|
buildInputs = [ pkgs.db ];
|
||||||
|
|
||||||
|
doCheck = pythonOlder "3.12"; # distutils usage
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} test.py
|
${python.interpreter} test.py
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue