All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 2/2] python-reentry: new package
@ 2018-05-07 20:34 Asaf Kahlon
  2018-05-07 21:15 ` Yegor Yefremov
  2018-05-19 21:22 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Asaf Kahlon @ 2018-05-07 20:34 UTC (permalink / raw)
  To: buildroot

A plugin manager based on setuptools entry points mechanism.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---

v2: add pypi site to package/python-reentry/Config.in and put the package in the 
correct place on package/Config.in.

 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(+)
 create mode 100644 package/python-reentry/Config.in
 create mode 100644 package/python-reentry/python-reentry.hash
 create mode 100644 package/python-reentry/python-reentry.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 7c0b7f0f28..261c556ad8 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -192,6 +192,7 @@ F:	package/stress/
 N:	Asaf Kahlon <asafka7@gmail.com>
 F:	package/python-jsonmodels/
 F:	package/python-py/
+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 a922c67a8e..b7234f3a7d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -913,6 +913,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))
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-19 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-07 20:34 [Buildroot] [PATCH v2 2/2] python-reentry: new package Asaf Kahlon
2018-05-07 21:15 ` Yegor Yefremov
2018-05-19 21:22 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.