From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH-NEXT 2/2] package: add python-request-id
Date: Wed, 23 May 2018 13:32:37 +0200 [thread overview]
Message-ID: <20180523113237.31269-2-peter@korsgaard.com> (raw)
In-Reply-To: <20180523113237.31269-1-peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/python-request-id/Config.in | 7 +++++++
package/python-request-id/python-request-id.hash | 5 +++++
package/python-request-id/python-request-id.mk | 14 ++++++++++++++
5 files changed, 28 insertions(+)
create mode 100644 package/python-request-id/Config.in
create mode 100644 package/python-request-id/python-request-id.hash
create mode 100644 package/python-request-id/python-request-id.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 63d554bf28..3c2c032980 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1492,6 +1492,7 @@ F: package/python-functools32/
F: package/python-ipaddr/
F: package/python-pam/
F: package/python-psutil/
+F: package/python-request-id/
F: package/python-texttable/
F: package/python-webob/
F: package/python-websocket-client/
diff --git a/package/Config.in b/package/Config.in
index 277186becb..6cd19ec97f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -914,6 +914,7 @@ menu "External python modules"
source "package/python-raven/Config.in"
source "package/python-reentry/Config.in"
source "package/python-remi/Config.in"
+ source "package/python-request-id/Config.in"
source "package/python-requests/Config.in"
source "package/python-requests-oauthlib/Config.in"
source "package/python-requests-toolbelt/Config.in"
diff --git a/package/python-request-id/Config.in b/package/python-request-id/Config.in
new file mode 100644
index 0000000000..39b5456d00
--- /dev/null
+++ b/package/python-request-id/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_REQUEST_ID
+ bool "python-request-id"
+ select BR2_PACKAGE_PYTHON_WEBOB # runtime
+ help
+ Attach a unique identifier to every WSGI request.
+
+ https://github.com/mmerickel/request_id
diff --git a/package/python-request-id/python-request-id.hash b/package/python-request-id/python-request-id.hash
new file mode 100644
index 0000000000..f412502b94
--- /dev/null
+++ b/package/python-request-id/python-request-id.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/request-id/json
+md5 29cdbb13f26c0e944e58cfbebfc52085 request-id-0.3.1.tar.gz
+sha256 4c8adff44ad6779305d5493f780400aff5ff5139e98d622379c0e0797b58d812 request-id-0.3.1.tar.gz
+# Locally computed sha256 checksums
+sha256 2d65d17b4df34f184557b8031df05e4c264d2fa6b82e560be074967eff3b326c LICENSE.txt
diff --git a/package/python-request-id/python-request-id.mk b/package/python-request-id/python-request-id.mk
new file mode 100644
index 0000000000..96601b9750
--- /dev/null
+++ b/package/python-request-id/python-request-id.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-request-id
+#
+################################################################################
+
+PYTHON_REQUEST_ID_VERSION = 0.3.1
+PYTHON_REQUEST_ID_SOURCE = request-id-$(PYTHON_REQUEST_ID_VERSION).tar.gz
+PYTHON_REQUEST_ID_SITE = https://files.pythonhosted.org/packages/2e/d4/bbe8cdd41012ba54d453452837101cecbb4151866b8aab6ca1ffb00d398c
+PYTHON_REQUEST_ID_SETUP_TYPE = setuptools
+PYTHON_REQUEST_ID_LICENSE = MIT
+PYTHON_REQUEST_ID_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
--
2.11.0
next prev parent reply other threads:[~2018-05-23 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-23 11:32 [Buildroot] [PATCH-NEXT 1/2] package: add python-webob Peter Korsgaard
2018-05-23 11:32 ` Peter Korsgaard [this message]
2018-05-25 16:04 ` [Buildroot] [PATCH-NEXT 2/2] package: add python-request-id Peter Korsgaard
2018-05-25 16:04 ` [Buildroot] [PATCH-NEXT 1/2] package: add python-webob Peter Korsgaard
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=20180523113237.31269-2-peter@korsgaard.com \
--to=peter@korsgaard.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