python-u-msgpack: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 6 May 2016 07:37:23 +0000 (09:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Jun 2016 08:42:58 +0000 (10:42 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add umsgpack.py as license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-u-msgpack/Config.in [new file with mode: 0644]
package/python-u-msgpack/python-u-msgpack.hash [new file with mode: 0644]
package/python-u-msgpack/python-u-msgpack.mk [new file with mode: 0644]

index fa269d895f21388f05f3529e496a37501178b7bf..38c852745f9dc0eed8553a5a4f85f8f445f3b164 100644 (file)
@@ -759,6 +759,7 @@ menu "External python modules"
        source "package/python-treq/Config.in"
        source "package/python-twisted/Config.in"
        source "package/python-txaio/Config.in"
+       source "package/python-u-msgpack/Config.in"
        source "package/python-ubjson/Config.in"
        source "package/python-ujson/Config.in"
        source "package/python-urllib3/Config.in"
diff --git a/package/python-u-msgpack/Config.in b/package/python-u-msgpack/Config.in
new file mode 100644 (file)
index 0000000..ad0f90e
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_U_MSGPACK
+       bool "python-u-msgpack"
+       help
+         A portable, lightweight MessagePack serializer and deserializer
+         written in pure Python.
+
+         https://github.com/vsergeev/u-msgpack-python
diff --git a/package/python-u-msgpack/python-u-msgpack.hash b/package/python-u-msgpack/python-u-msgpack.hash
new file mode 100644 (file)
index 0000000..16f5040
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/u-msgpack-python/json
+md5    2ccadbf06c7e70bbdb58e920d045d50c  u-msgpack-python-2.1.tar.gz
+# sha256 calculated by scanpypi
+sha256 66a39ddc6830be29b6d304dee9d4ab37104550ac4565eab1aa4c2bd3d34d759f  u-msgpack-python-2.1.tar.gz
diff --git a/package/python-u-msgpack/python-u-msgpack.mk b/package/python-u-msgpack/python-u-msgpack.mk
new file mode 100644 (file)
index 0000000..e389716
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-u-msgpack
+#
+################################################################################
+
+PYTHON_U_MSGPACK_VERSION = 2.1
+PYTHON_U_MSGPACK_SOURCE = u-msgpack-python-$(PYTHON_U_MSGPACK_VERSION).tar.gz
+PYTHON_U_MSGPACK_SITE = https://pypi.python.org/packages/b7/8d/791f037a0954f98a8eceb09c7c14babb97db0a81c985108bb21939b801eb
+PYTHON_U_MSGPACK_SETUP_TYPE = distutils
+PYTHON_U_MSGPACK_LICENSE = MIT
+PYTHON_U_MSGPACK_LICENSE_FILES = umsgpack.py
+
+$(eval $(python-package))