Skip to contentSkip to conversation

python-fire: new package

PATCH New Asaf Kahlon 3 participants 3 messages Aug 24, 2018 – Sep 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-fire: new package

A library for automatically generating command line interfaces.

---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/python-fire/Config.in        |  8 ++++++++
 package/python-fire/python-fire.hash |  5 +++++
 package/python-fire/python-fire.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-fire/Config.in
 create mode 100644 package/python-fire/python-fire.hash
 create mode 100644 package/python-fire/python-fire.mk
DEVELOPERS +1 -0
index 481c74f9f2..4832b004f5 100644
@@ -199,6 +199,7 @@ F:	package/stress/
 
 N:	Asaf Kahlon <[email protected]>
 F:	package/libuv/
+F:	package/python-fire/
 F:	package/python-jsonmodels/
 F:	package/python-reentry/
 F:	package/python-subprocess32/
package/Config.in +1 -0
index eda0f698dc..653f8259a7 100644
@@ -820,6 +820,7 @@ menu "External python modules"
 	source "package/python-engineio/Config.in"
 	source "package/python-enum/Config.in"
 	source "package/python-enum34/Config.in"
+	source "package/python-fire/Config.in"
 	source "package/python-flask/Config.in"
 	source "package/python-flask-cors/Config.in"
 	source "package/python-flask-babel/Config.in"
package/python-fire/Config.in new file +8 -0
new file mode 100644
index 0000000000..2c6e55ab6b
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_FIRE
+	bool "python-fire"
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	help
+	  A library for automatically generating command line
+	  interfaces.
+
+	  https://github.com/google/python-fire
package/python-fire/python-fire.hash new file +5 -0
new file mode 100644
index 0000000000..d6304369d5
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/fire/json
+md5	44c51c634b61acc7ed42a413a64de38a  fire-0.1.3.tar.gz
+sha256	c299d16064ff81cbb649b65988300d4a28b71ecfb789d1fb74d99ea98ae4d2eb  fire-0.1.3.tar.gz
+# Locally computed sha256 checksums
+sha256	a5de77b62266bca0bb97bf058992f0b0f308a83a8ca55ee10fbf6bd8ed8f7ed0  LICENSE
package/python-fire/python-fire.mk new file +14 -0
new file mode 100644
index 0000000000..bdb5ee191c
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-fire
+#
+################################################################################
+
+PYTHON_FIRE_VERSION = 0.1.3
+PYTHON_FIRE_SOURCE = fire-$(PYTHON_FIRE_VERSION).tar.gz
+PYTHON_FIRE_SITE = https://files.pythonhosted.org/packages/5a/b7/205702f348aab198baecd1d8344a90748cb68f53bdcd1cc30cbc08e47d3e
+PYTHON_FIRE_SETUP_TYPE = setuptools
+PYTHON_FIRE_LICENSE = Apache-2.0
+PYTHON_FIRE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 python-fire: new package

Quoted 4 lines · Asaf Kahlon

A library for automatically generating command line interfaces.

Quoted 83 lines
---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/python-fire/Config.in        |  8 ++++++++
 package/python-fire/python-fire.hash |  5 +++++
 package/python-fire/python-fire.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-fire/Config.in
 create mode 100644 package/python-fire/python-fire.hash
 create mode 100644 package/python-fire/python-fire.mk
DEVELOPERS +1 -0
index 481c74f9f2..4832b004f5 100644
@@ -199,6 +199,7 @@ F:  package/stress/
 
 N:     Asaf Kahlon <[email protected]>
 F:     package/libuv/
+F:     package/python-fire/
 F:     package/python-jsonmodels/
 F:     package/python-reentry/
 F:     package/python-subprocess32/
package/Config.in +1 -0
index eda0f698dc..653f8259a7 100644
@@ -820,6 +820,7 @@ menu "External python modules"
        source "package/python-engineio/Config.in"
        source "package/python-enum/Config.in"
        source "package/python-enum34/Config.in"
+       source "package/python-fire/Config.in"
        source "package/python-flask/Config.in"
        source "package/python-flask-cors/Config.in"
        source "package/python-flask-babel/Config.in"
package/python-fire/Config.in new file +8 -0
new file mode 100644
index 0000000000..2c6e55ab6b
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_FIRE
+       bool "python-fire"
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         A library for automatically generating command line
+         interfaces.
+
+         https://github.com/google/python-fire
package/python-fire/python-fire.hash new file +5 -0
new file mode 100644
index 0000000000..d6304369d5
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/fire/json
+md5    44c51c634b61acc7ed42a413a64de38a  fire-0.1.3.tar.gz
+sha256 c299d16064ff81cbb649b65988300d4a28b71ecfb789d1fb74d99ea98ae4d2eb  fire-0.1.3.tar.gz
+# Locally computed sha256 checksums
+sha256 a5de77b62266bca0bb97bf058992f0b0f308a83a8ca55ee10fbf6bd8ed8f7ed0  LICENSE
package/python-fire/python-fire.mk new file +14 -1
new file mode 100644
index 0000000000..bdb5ee191c
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-fire
+#
+################################################################################
+
+PYTHON_FIRE_VERSION = 0.1.3
+PYTHON_FIRE_SOURCE = fire-$(PYTHON_FIRE_VERSION).tar.gz
+PYTHON_FIRE_SITE = https://files.pythonhosted.org/packages/5a/b7/205702f348aab198baecd1d8344a90748cb68f53bdcd1cc30cbc08e47d3e
+PYTHON_FIRE_SETUP_TYPE = setuptools
+PYTHON_FIRE_LICENSE = Apache-2.0
+PYTHON_FIRE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--

2.17.1

#2 lore raw

PATCH 1/1 python-fire: new package

In reply to Asaf Kahlon

Hello,

Quoted 13 lines · Asaf Kahlon

A library for automatically generating command line interfaces.

---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/python-fire/Config.in        |  8 ++++++++
 package/python-fire/python-fire.hash |  5 +++++
 package/python-fire/python-fire.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-fire/Config.in
 create mode 100644 package/python-fire/python-fire.hash
 create mode 100644 package/python-fire/python-fire.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com