python-mbstrdecoder: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 16 Dec 2016 15:02:47 +0000 (16:02 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Dec 2016 14:04:57 +0000 (15:04 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-mbstrdecoder/Config.in [new file with mode: 0644]
package/python-mbstrdecoder/python-mbstrdecoder.hash [new file with mode: 0644]
package/python-mbstrdecoder/python-mbstrdecoder.mk [new file with mode: 0644]

index f7e8c0ab9b5b8030d72d5d14259ddac445daddb5..066759cf496a769e84bf7afb9aa1e7fcb4b3b4cb 100644 (file)
@@ -710,6 +710,7 @@ menu "External python modules"
        source "package/python-mako/Config.in"
        source "package/python-markdown/Config.in"
        source "package/python-markupsafe/Config.in"
+       source "package/python-mbstrdecoder/Config.in"
        source "package/python-meld3/Config.in"
        source "package/python-mistune/Config.in"
        source "package/python-msgpack/Config.in"
diff --git a/package/python-mbstrdecoder/Config.in b/package/python-mbstrdecoder/Config.in
new file mode 100644 (file)
index 0000000..017002c
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_MBSTRDECODER
+       bool "python-mbstrdecoder"
+       help
+         multi-byte character string decoder.
+
+         https://github.com/thombashi/mbstrdecoder
diff --git a/package/python-mbstrdecoder/python-mbstrdecoder.hash b/package/python-mbstrdecoder/python-mbstrdecoder.hash
new file mode 100644 (file)
index 0000000..1389ac3
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/mbstrdecoder/json, sha256 locally computed
+md5    5548c4748cf0bc16befcf7ef848f95ff  mbstrdecoder-0.1.0.tar.gz
+sha256 7c65c4ea6681729ddfdb7612ac39f5accb10abb4e838ca810d810931ec023aad  mbstrdecoder-0.1.0.tar.gz
diff --git a/package/python-mbstrdecoder/python-mbstrdecoder.mk b/package/python-mbstrdecoder/python-mbstrdecoder.mk
new file mode 100644 (file)
index 0000000..f64bde9
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-mbstrdecoder
+#
+################################################################################
+
+PYTHON_MBSTRDECODER_VERSION = 0.1.0
+PYTHON_MBSTRDECODER_SOURCE = mbstrdecoder-$(PYTHON_MBSTRDECODER_VERSION).tar.gz
+PYTHON_MBSTRDECODER_SITE = https://pypi.python.org/packages/e4/10/fa3d8716b28e2b37eba1edab1c6831a56b805032328279c14fc99d37c391
+PYTHON_MBSTRDECODER_SETUP_TYPE = setuptools
+PYTHON_MBSTRDECODER_LICENSE = MIT
+PYTHON_MBSTRDECODER_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))