From: Asaf Kahlon <asafka7@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] python-reentry: new package
Date: Mon, 7 May 2018 23:34:29 +0300 [thread overview]
Message-ID: <20180507203429.31102-1-asafka7@gmail.com> (raw)
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
next reply other threads:[~2018-05-07 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 20:34 Asaf Kahlon [this message]
2018-05-07 21:15 ` [Buildroot] [PATCH v2 2/2] python-reentry: new package Yegor Yefremov
2018-05-19 21:22 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180507203429.31102-1-asafka7@gmail.com \
--to=asafka7@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox