[Midnightbsd-cvs] mports [18134] trunk/devel: add python 3 dbus binding

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 14 10:10:58 EDT 2015


Revision: 18134
          http://svnweb.midnightbsd.org/mports/?rev=18134
Author:   laffer1
Date:     2015-03-14 10:10:57 -0400 (Sat, 14 Mar 2015)
Log Message:
-----------
add python 3 dbus binding

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/py3-dbus/
    trunk/devel/py3-dbus/Makefile
    trunk/devel/py3-dbus/distinfo
    trunk/devel/py3-dbus/pkg-descr
    trunk/devel/py3-dbus/pkg-plist
    trunk/devel/pydbus-common/
    trunk/devel/pydbus-common/Makefile
    trunk/devel/pydbus-common/distinfo
    trunk/devel/pydbus-common/pkg-descr
    trunk/devel/pydbus-common/pkg-plist

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2015-03-14 14:08:27 UTC (rev 18133)
+++ trunk/devel/Makefile	2015-03-14 14:10:57 UTC (rev 18134)
@@ -416,6 +416,8 @@
 SUBDIR += py-termcolor
 SUBDIR += py-xdg
 SUBDIR += py-yaml
+SUBDIR += py3-dbus
+SUBDIR += pydbus-common
 SUBDIR += qca
 SUBDIR += qgit
 SUBDIR += qjson

