python-ujson: new package
authorMauro Condarelli <mc5686@mclink.it>
Sat, 6 Feb 2016 22:59:59 +0000 (23:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Feb 2016 22:56:34 +0000 (23:56 +0100)
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-ujson/Config.in [new file with mode: 0644]
package/python-ujson/python-ujson.hash [new file with mode: 0644]
package/python-ujson/python-ujson.mk [new file with mode: 0644]

index 11ba42d5d50a21c18efdf2a86dfd97ebb9a28284..ce15775d57a599a2ebb4100f187f3104174229ba 100644 (file)
@@ -726,6 +726,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-ujson/Config.in"
        source "package/python-urllib3/Config.in"
        source "package/python-urwid/Config.in"
        source "package/python-versiontools/Config.in"
diff --git a/package/python-ujson/Config.in b/package/python-ujson/Config.in
new file mode 100644 (file)
index 0000000..d185c98
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_UJSON
+       bool "python-ujson"
+       help
+         UltraJSON is an ultra fast JSON encoder and decoder written
+         in pure C with bindings for Python 2.5+ and 3.
+
+         https://pypi.python.org/pypi/ujson
diff --git a/package/python-ujson/python-ujson.hash b/package/python-ujson/python-ujson.hash
new file mode 100644 (file)
index 0000000..2132034
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=42f77b0cce686dfa4da2e68480b1dd24,sha256 locally computed.
+md5    42f77b0cce686dfa4da2e68480b1dd24  ujson-1.35.tar.gz
+sha256 f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86  ujson-1.35.tar.gz
diff --git a/package/python-ujson/python-ujson.mk b/package/python-ujson/python-ujson.mk
new file mode 100644 (file)
index 0000000..8d4a12b
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-ujson
+#
+################################################################################
+
+PYTHON_UJSON_VERSION = 1.35
+PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz
+PYTHON_UJSON_SITE = http://pypi.python.org/packages/source/u/ujson
+PYTHON_UJSON_LICENSE = BSD-3c
+PYTHON_UJSON_SETUP_TYPE = setuptools
+
+$(eval $(python-package))