diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-python2/recipes-connectivity | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/meta-python2/recipes-connectivity')
21 files changed, 470 insertions, 0 deletions
diff --git a/external/meta-python2/recipes-connectivity/gateone/gateone/80oe.conf.in b/external/meta-python2/recipes-connectivity/gateone/gateone/80oe.conf.in new file mode 100644 index 00000000..4503da42 --- /dev/null +++ b/external/meta-python2/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/external/meta-python2/recipes-connectivity/gateone/gateone/gateone-avahi.service b/external/meta-python2/recipes-connectivity/gateone/gateone/gateone-avahi.service new file mode 100644 index 00000000..0f613d18 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/gateone/gateone/gateone-avahi.service @@ -0,0 +1,10 @@ +<?xml version="1.0" standalone='no'?><!--*-nxml-*--> +<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> + +<service-group> + <name replace-wildcards="yes">GateOne on %h</name> + <service> + <type>_https._tcp</type> + <port>443</port> + </service> +</service-group> diff --git a/external/meta-python2/recipes-connectivity/gateone/gateone/gateone-init.in b/external/meta-python2/recipes-connectivity/gateone/gateone/gateone-init.in new file mode 100644 index 00000000..86d655c9 --- /dev/null +++ b/external/meta-python2/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/external/meta-python2/recipes-connectivity/gateone/gateone/gateone.service.in b/external/meta-python2/recipes-connectivity/gateone/gateone/gateone.service.in new file mode 100644 index 00000000..44667275 --- /dev/null +++ b/external/meta-python2/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/external/meta-python2/recipes-connectivity/gateone/gateone_git.bb b/external/meta-python2/recipes-connectivity/gateone/gateone_git.bb new file mode 100644 index 00000000..5d2ca00e --- /dev/null +++ b/external/meta-python2/recipes-connectivity/gateone/gateone_git.bb @@ -0,0 +1,85 @@ +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 += " \ + --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/external/meta-python2/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb b/external/meta-python2/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb new file mode 100644 index 00000000..6b6e15ae --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.6.bb @@ -0,0 +1,13 @@ + +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 setuptools diff --git a/external/meta-python2/recipes-connectivity/python-h2/python-h2_3.1.1.bb b/external/meta-python2/recipes-connectivity/python-h2/python-h2_3.1.1.bb new file mode 100644 index 00000000..33b4c079 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-h2/python-h2_3.1.1.bb @@ -0,0 +1,11 @@ + +DESCRIPTION = "HTTP/2 State-Machine based protocol implementation" +HOMEPAGE = "https://github.com/python-hyper/hyper-h2" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=b6b2f6bbe76528af543242d606c14851" + +SRC_URI[md5sum] = "950b5a62a2a608dc4547a01edf99aa8f" +SRC_URI[sha256sum] = "b8a32bd282594424c0ac55845377eea13fa54fe4a8db012f3a198ed923dc3ab4" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb b/external/meta-python2/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb new file mode 100644 index 00000000..01bc9193 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Pure-Python HPACK header compression" +HOMEPAGE = "https://github.com/python-hyper/hpack" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" + +SRC_URI[md5sum] = "556b0ae66180f54c2ce8029a0952088b" +SRC_URI[sha256sum] = "8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb b/external/meta-python2/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb new file mode 100644 index 00000000..2ee04876 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "HTTP/2 framing layer for Python" +HOMEPAGE = "https://github.com/python-hyper/hyperframe" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" + +SRC_URI[md5sum] = "6919183242feb26d8bce3b4cba81defd" +SRC_URI[sha256sum] = "a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-mprpc/python-mprpc_0.1.17.bb b/external/meta-python2/recipes-connectivity/python-mprpc/python-mprpc_0.1.17.bb new file mode 100644 index 00000000..62cafa83 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-mprpc/python-mprpc_0.1.17.bb @@ -0,0 +1,14 @@ +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] = "8d97961051422f3de315613434982d3b" +SRC_URI[sha256sum] = "3589fd127482e291b1ec314d6f0e55cc13311c12932ace356d6178ea1ca28f6a" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-networkmanager/python-networkmanager_2.1.bb b/external/meta-python2/recipes-connectivity/python-networkmanager/python-networkmanager_2.1.bb new file mode 100644 index 00000000..53e2f9d1 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-networkmanager/python-networkmanager_2.1.bb @@ -0,0 +1,18 @@ +SUMMARY = "Easy communication with NetworkManager from Python" +HOMEPAGE = "https://github.com/seveas/python-networkmanager" +LICENSE = "Zlib" + +LIC_FILES_CHKSUM = "file://COPYING;md5=8d8bac174bf8422b151200e6cc78ebe4" + +SRC_URI[md5sum] = "f638d854a3639fb37c0e06d1092a771e" +SRC_URI[sha256sum] = "aef1e34d98d7bec7cc368e0ca0f2e97493f9b5ebe6d7103f8f6460cfca3dc6fc" + +PYPI_PACKAGE = "python-networkmanager" +inherit pypi setuptools + +RDEPENDS_${PN} = "networkmanager python-dbus python-six" + +python() { + if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split(): + raise bb.parse.SkipRecipe('Requires networking-layer to be present to provide networkmanager.') +} diff --git a/external/meta-python2/recipes-connectivity/python-priority/python-priority_1.3.0.bb b/external/meta-python2/recipes-connectivity/python-priority/python-priority_1.3.0.bb new file mode 100644 index 00000000..5fdc4dba --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-priority/python-priority_1.3.0.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "A pure-Python implementation of the HTTP/2 priority tree" +HOMEPAGE = "https://github.com/python-hyper/priority" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045" + +SRC_URI[md5sum] = "4f1ff52f7fa448e9d9cb46337ae86d1e" +SRC_URI[sha256sum] = "6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb b/external/meta-python2/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb new file mode 100644 index 00000000..770cc4b9 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb @@ -0,0 +1,19 @@ + +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] = "d60bdffbd9c920f005fdc5e05a8b94cd" +SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + connman \ + python-dbus \ + python-future \ + python-numbers \ + python-pprint \ +" diff --git a/external/meta-python2/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb b/external/meta-python2/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb new file mode 100644 index 00000000..738cf867 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-pyro4/python-pyro4_4.77.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python Remote Objects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" + +SRC_URI[md5sum] = "21f015ae93cf9ea2bbbc418a2267e9fb" +SRC_URI[sha256sum] = "2bfe12a22f396474b0e57c898c7e2c561a8f850bf2055d8cf0f7119f0c7a523f" + +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/external/meta-python2/recipes-connectivity/python-pytun/python-pytun_2.3.0.bb b/external/meta-python2/recipes-connectivity/python-pytun/python-pytun_2.3.0.bb new file mode 100644 index 00000000..2bc6a7c9 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-pytun/python-pytun_2.3.0.bb @@ -0,0 +1,11 @@ + +SUMMARY = "Python TUN/TAP tunnel module" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=13f7629e8e4989b66b4a913ab05a91de" + +SRC_URI[md5sum] = "adcaeea56d0ed06814487cdbde32d198" +SRC_URI[sha256sum] = "5ead86b3391acef239535ebcabeb04d2cdc6b40ab14580d28c6da193c2d1fe53" + +PYPI_PACKAGE = "python-pytun" + +inherit pypi setuptools diff --git a/external/meta-python2/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb b/external/meta-python2/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb new file mode 100644 index 00000000..2d51619d --- /dev/null +++ b/external/meta-python2/recipes-connectivity/python-thrift/python-thrift_0.13.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python bindings for the Apache Thrift RPC system" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e95cd2f17c70d3180a2b361332319fe0" + +SRC_URI[md5sum] = "c3bc8d9a910d2c9ce26f2ad1f7c96762" +SRC_URI[sha256sum] = "9af1c86bf73433afc6010ed376a6c6aca2b54099cc0d61895f640870a9ae7d89" + +inherit pypi setuptools + +# Use different filename to prevent conflicts with thrift itself +PYPI_SRC_URI_append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" diff --git a/external/meta-python2/recipes-connectivity/python-txws/python-txws_0.9.1.bb b/external/meta-python2/recipes-connectivity/python-txws/python-txws_0.9.1.bb new file mode 100644 index 00000000..f3631cda --- /dev/null +++ b/external/meta-python2/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 python-six-native python-vcversioner-native" + +SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" +SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" + +S = "${WORKDIR}/git" + +inherit setuptools + diff --git a/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch b/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch new file mode 100644 index 00000000..24882460 --- /dev/null +++ b/external/meta-python2/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 <dongxiao.xu@intel.com> + +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/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch b/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch new file mode 100644 index 00000000..df95a4c1 --- /dev/null +++ b/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch @@ -0,0 +1,26 @@ +commit f6c67662145de889055a86a6b3b12c70a45fc8d5 +Author: Dongxiao Xu <dongxiao.xu@intel.com> +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 <dongxiao.xu@intel.com> + + 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/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch b/external/meta-python2/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch new file mode 100644 index 00000000..f613fdce --- /dev/null +++ b/external/meta-python2/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 <nitin.a.kamble@intel.com> +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/external/meta-python2/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/external/meta-python2/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb new file mode 100644 index 00000000..b7aea24a --- /dev/null +++ b/external/meta-python2/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 +} |