Don't build tests when built using pyproject.toml
Just like in the old setup.py let's build dbus-python without tests.
See https://gitlab.freedesktop.org/dbus/dbus-python/-/blob/master/setup.py?ref_type=heads#L94
We might also want to e.g. pass -Ddoc=false
but for my use case -Dtests=false
is enough.
Edited by Luca Weiss