Skip to contentSkip to conversation

autobahn recipe (v0.5.14)

PATCH In review Frederic PAUT 2 participants 3 messages Oct 2, 2013 – Oct 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobahn recipe (v0.5.14)

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.

---
 .../python/python-autobahn_0.5.14.bb               |   32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/python/python-autobahn_0.5.14.bb
meta-oe/recipes-devtools/python/python-autobahn_0.5.14.bb new file +32 -0
new file mode 100644
index 0000000..9f051a3
@@ -0,0 +1,32 @@
+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"
+SECTION = "console/network"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "https://pypi.python.org/packages/source/a/autobahn/autobahn-${PV}.zip"
+SRC_URI[md5sum] = "e2c80ba3e46428b32837537609d4d582"
+
+S = "${WORKDIR}/autobahn-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} = "python python-pprint python-twisted-protocols python-netserver python-twisted-web"
+
+FILES_${PN}-${PV} = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/httpstatus.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/__init__.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/pbkdf2.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/prefixmap.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/resource.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/useragent.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/utf8validator.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/util.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/_version.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/wamp.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/websocket.py \
+    ${libdir}/${PYTHON_DIR}/site-packages/autobahn/xormasker.py \
+    "                     
\ No newline at end of file
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 1 line · Frederic PAUT

+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

This should be a file inside the source tree (relative paths are resolved from $S), best practise is to checksum the license file and the license header of a source file (you can restrict the md5 to a subset of lines).

Quoted 1 line

+FILES_${PN}-${PV} = " \

Just FILES_${PN} here, but inherit distutils handles this for you, so you can delete this.

Ross

#2 lore raw

Hi,

Quoted 6 lines · Ross
Quoted 1 line · Frederic PAUT

+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

This should be a file inside the source tree (relative paths are resolved from $S), best practise is to checksum the license file and the license header of a source file (you can restrict the md5 to a subset of lines).

Yes, because I don't found a license file in the source tree... But I will checksum the license of a source file to a subset of lines.

Quoted 4 lines
Quoted 2 lines

+FILES_${PN}-${PV} = " \

Just FILES_${PN} here, but inherit distutils handles this for you, so you can delete this.

Ok, I will delete this.

Quoted 6 lines

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

Thanks,

Frederic

* English - detected
* English
* French

* English
* French

<javascript:void(0);>
auto-copied