Added: trunk/devel/py3-dbus/Makefile
===================================================================
--- trunk/devel/py3-dbus/Makefile	                        (rev 0)
+++ trunk/devel/py3-dbus/Makefile	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,15 @@
+# $MidnightBSD$
+
+PORTREVISION=	0
+
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=
+
+COMMENT=	Python3 bindings for the D-BUS messaging system
+
+SLAVE_PORT=	python3
+
+MASTERDIR=	${.CURDIR}/../../devel/pydbus-common
+PLIST=		${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/devel/py3-dbus/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-dbus/distinfo
===================================================================
--- trunk/devel/py3-dbus/distinfo	                        (rev 0)
+++ trunk/devel/py3-dbus/distinfo	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,2 @@
+SHA256 (dbus-python-1.1.1.tar.gz) = 8917ca4fb8f4d693aee18d200cbad166b2c938dfb88c03bb4ab3d90a7c915e88
+SIZE (dbus-python-1.1.1.tar.gz) = 596476


Property changes on: trunk/devel/py3-dbus/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-dbus/pkg-descr
===================================================================
--- trunk/devel/py3-dbus/pkg-descr	                        (rev 0)
+++ trunk/devel/py3-dbus/pkg-descr	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,3 @@
+Python bindings for the D-BUS interprocess messaging system.
+
+WWW: http://dbus.freedesktop.org/doc/dbus-python/


Property changes on: trunk/devel/py3-dbus/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py3-dbus/pkg-plist
===================================================================
--- trunk/devel/py3-dbus/pkg-plist	                        (rev 0)
+++ trunk/devel/py3-dbus/pkg-plist	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,56 @@
+%%PYTHON_SITELIBDIR%%/_dbus_bindings.so
+%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings.so
+%%PYTHON_SITELIBDIR%%/dbus/__init__.py
+%%PYTHON_SITELIBDIR%%/dbus/__init__.pyc
+%%PYTHON_SITELIBDIR%%/dbus/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dbus/_compat.py
+%%PYTHON_SITELIBDIR%%/dbus/_compat.pyc
+%%PYTHON_SITELIBDIR%%/dbus/_compat.pyo
+%%PYTHON_SITELIBDIR%%/dbus/_dbus.py
+%%PYTHON_SITELIBDIR%%/dbus/_dbus.pyc
+%%PYTHON_SITELIBDIR%%/dbus/_dbus.pyo
+%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.py
+%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.pyc
+%%PYTHON_SITELIBDIR%%/dbus/_expat_introspect_parser.pyo
+%%PYTHON_SITELIBDIR%%/dbus/_version.py
+%%PYTHON_SITELIBDIR%%/dbus/_version.pyc
+%%PYTHON_SITELIBDIR%%/dbus/_version.pyo
+%%PYTHON_SITELIBDIR%%/dbus/bus.py
+%%PYTHON_SITELIBDIR%%/dbus/bus.pyc
+%%PYTHON_SITELIBDIR%%/dbus/bus.pyo
+%%PYTHON_SITELIBDIR%%/dbus/connection.py
+%%PYTHON_SITELIBDIR%%/dbus/connection.pyc
+%%PYTHON_SITELIBDIR%%/dbus/connection.pyo
+%%PYTHON_SITELIBDIR%%/dbus/decorators.py
+%%PYTHON_SITELIBDIR%%/dbus/decorators.pyc
+%%PYTHON_SITELIBDIR%%/dbus/decorators.pyo
+%%PYTHON_SITELIBDIR%%/dbus/exceptions.py
+%%PYTHON_SITELIBDIR%%/dbus/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/dbus/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/dbus/gi_service.py
+%%PYTHON_SITELIBDIR%%/dbus/gi_service.pyc
+%%PYTHON_SITELIBDIR%%/dbus/gi_service.pyo
+%%PYTHON_SITELIBDIR%%/dbus/glib.py
+%%PYTHON_SITELIBDIR%%/dbus/glib.pyc
+%%PYTHON_SITELIBDIR%%/dbus/glib.pyo
+%%PYTHON_SITELIBDIR%%/dbus/lowlevel.py
+%%PYTHON_SITELIBDIR%%/dbus/lowlevel.pyc
+%%PYTHON_SITELIBDIR%%/dbus/lowlevel.pyo
+%%PYTHON_SITELIBDIR%%/dbus/proxies.py
+%%PYTHON_SITELIBDIR%%/dbus/proxies.pyc
+%%PYTHON_SITELIBDIR%%/dbus/proxies.pyo
+%%PYTHON_SITELIBDIR%%/dbus/server.py
+%%PYTHON_SITELIBDIR%%/dbus/server.pyc
+%%PYTHON_SITELIBDIR%%/dbus/server.pyo
+%%PYTHON_SITELIBDIR%%/dbus/service.py
+%%PYTHON_SITELIBDIR%%/dbus/service.pyc
+%%PYTHON_SITELIBDIR%%/dbus/service.pyo
+%%PYTHON_SITELIBDIR%%/dbus/types.py
+%%PYTHON_SITELIBDIR%%/dbus/types.pyc
+%%PYTHON_SITELIBDIR%%/dbus/types.pyo
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.py
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.pyc
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.py
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.pyc
+%%PYTHON_SITELIBDIR%%/dbus/mainloop/glib.pyo


Property changes on: trunk/devel/py3-dbus/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/pydbus-common/Makefile
===================================================================
--- trunk/devel/pydbus-common/Makefile	                        (rev 0)
+++ trunk/devel/pydbus-common/Makefile	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,83 @@
+# $MidnightBSD$
+
+PORTNAME=	dbus
+PORTVERSION=	1.1.1
+PORTREVISION?=	0
+CATEGORIES=	devel gnome python
+MASTER_SITES=	http://dbus.freedesktop.org/releases/dbus-python/
+PKGNAMEPREFIX?=	py
+PKGNAMESUFFIX?=	-common
+DISTNAME=	dbus-python-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT?=	Common files for the Python bindings for the D-BUS messaging system
+
+BUILD_DEPENDS=	dbus-glib>=0:${PORTSDIR}/devel/dbus-glib
+
+SLAVE_PORT?=	no
+
+USES=		gettext gmake libtool pathfix pkgconfig
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${PYTHON_INCLUDEDIR}
+CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
+		--disable-api-docs
+INSTALL_TARGET=	install-strip
+
+.if ${SLAVE_PORT} == no
+USES+=		python:2,build
+
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
+
+OPTIONS_SUB=	yes
+OPTIONS_DEFINE=	HTMLDOCS
+HTMLDOCS_DESC=	build html documentation
+HTMLDOCS_CONFIGURE_OFF=	--disable-html-docs
+HTMLDOCS_BUILD_DEPENDS=	rst2html:${PORTSDIR}/textproc/py-docutils
+
+.include <bsd.mport.options.mk>
+
+post-patch:
+.if ! ${PORT_OPTIONS:MDOCS}
+	@${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \
+		s|PYTHON install-nodist_docDATA|PYTHON|g' \
+			${WRKSRC}/Makefile.in
+.endif
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/dbus-1.0/dbus/
+	${INSTALL_DATA} ${WRKSRC}/include/dbus-python.h \
+		${STAGEDIR}${PREFIX}/include/dbus-1.0/dbus/dbus-python.h
+	${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc
+
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
+		${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}
+
+	${MKDIR} ${STAGEDIR}${DOCSDIR} && \
+		${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR} && \
+		${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} && \
+		${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+
+.if ${PORT_OPTIONS:MHTMLDOCS}
+	${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} && \
+	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
+.endif
+.else # slave is defined
+LIB_DEPENDS+=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS+=	pydbus-common>=0:${PORTSDIR}/devel/pydbus-common
+USE_LDCONFIG=	yes
+.if ${SLAVE_PORT} == python2
+USES+=		python:2
+.endif
+.if ${SLAVE_PORT} == python3
+USES+=		python:3
+.endif
+
+post-install:
+	@${RM} -rf ${STAGEDIR}${PREFIX}/include/dbus-1.0 \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/dbus-python.pc
+	@${RM} -fr ${STAGEDIR}/${DOCSDIR}
+.endif # end of slaving block
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/pydbus-common/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/pydbus-common/distinfo
===================================================================
--- trunk/devel/pydbus-common/distinfo	                        (rev 0)
+++ trunk/devel/pydbus-common/distinfo	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,2 @@
+SHA256 (dbus-python-1.1.1.tar.gz) = 8917ca4fb8f4d693aee18d200cbad166b2c938dfb88c03bb4ab3d90a7c915e88
+SIZE (dbus-python-1.1.1.tar.gz) = 596476


Property changes on: trunk/devel/pydbus-common/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/pydbus-common/pkg-descr
===================================================================
--- trunk/devel/pydbus-common/pkg-descr	                        (rev 0)
+++ trunk/devel/pydbus-common/pkg-descr	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,3 @@
+Python bindings for the D-BUS interprocess messaging system.
+
+WWW: http://dbus.freedesktop.org/doc/dbus-python/


Property changes on: trunk/devel/pydbus-common/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/pydbus-common/pkg-plist
===================================================================
--- trunk/devel/pydbus-common/pkg-plist	                        (rev 0)
+++ trunk/devel/pydbus-common/pkg-plist	2015-03-14 14:10:57 UTC (rev 18134)
@@ -0,0 +1,20 @@
+include/dbus-1.0/dbus/dbus-python.h
+libdata/pkgconfig/dbus-python.pc
+%%PORTDOCS%%%%DOCSDIR%%/API_CHANGES.txt
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/API_CHANGES.html
+%%PORTDOCS%%%%DOCSDIR%%/HACKING.txt
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/HACKING.html
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/NEWS.html
+%%PORTDOCS%%%%DOCSDIR%%/PY3PORT.txt
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/PY3PORT.html
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.html
+%%PORTDOCS%%%%DOCSDIR%%/tutorial.txt
+%%HTMLDOCS%%%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-async-client.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-client.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-service.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-signal-emitter.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-signal-recipient.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/list-system-services.py


Property changes on: trunk/devel/pydbus-common/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list