Patchwork autobahn recipe (v0.5.14)

login
register
mail settings
Submitter Frederic PAUT
Date Oct. 2, 2013, 3:01 p.m.
Message ID <1380726101-29289-1-git-send-email-frederic.paut@linux.intel.com>
Download mbox | patch
Permalink /patch/59189/
State Superseded, archived
Headers show

Comments

Frederic PAUT - Oct. 2, 2013, 3:01 p.m.
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

\ No newline at end of file
Ross Burton - Oct. 2, 2013, 4:01 p.m.
On 2 October 2013 16:01, Frederic PAUT <frederic.paut@linux.intel.com> wrote:
> +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).

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

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

Ross
Frederic PAUT - Oct. 3, 2013, 8:04 a.m.
Hi,

On 10/02/2013 06:01 PM, Burton, Ross wrote:
> On 2 October 2013 16:01, Frederic PAUT <frederic.paut@linux.intel.com> wrote:
>> +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.
>
>> +FILES_${PN}-${PV} = " \
> Just FILES_${PN} here, but inherit distutils handles this for you, so
> you can delete this.
Ok, I will delete this.
>
> Ross
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Thanks,

Frederic

  * English - detected
  * English
  * French

  * English
  * French

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

Patch

diff --git a/meta-oe/recipes-devtools/python/python-autobahn_0.5.14.bb b/meta-oe/recipes-devtools/python/python-autobahn_0.5.14.bb
new file mode 100644
index 0000000..9f051a3
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-autobahn_0.5.14.bb
@@ -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 \
+    "