python.pkgs.bsddb3: enable python3 and tests
This commit is contained in:
parent
a36f49b9d6
commit
ca7fa914c3
@ -3,12 +3,12 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pkgs
|
, pkgs
|
||||||
, isPy3k
|
, isPy3k
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bsddb3";
|
pname = "bsddb3";
|
||||||
version = "6.2.6";
|
version = "6.2.6";
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -17,8 +17,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
buildInputs = [ pkgs.db ];
|
buildInputs = [ pkgs.db ];
|
||||||
|
|
||||||
# Judging from SyntaxError in test
|
checkPhase = ''
|
||||||
doCheck = false; # test suite breaks python3 compatibility
|
${python.interpreter} test.py
|
||||||
|
'';
|
||||||
|
|
||||||
# Path to database need to be set.
|
# Path to database need to be set.
|
||||||
# Somehow the setup.py flag is not propagated.
|
# Somehow the setup.py flag is not propagated.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user