diff options
author | drochner <drochner@pkgsrc.org> | 2012-08-01 18:01:24 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-08-01 18:01:24 +0000 |
commit | 86b89363ab906655287c45e8a965698f6d6a42b3 (patch) | |
tree | c20eb4874a1ec1a008c45c08cdff1e3ba96c2b0d /sysutils | |
parent | 8091d0fdb0e327d9d11f2ec9d5808e386979d54f (diff) | |
download | pkgsrc-86b89363ab906655287c45e8a965698f6d6a42b3.tar.gz |
put the Python version independant files from py-dbus into an own pkg,
to allow coexistence of py-dbus for different Python versions
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dbus-python-common/DESCR | 11 | ||||
-rw-r--r-- | sysutils/dbus-python-common/Makefile | 44 | ||||
-rw-r--r-- | sysutils/dbus-python-common/PLIST | 3 | ||||
-rw-r--r-- | sysutils/dbus-python-common/buildlink3.mk | 16 | ||||
-rw-r--r-- | sysutils/dbus-python-common/distinfo | 5 |
5 files changed, 79 insertions, 0 deletions
diff --git a/sysutils/dbus-python-common/DESCR b/sysutils/dbus-python-common/DESCR new file mode 100644 index 00000000000..07747fd139b --- /dev/null +++ b/sysutils/dbus-python-common/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/dbus-python-common/Makefile b/sysutils/dbus-python-common/Makefile new file mode 100644 index 00000000000..216d3b5f891 --- /dev/null +++ b/sysutils/dbus-python-common/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1 2012/08/01 18:01:24 drochner Exp $ +# + +DISTNAME= dbus-python-1.1.1 +PKGNAME= dbus-python-common-1.1.1 +CATEGORIES= sysutils +MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/ + +#BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils +#DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.freedesktop.org/Software/dbus +COMMENT= Python bindings for the D-BUS message bus system +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +PYTHON_FOR_BUILD_ONLY= yes +PYTHON_VERSIONS_INCLUDE_3X= yes + +USE_TOOLS+= pkg-config gmake +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +BUILDLINK_TRANSFORM+= rm:-std=c9x +.endif + +do-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/dbus-1.0/dbus + ${INSTALL_DATA} ${WRKSRC}/include/dbus-python.h \ + ${DESTDIR}${PREFIX}/include/dbus-1.0/dbus + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \ + ${DESTDIR}${PREFIX}/lib/pkgconfig + +.include "../../lang/python/application.mk" +BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0 +.include "../../sysutils/dbus/buildlink3.mk" +BUILDLINK_DEPMETHOD.dbus-glib= build +.include "../../sysutils/dbus-glib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/dbus-python-common/PLIST b/sysutils/dbus-python-common/PLIST new file mode 100644 index 00000000000..eadaaa704b5 --- /dev/null +++ b/sysutils/dbus-python-common/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2012/08/01 18:01:24 drochner Exp $ +include/dbus-1.0/dbus/dbus-python.h +lib/pkgconfig/dbus-python.pc diff --git a/sysutils/dbus-python-common/buildlink3.mk b/sysutils/dbus-python-common/buildlink3.mk new file mode 100644 index 00000000000..4afd4145cfa --- /dev/null +++ b/sysutils/dbus-python-common/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2012/08/01 18:01:24 drochner Exp $ + +BUILDLINK_DEPMETHOD.dbus-python-common?= build + +BUILDLINK_TREE+= dbus-python-common + +.if !defined(DBUS_PYTHON_COMMON_BUILDLINK3_MK) +DBUS_PYTHON_COMMON_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.dbus-python-common+= dbus-python-common>=1.1.1 +BUILDLINK_PKGSRCDIR.dbus-python-common?= ../../sysutils/dbus-python-common + +.include "../../sysutils/dbus/buildlink3.mk" +.endif # DBUS_PYTHON_COMMON_BUILDLINK3_MK + +BUILDLINK_TREE+= -dbus-python-common diff --git a/sysutils/dbus-python-common/distinfo b/sysutils/dbus-python-common/distinfo new file mode 100644 index 00000000000..1f7ba9ab6b8 --- /dev/null +++ b/sysutils/dbus-python-common/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2012/08/01 18:01:24 drochner Exp $ + +SHA1 (dbus-python-1.1.1.tar.gz) = 3c15438a7ec1f0698d50557e3421564564d0e097 +RMD160 (dbus-python-1.1.1.tar.gz) = 8e810a15c417541744df68cb01e5d707488bd6e8 +Size (dbus-python-1.1.1.tar.gz) = 596476 bytes |