From 879d0deaddb25c279c44c1565606b38b06bb525d Mon Sep 17 00:00:00 2001 From: Rui-Xiang Guo Date: Wed, 30 Nov 2005 13:44:46 +0000 Subject: [PATCH] This package provides the Python D-BUS bindings. --- dbus-python/DESCR | 11 +++++++++++ dbus-python/Makefile | 18 ++++++++++++++++++ dbus-python/PLIST | 2 ++ dbus-python/TODO | 2 ++ dbus-python/buildlink3.mk | 23 +++++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 dbus-python/DESCR create mode 100644 dbus-python/Makefile create mode 100644 dbus-python/PLIST create mode 100644 dbus-python/TODO create mode 100644 dbus-python/buildlink3.mk diff --git a/dbus-python/DESCR b/dbus-python/DESCR new file mode 100644 index 0000000000..07747fd139 --- /dev/null +++ b/dbus-python/DESCR @@ -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. diff --git a/dbus-python/Makefile b/dbus-python/Makefile new file mode 100644 index 0000000000..aa044abcb4 --- /dev/null +++ b/dbus-python/Makefile @@ -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" diff --git a/dbus-python/PLIST b/dbus-python/PLIST new file mode 100644 index 0000000000..5d801ff5c4 --- /dev/null +++ b/dbus-python/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/30 13:44:46 rxg Exp $ +lib/libdbus_bindings.la diff --git a/dbus-python/TODO b/dbus-python/TODO new file mode 100644 index 0000000000..c5446681c9 --- /dev/null +++ b/dbus-python/TODO @@ -0,0 +1,2 @@ +* use buildlink3.mk for pyrex. +* fix the warning messages during building. diff --git a/dbus-python/buildlink3.mk b/dbus-python/buildlink3.mk new file mode 100644 index 0000000000..601532a315 --- /dev/null +++ b/dbus-python/buildlink3.mk @@ -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/+$//}