devel/py-python-dbusmock 0.38.1 MidnightBSD
Mock D-Bus objects for tests
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
7cafc08b0b- License
- lgpl3+
- Categories
- devel, python
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-python-dbusmock | 0.38.1 |
| FreeBSD | devel/py-python-dbusmock | 0.38.1 |
| DragonFly | devel/py-python-dbusmock | 0.34.3 |
| HardenedBSD | devel/py-python-dbusmock | 0.38.1 |
| GhostBSD | devel/py-python-dbusmock | 0.38.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}python-dbusmock
From mports:
cd /usr/mports/devel/py-python-dbusmock && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}dbus>0: devel/py-dbus
Build dependencies 2
Run dependencies 1
No port depends on this one.
Configuration
Options name: devel_python-dbusmock
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- gnome python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python_dbusmock-0.38.1.tar.gz | 108144 | 221b65e1c2e48de9fd11bf7e8c165adaf91648f49a11f390d086a498386f2984 |
Master sites 1
- PYPI