diff --git a/srcpkgs/python3-dbusmock/template b/srcpkgs/python3-dbusmock/template new file mode 100644 index 00000000000..43467480d1c --- /dev/null +++ b/srcpkgs/python3-dbusmock/template @@ -0,0 +1,22 @@ +# Template file for 'python3-dbusmock' +pkgname=python3-dbusmock +version=0.18 +revision=1 +noarch=yes +wrksrc="python-dbusmock-${version}" +build_style=python3-module +pycompile_module="dbusmock" +hostmakedepends="python3-setuptools" +depends="python3-dbus python3-gobject" +checkdepends="python3-nose python3-dbus python3-gobject upower bluez + NetworkManager" +short_desc="Python3 library to mock D-Bus objects for testing" +maintainer="maxice8 " +license="LGPL-3.0-or-later" +homepage="https://github.com/martinpitt/python-dbusmock" +distfiles="${PYPI_SITE}/p/python-dbusmock/python-dbusmock-${version}.tar.gz" +checksum=7721e2db4f99a1901389431f02dd4f6bde03a8e541fa5a39bcbf805bb15eb82a + +do_check() { + python3 setup.py test +}