Skip to contentSkip to conversation

add recipes for autobahn and txaio

PATCH In review Kevron Rees 2 participants 2 messages Jul 31, 2017 – Aug 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add recipes for autobahn and txaio

---
 .../python-autobahn/python3-autobahn_17.7.1.bb     | 16 ++++++++
 .../recipes-devtools/python/python3-txaio_2.8.1.bb | 43 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 meta-python/recipes-connectivity/python-autobahn/python3-autobahn_17.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb
meta-python/recipes-connectivity/python-autobahn/python3-autobahn_17.7.1.bb new file +16 -0
new file mode 100644
index 0000000..644fa6c
@@ -0,0 +1,16 @@
+DESCRIPTION = "AutobahnPython provides a WebSocket (RFC6455, Hybi-10 to -17, Hixie-76) framework for creating WebSocket-based clients and servers. \
+AutobahnPython also includes an implementation of WAMP (The WebSockets Application Messaging Protocol), a light-weight,  \
+asynchronous RPC/PubSub over JSON/WebSocket protocol."
+HOMEPAGE = "http://autobahn.ws/python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = " file://autobahn/__init__.py;beginline=1;endline=17;md5=3efa50c72bcff15042722ebd09c54701"
+
+SRC_URI[md5sum] = "0458295eff8a05b09982e87125a1a2e8"
+SRC_URI[sha256sum] = "801a318d5bf6776a60f7a93d715f83f7f12204b470019a339e4e7e14087c17e6"
+
+PYPI_PACKAGE_EXT = "tar.gz"
+inherit pypi setuptools3
+
+RDEPENDS_${PN} = "python3 python3-txaio"
+
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw
Quoted 34 lines · Kevron Rees
---
 .../python-autobahn/python3-autobahn_17.7.1.bb     | 16 ++++++++
 .../recipes-devtools/python/python3-txaio_2.8.1.bb | 43
++++++++++++++++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 meta-python/recipes-connectivity/python-autobahn/p
ython3-autobahn_17.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/

python3-txaio_2.8.1.bb

(quoted diff) +0 -0

ython3-autobahn_17.7.1.bb b/meta-python/recipes- connectivity/python-autobahn/python3-autobahn_17.7.1.bb new file mode 100644
index 0000000..644fa6c

meta-python/recipes-connectivity/python-autobahn/p new file +0 -0

ython3-autobahn_17.7.1.bb

meta-python/recipes-connectivity/python-autobahn/p new file +2 -1
@@ -0,0 +1,16 @@
+DESCRIPTION = "AutobahnPython provides a WebSocket (RFC6455, Hybi-10 to
-17, Hixie-76) framework for creating WebSocket-based clients and servers. \
+AutobahnPython also includes an implementation of WAMP (The WebSockets

Application Messaging Protocol), a light-weight, \

meta-python/recipes-connectivity/python-autobahn/p new file +5 -0
+asynchronous RPC/PubSub over JSON/WebSocket protocol."
+HOMEPAGE = "http://autobahn.ws/python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = " file://autobahn/__init__.py;

beginline=1;endline=17;md5=3efa50c72bcff15042722ebd09c54701"

meta-python/recipes-connectivity/python-autobahn/p new file +3 -0
+
+SRC_URI[md5sum] = "0458295eff8a05b09982e87125a1a2e8"
+SRC_URI[sha256sum] = "801a318d5bf6776a60f7a93d715f83

f7f12204b470019a339e4e7e14087c17e6"

meta-python/recipes-connectivity/python-autobahn/p

Quoted 5 lines
meta-python/recipes-connectivity/python-autobahn/p new file +5 -0
+
+PYPI_PACKAGE_EXT = "tar.gz"
+inherit pypi setuptools3
+
+RDEPENDS_${PN} = "python3 python3-txaio"

+

Quoted 9 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +2 -0
new file mode 100644
index 0000000..f6b72c5
@@ -0,0 +1,43 @@
+# Recipe created by recipetool
+# This is the basis of a recipe and may need further editing in order to
Quoted 3 lines

be fully functional.
+# (Feel free to remove these comments when editing.)

This should also be removed

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb line 6

Quoted 3 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +3 -0
+
+SUMMARY = "Compatibility API between asyncio/Twisted/Trollius"
+HOMEPAGE = "https://github.com/crossbario/txaio"

+# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb line 9

Quoted 4 lines

guesses - it is

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +2 -0
+# your responsibility to verify that the values are complete and correct.
+# NOTE: License in setup.py/PKGINFO is: MIT License

These should be removed

Quoted 17 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +4 -0
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=97c0bda20ad1d845c6369c0e47a1cd98"
+
+SRC_URI = "https://pypi.python.org/packages/1a/e5/

7f9106acf4d12b6f5c30d1e654d8f0f3d7aec6fe13a4fe83895f331e10cf /txaio-${PV}.tar.gz"

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +2 -0
+SRC_URI[md5sum] = "2e36cbc6b34b5cacb1bf8a05c1ae114e"
+SRC_URI[sha256sum] = "fe2e0e4d3a06705f86bbd351fdd1f3

9dae61755e44162375e024acbf32eafddb"

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +7 -0
+
+S = "${WORKDIR}/txaio-${PV}"
+
+inherit setuptools3
+
+# The following configs & dependencies are from setuptools extras_require.
+# These dependencies are optional, hence can be controlled via

PACKAGECONFIG.

meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb line 26

Quoted 4 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +4 -0
+# The upstream names may not correspond exactly to bitbake package names.
+#
+# Uncomment this line to enable all the optional features.
+#PACKAGECONFIG ?= "dev twisted all"

+PACKAGECONFIG[dev] = ",,,python3-mock python3-pep8 python3-pyenchant

Quoted 3 lines

python3-pytest python3-pytest-cov python3-sphinx python3-sphinx_rtd_theme python3-sphinxcontrib-spelling python3-tox python3-twine"

I'm a little confused as to what this is trying to do since most of these
packages do not have recipes. The default right now will not include Twisted and zope.interface, which are required dependencies

Quoted 7 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +4 -0
+PACKAGECONFIG[twisted] = ",,,python3-twisted python3-zope-interface"
+PACKAGECONFIG[all] = ",,,python3-twisted python-zope-interface"
+
+# WARNING: the following rdepends are from setuptools install_requires.

These
+# upstream names may not correspond exactly to bitbake package names.

Remove cruft

Quoted 5 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +3 -0
+RDEPENDS_${PN} += "python3-six"
+
+# WARNING: the following rdepends are determined through basic analysis

of the
+# python sources, and might not be 100% accurate.

+#RDEPENDS_${PN} += "python3-contextlib python3-core python3-datetime

Quoted 2 lines

python3-lang python3-logging"

Do you want to remove this line?

Quoted 15 lines
meta-python/recipes-devtools/python/python3-txaio_2.8.1.bb new file +6 -1
+
+
+do_install_append() {
+       echo "removing licence file because why is it installed here?"
+       rm -rf ${D}/usr/share
+}
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel