forked from mirrors/nixpkgs
python2.pkgs.dbus-python: disable tests
PyGObject no longer supports Python 2.
This commit is contained in:
parent
9c33a3ff21
commit
06fc53857a
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy
|
||||
, ncurses, pygobject3 }:
|
||||
, ncurses, pygobject3, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-python";
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
# It seems not to retain the dependency anyway.
|
||||
++ lib.optional (! python ? modules) ncurses;
|
||||
|
||||
doCheck = true;
|
||||
doCheck = isPy3k;
|
||||
checkInputs = [ dbus.out pygobject3 ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue