瀏覽代碼

package/python-munch: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yegor Yefremov 2 年之前
父節點
當前提交
002a5f7ced
共有 4 個文件被更改,包括 28 次插入0 次删除
  1. 1 0
      package/Config.in
  2. 7 0
      package/python-munch/Config.in
  3. 5 0
      package/python-munch/python-munch.hash
  4. 15 0
      package/python-munch/python-munch.mk

+ 1 - 0
package/Config.in

@@ -1128,6 +1128,7 @@ menu "External python modules"
 	source "package/python-msgfy/Config.in"
 	source "package/python-msgpack/Config.in"
 	source "package/python-multidict/Config.in"
+	source "package/python-munch/Config.in"
 	source "package/python-mutagen/Config.in"
 	source "package/python-mwclient/Config.in"
 	source "package/python-mwscrape/Config.in"

+ 7 - 0
package/python-munch/Config.in

@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_MUNCH
+	bool "python-munch"
+	help
+	  Munch is a dictionary that supports attribute-style access,
+	  a la JavaScript.
+
+	  https://github.com/Infinidat/munch

+ 5 - 0
package/python-munch/python-munch.hash

@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/munch/json
+md5  ed84c3718416c8d4d03d0a6ef46e8e0c  munch-2.5.0.tar.gz
+sha256  2d735f6f24d4dba3417fa448cae40c6e896ec1fdab6cdb5e6510999758a4dbd2  munch-2.5.0.tar.gz
+# Locally computed sha256 checksums
+sha256  57ca95c92059c8380625192462979bd32994aae3fcdf902ff6eb1e467eeb0469  LICENSE.txt

+ 15 - 0
package/python-munch/python-munch.mk

@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-munch
+#
+################################################################################
+
+PYTHON_MUNCH_VERSION = 2.5.0
+PYTHON_MUNCH_SOURCE = munch-$(PYTHON_MUNCH_VERSION).tar.gz
+PYTHON_MUNCH_SITE = https://files.pythonhosted.org/packages/43/a1/ec48010724eedfe2add68eb7592a0d238590e14e08b95a4ffb3c7b2f0808
+PYTHON_MUNCH_SETUP_TYPE = setuptools
+PYTHON_MUNCH_LICENSE = MIT
+PYTHON_MUNCH_LICENSE_FILES = LICENSE.txt
+PYTHON_MUNCH_DEPENDENCIES = host-python-pbr
+
+$(eval $(python-package))