[Buildroot] [git commit] python-reentry: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat May 19 21:21:13 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=cdcc4cd1ec2aa402d35ee248db4fe478c99a9af4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

A plugin manager based on setuptools entry points mechanism.

Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-reentry/Config.in           | 10 ++++++++++
 package/python-reentry/python-reentry.hash |  4 ++++
 package/python-reentry/python-reentry.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index 7fc7e354d0..f9531944a3 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -191,6 +191,7 @@ F:	package/stress/
 
 N:	Asaf Kahlon <asafka7 at gmail.com>
 F:	package/python-jsonmodels/
+F:	package/python-reentry/
 F:	package/python-subprocess32/
 F:	package/python-yieldfrom/
 F:	package/zeromq/
diff --git a/package/Config.in b/package/Config.in
index 61210cea36..71a380bc3f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -912,6 +912,7 @@ menu "External python modules"
 	source "package/python-pyyaml/Config.in"
 	source "package/python-pyzmq/Config.in"
 	source "package/python-raven/Config.in"
+	source "package/python-reentry/Config.in"
 	source "package/python-remi/Config.in"
 	source "package/python-requests/Config.in"
 	source "package/python-requests-oauthlib/Config.in"
diff --git a/package/python-reentry/Config.in b/package/python-reentry/Config.in
new file mode 100644
index 0000000000..18518f2c3f
--- /dev/null
+++ b/package/python-reentry/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_REENTRY
+	bool "python-reentry"
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+	select BR2_PACKAGE_PYTHON_CLICK # runtime
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	select BR2_PACKAGE_PYTHON_PY # runtime
+	help
+	  A plugin manager based on setuptools entry points mechanism.
+
+	  https://pypi.org/project/reentry/
diff --git a/package/python-reentry/python-reentry.hash b/package/python-reentry/python-reentry.hash
new file mode 100644
index 0000000000..7a3bbf4d99
--- /dev/null
+++ b/package/python-reentry/python-reentry.hash
@@ -0,0 +1,4 @@
+# sha256 from https://pypi.org/pypi/reentry/json
+sha256	00df980d8c61713f5002d4d893ba6ea38e9a721cd04aef5a520b974e700ab550  reentry-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256	4ae7f3216208a7e2327236e95bcd2397b2495f1c2298c708986c893bea608509  LICENSE
diff --git a/package/python-reentry/python-reentry.mk b/package/python-reentry/python-reentry.mk
new file mode 100644
index 0000000000..d3f0e03ef0
--- /dev/null
+++ b/package/python-reentry/python-reentry.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-reentry
+#
+################################################################################
+
+PYTHON_REENTRY_VERSION = 1.2.0
+PYTHON_REENTRY_SOURCE = reentry-$(PYTHON_REENTRY_VERSION).tar.gz
+PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/e2/b4/46dfac6613302fea51454a01aebedae9440aff9d813aedbbc5f687552e3b
+PYTHON_REENTRY_SETUP_TYPE = setuptools
+PYTHON_REENTRY_LICENSE = MIT
+PYTHON_REENTRY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))


More information about the buildroot mailing list