This package provides the Python D-BUS bindings.

This commit is contained in:
Rui-Xiang Guo 2005-11-30 13:44:46 +00:00 committed by Thomas Klausner
parent fc239155a2
commit 879d0deadd
5 changed files with 56 additions and 0 deletions

11
dbus-python/DESCR Normal file
View file

@ -0,0 +1,11 @@
D-BUS is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in terms
of complexity.
D-BUS supports broadcast messages, asynchronous messages (thus decreasing
latency), authentication, and more. It is designed to be low-overhead;
messages are sent using a binary protocol, not using XML. D-BUS also
supports a method call mapping for its messages, but it is not required;
this makes using the system quite simple.
This package provides the Python D-BUS bindings.

18
dbus-python/Makefile Normal file
View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/11/30 13:44:46 rxg Exp $
#
DBUS_INTERFACE= python
DBUS_DIRS= dbus glib python tools
.include "../../sysutils/dbus/Makefile.common"
DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex
# We can't install from within the 'dbus' nor 'tools' directory automatically
# because we'd get a lot of other stuff installed (overriding files in the
# dbus package).
INSTALL_DIRS= ${WRKSRC}/python
.include "../../lang/python/pyversion.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
dbus-python/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/30 13:44:46 rxg Exp $
lib/libdbus_bindings.la

2
dbus-python/TODO Normal file
View file

@ -0,0 +1,2 @@
* use buildlink3.mk for pyrex.
* fix the warning messages during building.

23
dbus-python/buildlink3.mk Normal file
View file

@ -0,0 +1,23 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/30 13:44:46 rxg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DBUS_PYTHON_BUILDLINK3_MK:= ${DBUS_PYTHON_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= dbus-python
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndbus-python}
BUILDLINK_PACKAGES+= dbus-python
.if !empty(DBUS_PYTHON_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.dbus-python+= dbus-python>=0.23.4
BUILDLINK_PKGSRCDIR.dbus-python?= ../../sysutils/dbus-python
.endif # DBUS_PYTHON_BUILDLINK3_MK
.include "../../lang/python/pyversion.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}