diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-python/recipes-connectivity')
10 files changed, 150 insertions, 19 deletions
diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb index 5323554ba..8b2a19263 100644 --- a/import-layers/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/gateone/gateone_git.bb @@ -14,7 +14,7 @@ SRC_URI = "git://github.com/liftoff/GateOne.git;branch=master \ S = "${WORKDIR}/git" -inherit distutils python-dir systemd update-rc.d +inherit setuptools python-dir systemd update-rc.d DISTUTILS_INSTALL_ARGS = "--root=${D} \ --prefix=${prefix} \ diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/files/0001-fix_setup_py.patch b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/files/0001-fix_setup_py.patch new file mode 100644 index 000000000..a9135a3db --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/files/0001-fix_setup_py.patch @@ -0,0 +1,35 @@ +From 2d47a5df58802173bf90d760b1d6f520aeea76fc Mon Sep 17 00:00:00 2001 +From: Andrej Rode <andrej.rode@ettus.com> +Date: Mon, 10 Apr 2017 16:47:41 -0700 +Subject: [PATCH] setup: remove find_packages since that would install tests as + a package as well + +Signed-off-by: Andrej Rode <andrej.rode@ettus.com> +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 6b37016..a1f11a7 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,6 +1,6 @@ + # -*- coding: utf-8 -*- + +-from setuptools import setup, find_packages ++from setuptools import setup + + setup( + name='gsocketpool', +@@ -9,7 +9,7 @@ setup( + author='Studio Ousia', + author_email='ikuya@ousia.jp', + url='http://github.com/studio-ousia/gsocketpool', +- packages=find_packages(), ++ packages=['gsocketpool'], + license=open('LICENSE').read(), + include_package_data=True, + classifiers=( +-- +2.10.2 + diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb new file mode 100644 index 000000000..f86152c4a --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb @@ -0,0 +1,16 @@ +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-gevent" +RDEPENDS_${PN} += "python-gevent" + +SRC_URI_append = " \ + file://0001-fix_setup_py.patch;patch=1;pnum=1 \ +" + +SRC_URI[md5sum] = "04f618864b18d6b06f774994f172ef49" +SRC_URI[sha256sum] = "b6b73deab9bcbc428d4813697eebe5c3b9c40a971f62e13607b881aa749af9d0" + +inherit pypi setuptools diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch new file mode 100644 index 000000000..f5df9b9ee --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/files/0001-fix_setup_py.patch @@ -0,0 +1,34 @@ +From bda99eab9036d46e7bb06b446d11cab0b1dd8093 Mon Sep 17 00:00:00 2001 +From: Andrej Rode <andrej.rode@ettus.com> +Date: Mon, 10 Apr 2017 16:49:50 -0700 +Subject: [PATCH] setup: remove find_packages and only install mprpc + +Signed-off-by: Andrej Rode <andrej.rode@ettus.com> +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 5001d0c..4c0ba75 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,6 +1,6 @@ + # -*- coding: utf-8 -*- + +-from setuptools import setup, Extension, find_packages ++from setuptools import setup, Extension + + setup( + name='mprpc', +@@ -10,7 +10,7 @@ setup( + author='Studio Ousia', + author_email='ikuya@ousia.jp', + url='http://github.com/studio-ousia/mprpc', +- packages=find_packages(), ++ packages=['mprpc'], + ext_modules=[ + Extension('mprpc.client', ['mprpc/client.c']), + Extension('mprpc.server', ['mprpc/server.c']) +-- +2.10.2 + diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb new file mode 100644 index 000000000..78df00af2 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb @@ -0,0 +1,17 @@ +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-gevent" +RDEPENDS_${PN} += "python-gevent python-msgpack python-gsocketpool" + +SRC_URI_append = " \ + file://0001-fix_setup_py.patch;patch=1;pnum=1 \ +" + +SRC_URI[md5sum] = "449e6239eb5ff07b9cceb86e1ab0c2ee" +SRC_URI[sha256sum] = "5881cc7fbb8de814e2b4aa5958bfe147c5c301e46749190f0e6abf373cf56d82" + +inherit pypi setuptools diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb new file mode 100644 index 000000000..77b5e4dcf --- /dev/null +++ b/import-layers/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/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.39.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.39.bb deleted file mode 100644 index 5b4ca7b9d..000000000 --- a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.39.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "Python Remote Objects" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b48b62dd270c4691fabaa85be3236030" - -SRC_URI[md5sum] = "75ed5cd142803b0a8d587dc8b6bb51ed" -SRC_URI[sha256sum] = "39c6ca7f86b0f0bebfeada687a5a8b99f66470a52b0f815195ae63c683266f24" - -PYPI_PACKAGE = "Pyro4" - -inherit pypi setuptools diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.55.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.55.bb new file mode 100644 index 000000000..cc28a8130 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-pyro4/python-pyro4_4.55.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python Remote Objects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=378acef375e17a3bff03bd0f78c53220" + +SRC_URI[md5sum] = "0400a4d260dbeaa4e7e725c4ba310ead" +SRC_URI[sha256sum] = "49a7a142542d87dde1cecc8d3ee048ec9481ba861d61234d219fadd06e6ced96" + +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/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb new file mode 100644 index 000000000..e6f61bdd0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.10.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "Python bindings for the Apache Thrift RPC system" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=26a2009ddcb7c4162f8bafd5ef73c670" + +SRC_URI[md5sum] = "76bb768a210257dd203923110042e560" +SRC_URI[sha256sum] = "b7f6c09155321169af03f9fb20dc15a4a0c7481e7c334a5ba8f7f0d864633209" + +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" diff --git a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb b/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb deleted file mode 100644 index 652de950e..000000000 --- a/import-layers/meta-openembedded/meta-python/recipes-connectivity/python-thrift/python-thrift_0.9.3.bb +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "Python bindings for the Apache Thrift RPC system" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1203b6a05c3bff3229710e3f063ddca7" - -SRC_URI[md5sum] = "b519551d7a086bb0b4f222a8f566b7e8" -SRC_URI[sha256sum] = "dfbc3d3bd19d396718dab05abaf46d93ae8005e2df798ef02e32793cd963877e" - -inherit pypi setuptools |