package: add python-request-id

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2018-05-23 13:32:37 +02:00
parent c1bf88ba10
commit 4b8b834e36
5 changed files with 28 additions and 0 deletions

View File

@ -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/

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))