From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../gateone/gateone/80oe.conf.in | 24 ++++++ .../gateone/gateone/gateone-avahi.service | 10 +++ .../gateone/gateone/gateone-init.in | 47 ++++++++++++ .../gateone/gateone/gateone.service.in | 10 +++ .../recipes-connectivity/gateone/gateone_git.bb | 87 ++++++++++++++++++++++ .../python-gsocketpool/python-gsocketpool.inc | 12 +++ .../python-gsocketpool/python-gsocketpool_0.1.6.bb | 2 + .../python3-gsocketpool_0.1.6.bb | 2 + .../python-mprpc/python-mprpc.inc | 13 ++++ .../python-mprpc/python-mprpc_0.1.16.bb | 2 + .../python-mprpc/python3-mprpc_0.1.16.bb | 2 + .../python-pyconnman/python-pyconnman_0.1.0.bb | 12 +++ .../python-pyro4/python-pyro4_4.63.bb | 18 +++++ .../python-pytun/python-pytun.inc | 10 +++ .../python-pytun/python-pytun_2.2.1.bb | 2 + .../python-pytun/python3-pytun_2.2.1.bb | 2 + .../python-thrift/python-thrift_0.11.0.bb | 15 ++++ .../python-txws/python-txws_0.9.1.bb | 15 ++++ .../telepathy-python-0.15.19/parallel_make.patch | 43 +++++++++++ .../remove_duplicate_install.patch | 26 +++++++ .../telepathy-python_fix_for_automake_1.12.patch | 26 +++++++ .../telepathy/telepathy-python_0.15.19.bb | 32 ++++++++ 22 files changed, 412 insertions(+) create mode 100644 meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in create mode 100644 meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service create mode 100644 meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in create mode 100644 meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in create mode 100644 meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.16.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.16.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.63.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun.inc create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun_2.2.1.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-pytun/python3-pytun_2.2.1.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.11.0.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb create mode 100644 meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch create mode 100644 meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch create mode 100644 meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch create mode 100644 meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb (limited to 'meta-openembedded/meta-python/recipes-connectivity') diff --git a/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in new file mode 100644 index 000000000..4503da422 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in @@ -0,0 +1,24 @@ +// Some custom Gate One settings for OpenEmbedded +{ + "*": { + "gateone": { // These settings apply to all of Gate One + "log_file_prefix": "@localstate@/log/gateone.log", // default would be /var/log/gateone/gateone.log + "log_file_max_size": 5242880, // 5 megabyte logs for OE by default (default would normally be 100Mb) + "log_file_num_backups": 2, // Default is normally 10 + "origins": ["*"], // Every device has a unique origin + "logging": "info", + "pid_file": "/run/gateone.pid", + "session_dir": "/tmp/gateone", + "user_dir": "@localstate@/lib/gateone/users" + }, + "terminal": { + // Disabling session logging for embedded devices is a good idea (limited/slow storage) + "session_logging": false, + "syslog_session_logging": false +// "commands": { +// // For some reason this doesn't work (never asks for the password) +// "login": "setsid /bin/login" // Normally this would emulate logging into the host console +// } + } + } +} diff --git a/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service new file mode 100644 index 000000000..0f613d18e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service @@ -0,0 +1,10 @@ + + + + + GateOne on %h + + _https._tcp + 443 + + diff --git a/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in new file mode 100644 index 000000000..86d655c94 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in @@ -0,0 +1,47 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: gateone +# Required-Start: networking +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Gateone HTML5 ssh client +# Description: Gateone HTML5 terminal emulator and SSH client. +### END INIT INFO + +. /etc/init.d/functions + +NAME=gateone +DAEMON=@bindir@/gateone +PIDFILE=/run/gateone.pid +WORKDIR=@localstate@/lib/gateone + +do_start() { + cd $WORKDIR + @bindir@/python $DAEMON > /dev/null 2>&1 & + cd $OLDPWD +} + +do_stop() { + kill -TERM `cat $PIDFILE` +} + +case "$1" in + start) + echo "Starting gateone" + do_start + ;; + stop) + echo "Stopping gateone" + do_stop + ;; + restart|force-reload) + echo "Restart gateone" + do_stop + sleep 1 + do_start + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac diff --git a/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in new file mode 100644 index 000000000..44667275a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in @@ -0,0 +1,10 @@ +[Unit] +Description=GateOne daemon +ConditionPathExists=|@localstate@/lib/gateone + +[Service] +WorkingDirectory=@localstate@/lib/gateone +ExecStart=@bindir@/python @bindir@/gateone + +[Install] +WantedBy=multi-user.target diff --git a/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb new file mode 100644 index 000000000..4577873de --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb @@ -0,0 +1,87 @@ +SUMMARY = "HTML5 (plugin-free) web-based terminal emulator and SSH client" +LICENSE = "AGPL-3.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=834cbc6995db88433db17cdf8953a428" +HOMEPAGE = "http://liftoffsoftware.com/Products/GateOne" + +PV = "1.2+git${SRCPV}" +SRCREV = "f7a9be46cb90f57459ebd363d24702de0e651034" +SRC_URI = "git://github.com/liftoff/GateOne.git;branch=master \ + file://gateone-avahi.service \ + file://80oe.conf.in \ + file://gateone.service.in \ + file://gateone-init.in \ +" + +S = "${WORKDIR}/git" + +inherit setuptools python-dir systemd update-rc.d + +DISTUTILS_INSTALL_ARGS = "--root=${D} \ + --prefix=${prefix} \ + --install-lib=${PYTHON_SITEPACKAGES_DIR} \ + --install-data=${PYTHON_SITEPACKAGES_DIR} \ + --install-scripts=${bindir} \ + --skip_init_scripts" + +do_install_append() { + + # fix up hardcoded paths + for file in gateone.service gateone-init 80oe.conf; do + sed -e s:@bindir@:${bindir}:g \ + -e s:@localstate@:${localstatedir}:g \ + < ${WORKDIR}/$file.in \ + > ${WORKDIR}/$file + done + + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system + + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/gateone-init ${D}${sysconfdir}/init.d/gateone + + install -m 0755 -d ${D}${sysconfdir}/avahi/services/ + install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/ + + install -m 0755 -d ${D}${sysconfdir}/gateone/conf.d/ + install -m 0644 ${WORKDIR}/80oe.conf ${D}${sysconfdir}/gateone/conf.d/80oe.conf + + install -d ${D}${localstatedir}/lib/gateone +} + +FILES_${PN} = "${localstatedir}/lib ${bindir} ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}" +RDEPENDS_${PN} = "mime-support \ + openssh-ssh \ + python-compression \ + python-contextlib \ + python-crypt \ + python-datetime \ + python-email \ + python-fcntl \ + python-futures \ + python-html \ + python-imaging \ + python-io \ + python-json \ + python-logging \ + python-misc \ + python-multiprocessing \ + python-netclient \ + python-pkgutil \ + python-pyopenssl \ + python-re \ + python-setuptools \ + python-shell \ + python-simplejson \ + python-subprocess \ + python-syslog \ + python-terminal \ + python-textutils \ + python-tornado \ + python-unixadmin \ + python-xml \ + python-html5lib \ + bash \ +" + +SYSTEMD_SERVICE_${PN} = "gateone.service" +INITSCRIPT_NAME = "gateone" diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc new file mode 100644 index 000000000..11971dc4a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc @@ -0,0 +1,12 @@ +SUMMARY = "A simple connection pool for gevent" +DESCRIPTION = "creates a pool of connections that can be used with gevent" +HOMEPAGE = "https://github.com/studio-ousia/gsocketpool" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859" +DEPENDS += "${PYTHON_PN}-gevent" +RDEPENDS_${PN} += "${PYTHON_PN}-gevent" + +SRC_URI[md5sum] = "49f5f292ef1b60944ae92ca426a5e550" +SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14" + +inherit pypi diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb new file mode 100644 index 000000000..e96ad1ca1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb @@ -0,0 +1,2 @@ +require python-gsocketpool.inc +inherit setuptools diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb new file mode 100644 index 000000000..883621e21 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb @@ -0,0 +1,2 @@ +require python-gsocketpool.inc +inherit setuptools3 diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc new file mode 100644 index 000000000..05fbae48b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc @@ -0,0 +1,13 @@ +SUMMARY = "A gevent based messagpack rpc library" +DESCRIPTION = "mprpc is a fast implementation of the messagepack rpc protocol for python. \ +It is based on gevent for handling connections and enabling concurrent connections." +HOMEPAGE = "https://github.com/studio-ousia/mprpc" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859" +DEPENDS += "${PYTHON_PN}-gevent" +RDEPENDS_${PN} += "${PYTHON_PN}-gevent ${PYTHON_PN}-msgpack ${PYTHON_PN}-gsocketpool" + +SRC_URI[md5sum] = "acde1f346411997d76ab89790a356823" +SRC_URI[sha256sum] = "e8ddd47e7a2fb2d3b203fcc522443ee5be56c8f7e2c6d915c047445951cef1fb" + +inherit pypi diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.16.bb b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.16.bb new file mode 100644 index 000000000..6b2ea2193 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.16.bb @@ -0,0 +1,2 @@ +require python-mprpc.inc +inherit setuptools diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.16.bb b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.16.bb new file mode 100644 index 000000000..837d604ed --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.16.bb @@ -0,0 +1,2 @@ +require python-mprpc.inc +inherit setuptools3 diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb b/meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb new file mode 100644 index 000000000..77b5e4dcf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Python-based Network Connectivity Management" +HOMEPAGE = "https://pypi.python.org/pypi/pyconnman/" +LICENSE = "Apache-2.0" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[md5sum] = "b7fa82034b1c0e1fb1b518ffe3bb4fc0" +SRC_URI[sha256sum] = "46c64c0692063fd0c9fb0216d49f7884bec9fa9760d8473db4b1e2f8162fab4a" + +inherit pypi setuptools + +RDEPENDS_${PN} = "connman python-dbus python-pprint" diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.63.bb b/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.63.bb new file mode 100644 index 000000000..6f683e3e7 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.63.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python Remote Objects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=378acef375e17a3bff03bd0f78c53220" + +SRC_URI[md5sum] = "e1d772b67bf7c6f75fa3174bc95c8839" +SRC_URI[sha256sum] = "67d2b34156619ba37e92100af95aade8129dd2b7327eb05821d43887451f7d7b" + +PYPI_PACKAGE = "Pyro4" + +inherit pypi setuptools + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-selectors34 \ + ${PYTHON_PN}-serpent \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-zlib \ + " diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun.inc b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun.inc new file mode 100644 index 000000000..79a8bfb21 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun.inc @@ -0,0 +1,10 @@ +SUMMARY = "Python TUN/TAP tunnel module" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=13f7629e8e4989b66b4a913ab05a91de" + +SRC_URI[md5sum] = "5b35b1cf80a02cca7ec72eb95d6b0192" +SRC_URI[sha256sum] = "07595dadf85f5176eb08c8d4d9ba5b862a180e96633f670f91437c47a1bead0d" + +PYPI_PACKAGE = "python-pytun" + +inherit pypi diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun_2.2.1.bb b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun_2.2.1.bb new file mode 100644 index 000000000..3fc587f3a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python-pytun_2.2.1.bb @@ -0,0 +1,2 @@ +require python-pytun.inc +inherit setuptools diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python3-pytun_2.2.1.bb b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python3-pytun_2.2.1.bb new file mode 100644 index 000000000..938d9d739 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-pytun/python3-pytun_2.2.1.bb @@ -0,0 +1,2 @@ +require python-pytun.inc +inherit setuptools3 diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.11.0.bb b/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.11.0.bb new file mode 100644 index 000000000..8047ec77b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.11.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Python bindings for the Apache Thrift RPC system" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e3641ae1a26cf5c12a3a71bd3030ab0e" + +SRC_URI[md5sum] = "36165d5c80e6b101dbe9fcf7ef524d51" +SRC_URI[sha256sum] = "7d59ac4fdcb2c58037ebd4a9da5f9a49e3e034bf75b3f26d9fe48ba3d8806e6b" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" diff --git a/meta-openembedded/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb b/meta-openembedded/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb new file mode 100644 index 000000000..0b2ac118a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "Twisted Web Sockets" +HOMEPAGE = "https://github.com/MostAwesomeDude/txWS" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" + +DEPENDS = "python-twisted python-six python-vcversioner" + +SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" +SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" + +S = "${WORKDIR}/git" + +inherit setuptools + diff --git a/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch new file mode 100644 index 000000000..248824606 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch @@ -0,0 +1,43 @@ +Add dependency of __init__.py + +Tasks must be done after exec of __init__, which creates the +src/_generated directory that tasks are based on. + +Signed-off-by: Dongxiao Xu + +Upstream-Status: Submitted +(However it seems that this project is out of maintanence.) + +diff -ruN telepathy-python-0.15.19-orig/src/Makefile.am telepathy-python-0.15.19/src/Makefile.am +--- telepathy-python-0.15.19-orig/src/Makefile.am 2011-03-10 08:51:49.000000000 +0800 ++++ telepathy-python-0.15.19/src/Makefile.am 2011-03-10 08:54:45.000000000 +0800 +@@ -39,17 +39,17 @@ + XSLTPROC_OPTS = --nonet --novalid --xinclude + tools_dir = $(top_srcdir)/tools + +-_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) ++_generated/interfaces.py: _generated/__init__.py $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) + $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ + $(tools_dir)/python-interfaces-generator.xsl \ + $(spec_dir)/all.xml + +-_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) ++_generated/constants.py: _generated/__init__.py $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) + $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ + $(tools_dir)/python-constants-generator.xsl \ + $(spec_dir)/all.xml + +-_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) ++_generated/errors.py: _generated/__init__.py $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) + $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ + $(tools_dir)/python-errors-generator.xsl \ + $(spec_dir)/all.xml +@@ -58,7 +58,7 @@ + $(AM_V_GEN)$(mkdir_p) $(dir $@) + @echo "# Placeholder for package" > $@ + +-_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml ++_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml + $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ + $(tools_dir)/spec-to-python.xsl \ + $(spec_dir)/$*.xml diff --git a/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch new file mode 100644 index 000000000..df95a4c13 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch @@ -0,0 +1,26 @@ +commit f6c67662145de889055a86a6b3b12c70a45fc8d5 +Author: Dongxiao Xu +Date: Wed Sep 7 16:02:20 2011 +0800 + + Avoid duplicated installation of errors.py + + newer version of autotools don't seem to like listing files to install + twice. Remove one errors.py from the installation list. + + Signed-off-by: Dongxiao Xu + + Upstream-Status: Inappropirate [upstream inactive] + +diff --git a/src/Makefile.am b/src/Makefile.am +index 5c27dfe..7536e43 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -11,7 +11,7 @@ telepathy_PYTHON = \ + + # telepathy._generated.* auto-generated modules + spec_dir = $(top_srcdir)/spec +-spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml)) ++spec_files := $(filter-out _generated/errors.py, $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))) + + BUILT_SOURCES = \ + _generated/interfaces.py \ diff --git a/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch new file mode 100644 index 000000000..f613fdce4 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch @@ -0,0 +1,26 @@ +Upstream-Status: Pending + +automake 1.12 has deprecated use of mkdir_p, and it recommends +use of MKDIR_P instead. Changed the code to avoid these kind +of warning-errors. + +| make[1]: _generated/: Command not found +| make[1]: *** [_generated/__init__.py] Error 127 +| make[1]: Leaving directory `/srv/home/nitin/builds2/build0/tmp/work/i586-poky-linux/telepathy-python-0.15.19-r4/telepathy-python-0.15.19/src' +| make: *** [all-recursive] Error 1 + +Signed-Off-By: Nitin A Kamble +2012/07/10 +Index: telepathy-python-0.15.19/src/Makefile.am +=================================================================== +--- telepathy-python-0.15.19.orig/src/Makefile.am ++++ telepathy-python-0.15.19/src/Makefile.am +@@ -55,7 +55,7 @@ _generated/errors.py: _generated/__init_ + $(spec_dir)/all.xml + + _generated/__init__.py: +- $(AM_V_GEN)$(mkdir_p) $(dir $@) ++ $(AM_V_GEN)$(MKDIR_P) $(dir $@) + @echo "# Placeholder for package" > $@ + + _generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml diff --git a/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb new file mode 100644 index 000000000..b7aea24a7 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb @@ -0,0 +1,32 @@ +SUMMARY = "Telepathy IM framework - Python package" +HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ + file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822" + +DEPENDS = "libxslt-native" +RDEPENDS_${PN} += "python-dbus" + +SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ + file://parallel_make.patch \ + file://remove_duplicate_install.patch \ + file://telepathy-python_fix_for_automake_1.12.patch" + +PR = "r6" + +inherit autotools pythonnative + +SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017" +SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" + +FILES_${PN} += "\ + ${libdir}/python*/site-packages/telepathy/*.py \ + ${libdir}/python*/site-packages/telepathy/*/*.py \ +" + +do_install_append () { + rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyc + rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyo + rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyc + rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyo +} -- cgit v1.2.3