From patchwork Sun Aug 4 01:16:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1141644 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="etprKZTI"; dkim-atps=neutral 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 461NKS60rvz9sBF for ; Sun, 4 Aug 2019 11:17:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 43DFB203EB; Sun, 4 Aug 2019 01:16:59 +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 XOxvHYJXWmK0; Sun, 4 Aug 2019 01:16:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6B0C3203EE; Sun, 4 Aug 2019 01:16:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 756E21BF3D0 for ; Sun, 4 Aug 2019 01:16:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 72FD986254 for ; Sun, 4 Aug 2019 01:16:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qbelu6qd1+a1 for ; Sun, 4 Aug 2019 01:16:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2069D860A8 for ; Sun, 4 Aug 2019 01:16:44 +0000 (UTC) Received: by mail-io1-f45.google.com with SMTP id q22so40513554iog.4 for ; Sat, 03 Aug 2019 18:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ssxO2o1XSduKXHD9BTvrSQ7rqNcbZs+afdXLAto5Jvo=; b=etprKZTIrh3X4TirIewAxVZj/5g2SRYu8mG/IcLaRN8I3o4IQI46UnRKAFtcQAZwrb qHsWZcqvaitVZElnD4z9O4TBe8hrlkSPQ6t9fdEIil4EfrJCPwk0GbnsnJMh3n2rq+sH iJYmEtcHgqhuvwAvrGKpailIJGvSEfHBKNQ98aon+B9Jx1t59IMcPVgBhojPx4enW5X9 92vCl9VdmVdRDIGxAMRSLaPl/pKAMko4VyST6W7m5zblhNu/I11CNlvjDhdNgHdqAlRP Cr+0THH90uOWzstTb1u/zIdTyCmDIkV+GtEpcxG9+SoQMwS5aEC89IygBnxO644wteZO mPRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ssxO2o1XSduKXHD9BTvrSQ7rqNcbZs+afdXLAto5Jvo=; b=iHE0xrq0TBNedumfJcRaNZEfDYsG32nhUAbUe/f+F6v5tevYqL431YxR064ZsNicsx 9wVFdTt/UFMfVOXHCNGhugUBvzuQznjlc9GN6ChMgxaYDj4A1b2CCSA6EUgtnX+36nVx Yy+inxz3TdF9CtLOAC+TLEaq6L0cuV9iXweIGhY2nP19AuF3fi/NxFkjMk1oeScA0IO5 Pbh3qeCrNB1ZPilDB62MTE0LtCKQcEofqUkqoGLeJlWfXHUiElL7j4jJAmMbgFPoKHBK ICdi9MkHkV1DCsd+ELni+o42nkzpdEfVWebKt38FKX5IlBa02cOPZnxKhmwOXEDoJJ88 jXQw== X-Gm-Message-State: APjAAAU3jl+uaBE/BIxmPhUqvRVmIZM9e+EUa4zTLJxG7xiYCiHISpgx Q9AUoZtCbJz3T5ilIgQU4LJNGqeE X-Google-Smtp-Source: APXvYqyqcl3KBL3kLiSY9o9OBGB31JkVkWBH941M2XS1YPrE8zG/ZlUknsQgYD7YCiE47pVETftIaQ== X-Received: by 2002:a05:6602:cc:: with SMTP id z12mr12213013ioe.86.1564881403255; Sat, 03 Aug 2019 18:16:43 -0700 (PDT) Received: from localhost.localdomain (68-188-149-81.dhcp.aldl.mi.charter.com. [68.188.149.81]) by smtp.gmail.com with ESMTPSA id u4sm74678275iol.59.2019.08.03.18.16.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 03 Aug 2019 18:16:42 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sat, 3 Aug 2019 21:16:28 -0400 Message-Id: <20190804011631.86261-6-aduskett@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190804011631.86261-1-aduskett@gmail.com> References: <20190804011631.86261-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 05/08] package/python-asgiref: 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: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett ASGI is a standard for Python asynchronous web apps and servers to communicate with each other, and positioned as an asynchronous successor to WSGI. Signed-off-by: Adam Duskett --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-asgiref/Config.in | 14 ++++++++++++++ package/python-asgiref/python-asgiref.hash | 5 +++++ package/python-asgiref/python-asgiref.mk | 14 ++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/python-asgiref/Config.in create mode 100644 package/python-asgiref/python-asgiref.hash create mode 100644 package/python-asgiref/python-asgiref.mk diff --git a/DEVELOPERS b/DEVELOPERS index 0e3e93b15f..6375c9fcd3 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -57,6 +57,7 @@ F: package/openjdk-bin/ F: package/php/ F: package/policycoreutils/ F: package/python3/ +F: package/python-asgiref/ F: package/python-daphne/ F: package/python-django-enumfields/ F: package/python-flask-sqlalchemy/ diff --git a/package/Config.in b/package/Config.in index c81067192b..391df0ef61 100644 --- a/package/Config.in +++ b/package/Config.in @@ -829,6 +829,7 @@ menu "External python modules" source "package/python-alsaaudio/Config.in" source "package/python-argh/Config.in" source "package/python-arrow/Config.in" + source "package/python-asgiref/Config.in" source "package/python-asn1crypto/Config.in" source "package/python-async-timeout/Config.in" source "package/python-attrs/Config.in" diff --git a/package/python-asgiref/Config.in b/package/python-asgiref/Config.in new file mode 100644 index 0000000000..d0b816c369 --- /dev/null +++ b/package/python-asgiref/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_ASGIREF + bool "python-asgiref" + help + ASGI is a standard for Python asynchronous web apps and + servers to communicate with each other, and positioned as + an asynchronous successor to WSGI. + + This package includes ASGI base libraries, such as: + - Sync-to-async and async-to-sync function wrappers, + asgiref.sync + - Server base classes, asgiref.server + - A WSGI-to-ASGI adapter, in asgiref.wsgi + + http://github.com/django/asgiref/ diff --git a/package/python-asgiref/python-asgiref.hash b/package/python-asgiref/python-asgiref.hash new file mode 100644 index 0000000000..61ec9ebdec --- /dev/null +++ b/package/python-asgiref/python-asgiref.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/asgiref/json +md5 682697d39175a9681222dd6f304d8e51 asgiref-3.2.0.tar.gz +sha256 cefcbd64acbfc9f38913566824ef070dd9a50e63f1b4cc5a7f1c44be809d7ff3 asgiref-3.2.0.tar.gz +# Locally computed sha256 checksums +sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-asgiref/python-asgiref.mk b/package/python-asgiref/python-asgiref.mk new file mode 100644 index 0000000000..0ffc16dd90 --- /dev/null +++ b/package/python-asgiref/python-asgiref.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-asgiref +# +################################################################################ + +PYTHON_ASGIREF_VERSION = 3.2.0 +PYTHON_ASGIREF_SOURCE = asgiref-$(PYTHON_ASGIREF_VERSION).tar.gz +PYTHON_ASGIREF_SITE = https://files.pythonhosted.org/packages/65/ef/e357b3e3d418f16d8f79b9d0c44d170bc0d88f0840b5755b6bfe25a576ea +PYTHON_ASGIREF_SETUP_TYPE = setuptools +PYTHON_ASGIREF_LICENSE = BSD-3-Clause +PYTHON_ASGIREF_LICENSE_FILES = LICENSE + +$(eval $(python-package))