BSD Ports

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

SystemPortVersion
MidnightBSDdevel/py-python-dbusmock0.38.1
FreeBSDdevel/py-python-dbusmock0.38.1
DragonFlydevel/py-python-dbusmock0.34.3
HardenedBSDdevel/py-python-dbusmock0.38.1
GhostBSDdevel/py-python-dbusmock0.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

Runtime 1

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

Options name: devel_python-dbusmock

OptionDefaultDescription
DOCSoff
USES
gnome python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
python_dbusmock-0.38.1.tar.gz108144221b65e1c2e48de9fd11bf7e8c165adaf91648f49a11f390d086a498386f2984
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
7cafc08b0b Lucas Holt devel/py-python-dbusmock: update to 0.38.1 (#1001)
Updates python-dbusmock from 0.22.0 to 0.38.1. - Migrates the package to PEP 517 with its upstream build requirements. - Corrects source-declared LGPLv3-or-later metadata to `lgpl3+`. - Restores upstream unittest coverage and fixes its test-only hard-coded `/usr/bin/python3` service activation path to use the selected Python interpreter. - Adds optional README documentation and moves WWW to the Makefile. Validated: bmake makesum, patch, build, fake, clean package, test (166 run, 74 upstream skips), check-license, portlint -C (0 fatal), and git diff --check. ## Summary by Sourcery Update the python-dbusmock port to 0.38.1 and align its packaging, metadata, documentation, and test configuration with the newer upstream release. New Features: …