devel/py-python-dbusmock 0.38.1 FreeBSD
Mock D-Bus objects for tests
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL3+
- Categories
- devel, python
- Package size
- 121.1 KiB, 733.0 KiB installed
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 |
|---|---|---|
| FreeBSD | devel/py-python-dbusmock | 0.38.1 |
| DragonFly | devel/py-python-dbusmock | 0.34.3 |
| MidnightBSD | devel/py-python-dbusmock | 0.38.1 |
Install
Binary package:
pkg install py312-python-dbusmock
From the ports tree:
cd /usr/ports/devel/py-python-dbusmock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-python-dbusmock>0:devel/py-python-dbusmock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.38.1 | 0.38.1 | 0.28.4 | 0.36.0 | 0.38.1 |
| FreeBSD:14:quarterly | 0.38.1 | 0.38.1 | n/a | 0.35.0 | 0.38.1 |
| FreeBSD:15:latest | 0.38.1 | 0.38.1 | n/a | 0.36.0 | 0.36.0 |
| FreeBSD:15:quarterly | 0.38.1 | 0.38.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.38.1 | 0.38.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
The full lists below include those, and their dependencies in turn.
Build dependencies 39
- archivers/brotli
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/gobject-introspection
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pygobject
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-wheel
- devel/pygobject-common
- devel/readline
- graphics/cairo
- graphics/png
- graphics/py-pycairo
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
Run dependencies 39
- archivers/brotli
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- devel/dbus
- devel/gettext-runtime
- devel/glib20
- devel/gobject-introspection
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-dbus
- devel/py-packaging
- devel/py-pygobject
- devel/py-setuptools
- devel/pygobject-common
- devel/readline
- graphics/cairo
- graphics/png
- graphics/py-pycairo
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/indexinfo
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
No port depends on this one.
Configuration
Options name: devel_python-dbusmock
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- 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
Commit history 0
No commits in the history this site was built from.