Sfoglia il codice sorgente

package/python-bunch: new package

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: add missing entry to DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Matt Weber 5 anni fa
parent
commit
8f15dd35ef

+ 1 - 0
DEVELOPERS

@@ -1591,6 +1591,7 @@ F:	package/policycoreutils/
 F:	package/proftpd/
 F:	package/protobuf-c/
 F:	package/protobuf/
+F:	package/python-bunch/
 F:	package/python-colorama/
 F:	package/python-flask-cors/
 F:	package/python-iptables/

+ 6 - 0
package/python-bunch/Config.in

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_BUNCH
+	bool "python-bunch"
+	help
+	  A dot-accessible dictionary (a la JavaScript objects).
+
+	  http://github.com/dsc/bunch

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

@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/bunch/json
+md5	0a829d64e95ed96defbcae2bf9061bb0  bunch-1.0.1.tar.gz
+sha256	50c77a0fc0cb372dfe48b5e11937d5f70e743adbf42683f3a6d2857645a76aaa  bunch-1.0.1.tar.gz
+# Locally computed sha256 checksums
+sha256	57ca95c92059c8380625192462979bd32994aae3fcdf902ff6eb1e467eeb0469  LICENSE.txt

+ 14 - 0
package/python-bunch/python-bunch.mk

@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-bunch
+#
+################################################################################
+
+PYTHON_BUNCH_VERSION = 1.0.1
+PYTHON_BUNCH_SOURCE = bunch-$(PYTHON_BUNCH_VERSION).tar.gz
+PYTHON_BUNCH_SITE = https://files.pythonhosted.org/packages/ef/bf/a4cf1779a4ffb4f610903fa08e15d1f4a8a2f4e3353a02afbe097c5bf4a8
+PYTHON_BUNCH_SETUP_TYPE = setuptools
+PYTHON_BUNCH_LICENSE = MIT
+PYTHON_BUNCH_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))