void-packages/srcpkgs/python3-dbusmock/template

23 lines
784 B
Bash

# Template file for 'python3-dbusmock'
pkgname=python3-dbusmock
version=0.18.1
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="https://github.com/martinpitt/python-dbusmock/releases/download/${version}/python-dbusmock-${version}.tar.gz"
checksum=b0bccb1fd1534e1ad29ba566d68ee72c16893a0cae17655893844556cc1540c2
do_check() {
python3 setup.py test
}