summaryrefslogtreecommitdiff
path: root/sysutils/py-dbus
diff options
context:
space:
mode:
authorrxg <rxg>2006-02-11 14:55:51 +0000
committerrxg <rxg>2006-02-11 14:55:51 +0000
commit1814a46b6ac4c2fb399d45b4505b7ec564fe92a5 (patch)
tree319fbb24361b1a798894cfc3696901a0be790560 /sysutils/py-dbus
parent3481ecabfa6ca77d54e4df318da6cb0716f7b375 (diff)
downloadpkgsrc-1814a46b6ac4c2fb399d45b4505b7ec564fe92a5.tar.gz
Intial import py-dbus-0.23.4nb2.
This package provides the Python D-BUS bindings. Oked by wiz.
Diffstat (limited to 'sysutils/py-dbus')
-rw-r--r--sysutils/py-dbus/DESCR11
-rw-r--r--sysutils/py-dbus/Makefile23
-rw-r--r--sysutils/py-dbus/PLIST5
-rw-r--r--sysutils/py-dbus/buildlink3.mk24
4 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/py-dbus/DESCR b/sysutils/py-dbus/DESCR
new file mode 100644
index 00000000000..07747fd139b
--- /dev/null
+++ b/sysutils/py-dbus/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/sysutils/py-dbus/Makefile b/sysutils/py-dbus/Makefile
new file mode 100644
index 00000000000..cd8d9437459
--- /dev/null
+++ b/sysutils/py-dbus/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/11 14:55:51 rxg Exp $
+#
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+
+DBUS_INTERFACE= python
+DBUS_DIRS= dbus glib python tools
+
+.include "../../sysutils/dbus/Makefile.common"
+PKGREVISION= 2
+
+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= python
+
+PY_PATCHPLIST= YES
+
+.include "../../lang/python/extension.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-dbus/PLIST b/sysutils/py-dbus/PLIST
new file mode 100644
index 00000000000..075f1f1c19c
--- /dev/null
+++ b/sysutils/py-dbus/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/11 14:55:51 rxg Exp $
+${PYSITELIB}/dbus.py
+${PYSITELIB}/dbus.pyc
+${PYSITELIB}/dbus.pyo
+${PYSITELIB}/dbus_bindings.la
diff --git a/sysutils/py-dbus/buildlink3.mk b/sysutils/py-dbus/buildlink3.mk
new file mode 100644
index 00000000000..88f0f001402
--- /dev/null
+++ b/sysutils/py-dbus/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/02/11 14:55:51 rxg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_DBUS_BUILDLINK3_MK:= ${PY_DBUS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-dbus
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-dbus}
+BUILDLINK_PACKAGES+= py-dbus
+
+.if !empty(PY_DBUS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-dbus+= py-dbus>=0.23.4
+BUILDLINK_RECOMMENDED.py-dbus?= py-dbus>=0.23.4nb2
+BUILDLINK_PKGSRCDIR.py-dbus?= ../../sysutils/py-dbus
+.endif # PY_DBUS_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/+$//}