void-packages/srcpkgs/python3-dbusmock/template

23 lines
738 B
Bash

# 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 <thinkabit.ukim@gmail.com>"
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
}