From patchwork Fri May 31 17:16:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1108489 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45FrjV1lTVz9sBb for ; Sat, 1 Jun 2019 03:17:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D546186AEC; Fri, 31 May 2019 17:17:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v2Odu5ki-Jld; Fri, 31 May 2019 17:17:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D42A686B01; Fri, 31 May 2019 17:17:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A3A641BF616 for ; Fri, 31 May 2019 17:17:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A192D20475 for ; Fri, 31 May 2019 17:17:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DQndvgKtVzCC for ; Fri, 31 May 2019 17:17:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com [205.175.225.240]) by silver.osuosl.org (Postfix) with ESMTPS id C64E420477 for ; Fri, 31 May 2019 17:17:04 +0000 (UTC) Received: from ofwgwc03.rockwellcollins.com (HELO ciulimr01.rockwellcollins.com) ([205.175.225.12]) by secvs01.rockwellcollins.com with ESMTP; 31 May 2019 12:17:03 -0500 X-Received: from gravy.rockwellcollins.lab (gravy.rockwellcollins.lab [10.36.112.10]) by ciulimr01.rockwellcollins.com (Postfix) with ESMTP id 20A426020F; Fri, 31 May 2019 12:17:03 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Fri, 31 May 2019 12:16:54 -0500 Message-Id: <20190531171654.17906-6-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190531171654.17906-1-matthew.weber@rockwellcollins.com> References: <20190531171654.17906-1-matthew.weber@rockwellcollins.com> Subject: [Buildroot] [PATCH 6/6] package/python-wsgiref: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The Web Server Gateway Interface (WSGI) package defines a standard interface between web server software and web applications. Signed-off-by: Matthew Weber --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-wsgiref/Config.in | 6 ++++++ package/python-wsgiref/python-wsgiref.hash | 3 +++ package/python-wsgiref/python-wsgiref.mk | 18 ++++++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-wsgiref/Config.in create mode 100644 package/python-wsgiref/python-wsgiref.hash create mode 100644 package/python-wsgiref/python-wsgiref.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3ca48deff6..8545352329 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1528,6 +1528,7 @@ F: package/python-pypcap/ F: package/python-pyrex/ F: package/python-tinyrpc/ F: package/python-txdbus/ +F: package/python-wsgiref/ F: package/raptor/ F: package/rcw/ F: package/rng-tools/ diff --git a/package/Config.in b/package/Config.in index e68defd5f4..43cfcfbd73 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1103,6 +1103,7 @@ menu "External python modules" source "package/python-wrapt/Config.in" source "package/python-ws4py/Config.in" source "package/python-wsaccel/Config.in" + source "package/python-wsgiref/Config.in" source "package/python-wtforms/Config.in" source "package/python-xlib/Config.in" source "package/python-xlrd/Config.in" diff --git a/package/python-wsgiref/Config.in b/package/python-wsgiref/Config.in new file mode 100644 index 0000000000..2fde92cab0 --- /dev/null +++ b/package/python-wsgiref/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_WSGIREF + bool "python-wsgiref" + help + WSGI (PEP 333) Reference Library. + + http://cheeseshop.python.org/pypi/wsgiref diff --git a/package/python-wsgiref/python-wsgiref.hash b/package/python-wsgiref/python-wsgiref.hash new file mode 100644 index 0000000000..0c9a4fecd8 --- /dev/null +++ b/package/python-wsgiref/python-wsgiref.hash @@ -0,0 +1,3 @@ +# md5, sha256 from https://pypi.org/pypi/wsgiref/json +md5 29b146e6ebd0f9fb119fe321f7bcf6cb wsgiref-0.1.2.zip +sha256 c7e610c800957046c04c8014aab8cce8f0b9f0495c8cd349e57c1f7cabf40e79 wsgiref-0.1.2.zip diff --git a/package/python-wsgiref/python-wsgiref.mk b/package/python-wsgiref/python-wsgiref.mk new file mode 100644 index 0000000000..e30f4c6a31 --- /dev/null +++ b/package/python-wsgiref/python-wsgiref.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-wsgiref +# +################################################################################ + +PYTHON_WSGIREF_VERSION = 0.1.2 +PYTHON_WSGIREF_SOURCE = wsgiref-$(PYTHON_WSGIREF_VERSION).zip +PYTHON_WSGIREF_SITE = https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc +PYTHON_WSGIREF_SETUP_TYPE = setuptools +PYTHON_WSGIREF_LICENSE = PSF or ZPL + +define PYTHON_WSGIREF_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(PYTHON_WSGIREF_DL_DIR)/$(PYTHON_WSGIREF_SOURCE) + mv $(@D)/wsgiref-$(PYTHON_WSGIREF_VERSION)/* $(@D)/ +endef + +$(eval $(python-package))