svn commit: r521800 - in head/devel: . py-python-dbusmock

Tobias C. Berner tcberner at FreeBSD.org
Thu Jan 2 07:57:56 UTC 2020


Author: tcberner
Date: Thu Jan  2 07:57:55 2020
New Revision: 521800
URL: https://svnweb.freebsd.org/changeset/ports/521800

Log:
  [NEW PORT] devel/py-python-dbusmock: Mock D-Bus objects for tests
  
  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 at yandex.com>

Added:
  head/devel/py-python-dbusmock/
  head/devel/py-python-dbusmock/Makefile   (contents, props changed)
  head/devel/py-python-dbusmock/distinfo   (contents, props changed)
  head/devel/py-python-dbusmock/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jan  2 07:30:42 2020	(r521799)
+++ head/devel/Makefile	Thu Jan  2 07:57:55 2020	(r521800)
@@ -4912,6 +4912,7 @@
     SUBDIR += py-pytest-xprocess
     SUBDIR += py-python-Levenshtein
     SUBDIR += py-python-bugzilla
+    SUBDIR += py-python-dbusmock
     SUBDIR += py-python-distutils-extra
     SUBDIR += py-python-dtrace
     SUBDIR += py-python-easyconfig

Added: head/devel/py-python-dbusmock/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-dbusmock/Makefile	Thu Jan  2 07:57:55 2020	(r521800)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	python-dbusmock
+PORTVERSION=	0.18.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tagattie at 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>

Added: head/devel/py-python-dbusmock/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-dbusmock/distinfo	Thu Jan  2 07:57:55 2020	(r521800)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576560286
+SHA256 (python-dbusmock-0.18.3.tar.gz) = 994a178268b6d74aeb158c0f155cd141e9a0cfae14226a764cd022c4949fe242
+SIZE (python-dbusmock-0.18.3.tar.gz) = 72049

Added: head/devel/py-python-dbusmock/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-dbusmock/pkg-descr	Thu Jan  2 07:57:55 2020	(r521800)
@@ -0,0 +1,7 @@
+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


More information about the svn-ports-all mailing list