[Next] package/python-bunch: new package
diff mbox series

Message ID 20191112210300.17792-1-matthew.weber@rockwellcollins.com
State Accepted
Headers show
Series
  • [Next] package/python-bunch: new package
Related show

Commit Message

Matthew Weber Nov. 12, 2019, 9:03 p.m. UTC
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/python-bunch/Config.in         |  6 ++++++
 package/python-bunch/python-bunch.hash |  5 +++++
 package/python-bunch/python-bunch.mk   | 14 ++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-bunch/Config.in
 create mode 100644 package/python-bunch/python-bunch.hash
 create mode 100644 package/python-bunch/python-bunch.mk

Comments

Thomas Petazzoni Nov. 19, 2019, 4:35 p.m. UTC | #1
On Tue, 12 Nov 2019 15:03:00 -0600
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>  package/python-bunch/Config.in         |  6 ++++++
>  package/python-bunch/python-bunch.hash |  5 +++++
>  package/python-bunch/python-bunch.mk   | 14 ++++++++++++++
>  3 files changed, 25 insertions(+)
>  create mode 100644 package/python-bunch/Config.in
>  create mode 100644 package/python-bunch/python-bunch.hash
>  create mode 100644 package/python-bunch/python-bunch.mk

The entry in the DEVELOPERS file was missing, so I've added that. Then
I pushed, and realized the package was also not added to
package/Config.in, so I did a follow-up commit to fix that. Both to the
next branch, of course.

Thanks,

Thomas

Patch
diff mbox series

diff --git a/package/python-bunch/Config.in b/package/python-bunch/Config.in
new file mode 100644
index 0000000000..89eae742b8
--- /dev/null
+++ b/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
diff --git a/package/python-bunch/python-bunch.hash b/package/python-bunch/python-bunch.hash
new file mode 100644
index 0000000000..5cf2cece46
--- /dev/null
+++ b/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
diff --git a/package/python-bunch/python-bunch.mk b/package/python-bunch/python-bunch.mk
new file mode 100644
index 0000000000..18fdc223bb
--- /dev/null
+++ b/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))