mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
With this program/Python library you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, logind, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests. WWW: https://pypi.org/project/python-dbusmock PR: 243029 Submitted by: Hiroki Tagato <tagattie@yandex.com>
23 lines
452 B
Makefile
23 lines
452 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= python-dbusmock
|
|
PORTVERSION= 0.18.3
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tagattie@yandex.com
|
|
COMMENT= Mock D-Bus objects for tests
|
|
|
|
LICENSE= LGPL3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR}
|
|
|
|
USES= gnome python
|
|
USE_GNOME= pygobject3
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|