From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDyXw-0003oV-WE for guix-patches@gnu.org; Fri, 27 Sep 2019 18:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDyXu-0007Xd-Of for guix-patches@gnu.org; Fri, 27 Sep 2019 18:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDyXu-0007WH-K0 for guix-patches@gnu.org; Fri, 27 Sep 2019 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDyXu-000662-Eq for guix-patches@gnu.org; Fri, 27 Sep 2019 18:17:02 -0400 Subject: [bug#37535] [PATCH] gnu: Add python-flask-cors. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41201) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDyXj-0003la-Dl for guix-patches@gnu.org; Fri, 27 Sep 2019 18:16:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDyXh-0006V8-6l for guix-patches@gnu.org; Fri, 27 Sep 2019 18:16:50 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37273) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDyXg-0006Nk-Nk for guix-patches@gnu.org; Fri, 27 Sep 2019 18:16:49 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2AC0E221B9 for ; Fri, 27 Sep 2019 18:16:47 -0400 (EDT) Mime-Version: 1.0 Message-Id: <3f1fdf71-c664-4fb1-8ba1-f82e2d5f39b7@www.fastmail.com> Date: Sat, 28 Sep 2019 01:46:24 +0330 From: "Hamzeh Nasajpour" Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37535@debbugs.gnu.org * gnu/packages/python-web.scm (python-flask-cors): New variable. --- gnu/packages/python-web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e37ae94e18..276ed0f01f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2146,6 +2146,27 @@ SlimIt also provides a library that includes a JavaScript parser, lexer, pretty printer and a tree visitor.") (license license:expat))) +(define-public python-flask-cors + (package + (name "python-flask-cors") + (version "3.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "Flask-Cors" version)) + (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-six" ,python-six) + ("python-flask" ,python-flask))) + (home-page "https://github.com/corydolphin/flask-cors") + (synopsis "A Flask extension adding a decorator for CORS support") + (description + "A Flask extension for handling Cross Origin Resource Sharing (CORS), +making cross-origin AJAX possible.") + (license license:expat))) + (define-public python-flask-restful (package (name "python-flask-restful") -- 2.23.0