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
|
{ lib, fetchPypi, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy
|
||||||
, ncurses, pygobject3 }:
|
, ncurses, pygobject3, isPy3k }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dbus-python";
|
pname = "dbus-python";
|
||||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||||
# It seems not to retain the dependency anyway.
|
# It seems not to retain the dependency anyway.
|
||||||
++ lib.optional (! python ? modules) ncurses;
|
++ lib.optional (! python ? modules) ncurses;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = isPy3k;
|
||||||
checkInputs = [ dbus.out pygobject3 ];
|
checkInputs = [ dbus.out pygobject3 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue