From patchwork Wed Nov 13 22:44:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1194495 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47D06Z2DLhz9sP4 for ; Thu, 14 Nov 2019 09:44:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CB1E830018; Wed, 13 Nov 2019 22:44:34 +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 eblVKhr92Hey; Wed, 13 Nov 2019 22:44:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A50AE30012; Wed, 13 Nov 2019 22:44:33 +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 22B8E1BF3BB for ; Wed, 13 Nov 2019 22:44:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1E64C30012 for ; Wed, 13 Nov 2019 22:44:32 +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 tR8DftyAIlRI for ; Wed, 13 Nov 2019 22:44:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs05.rockwellcollins.com (unknown [205.175.226.130]) by silver.osuosl.org (Postfix) with ESMTPS id CEA033000B for ; Wed, 13 Nov 2019 22:44:30 +0000 (UTC) IronPort-SDR: uB3CsvyeodV96DX2oTgj5VF+WM6uKJDYEooAA1vwS9s/+sumt/BFGLywxOe1qqg5g+bfyK0/fZ y+2NzB4V9DOjwDlAek67qswcBHkWqijnQo8bSEzLAs2R34Bg4lLX5Ge16YaBLMxSy8XohQyTVz dD/dhvCGyv8xmc2MWQdBEoa/HVszFL7861UfADPzZCQ7sCKFX4CqhovC/Rll19FQcx6+3YjGjb HKiR46mwnBCW8kfIE0Z+Fvt+meec88z6cALGxd8BuDUCaojwba6Gl/e7M7P69WwGHImtP6szqM OzQ= Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr01.rockwellcollins.com) ([205.175.226.14]) by ch3vs05.rockwellcollins.com with ESMTP; 13 Nov 2019 16:44:30 -0600 X-Received: from biscuits.rockwellcollins.lab (biscuits.rockwellcollins.lab [10.148.119.137]) by dtulimr01.rockwellcollins.com (Postfix) with ESMTP id A5D44603F4; Wed, 13 Nov 2019 16:44:29 -0600 (CST) From: Matt Weber To: buildroot@buildroot.org Date: Wed, 13 Nov 2019 16:44:29 -0600 Message-Id: <20191113224429.30980-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [Next] 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" Signed-off-by: Matthew Weber Tested-by: Frank Vanbever --- package/Config.in | 1 + package/python-wsgiref/Config.in | 6 ++++++ package/python-wsgiref/python-wsgiref.hash | 3 +++ package/python-wsgiref/python-wsgiref.mk | 18 ++++++++++++++++++ 4 files changed, 28 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/package/Config.in b/package/Config.in index e87b5a57d7..c150ee2473 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1133,6 +1133,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))