From patchwork Fri Sep 27 22:16:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamzeh Nasajpour X-Patchwork-Id: 15495 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1242F17444; Fri, 27 Sep 2019 23:17:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C114F17441 for ; Fri, 27 Sep 2019 23:17:21 +0100 (BST) Received: from localhost ([::1]:57990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDyYC-0003ok-8J for patchwork@mira.cbaines.net; Fri, 27 Sep 2019 18:17:20 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37535] [PATCH] gnu: Add python-flask-cors. Resent-From: "Hamzeh Nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Sep 2019 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37535 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37535@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156962261523412 (code B ref -1); Fri, 27 Sep 2019 22:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Sep 2019 22:16:55 +0000 Received: from localhost ([127.0.0.1]:48783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDyXm-00065X-L8 for submit@debbugs.gnu.org; Fri, 27 Sep 2019 18:16:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:40049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDyXk-00065P-QE for submit@debbugs.gnu.org; Fri, 27 Sep 2019 18:16:53 -0400 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) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Fri, 27 Sep 2019 18:16:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=NGSuwru9f9Js+6Ll5KPX2PtOsrZnWyhlKaGMFNijX+4=; b=Q2RvicPb cPF71KhNQWn/8nMZLYBjWui1u1AxWa5egRnvI3Jz8TaanodX0ofePK5O3ZbVegRg xDyZrzWiK5diOLTGnsDVetP22Gm5IG0VHZ3TC0galWOKU9dJsqhtInOJTYPRd8ac Epf3khu9uW3p4M5159d/Vl1dqIJzPLtbeAxO0jxqRlMFXSOumZXjtcI78T4B/nCl zKvjOwWAgLR4/keOi7PbHX1XDLBqUrGAkyA0WLruHnW2+H7MaH4DTVZGjoKQBEwc I1VjfmB0gBk+rQUGFwnvSrNVpXaobDyt1yibsTcZlpiIWMt4dOfCGFld8bNmbWKj yUvjFwYkrTsciA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=NGSuwru9f9Js+6Ll5KPX2PtOsrZnW yhlKaGMFNijX+4=; b=03x/GVc3UDXJxTe6EQo4xripxbPwvBh84JhqfS8mefQT4 wTAewL8qbwtttGG5W/NHp5RuuxUfHRSqlN2xkEnySaLo8qOI1JvZRB52kSEfI0+g XSwojTQjypNSd0oEFcaKedPr2TMYzkR+nQ9mVqeJxqpaOI5htR6gDAqxLR3cv8M+ rqXUwHE+unkA46mTlUoPRvBO59mANjrJMK/qRD0y/cyMMm7lPr+rMPS6wbGr2Sbh lblvAMKaR15Cez6/rs73mFmaw2FpW3A7CshJcJ0iXuB2zpGk+GbMxE1r9xOCH5iC 543IzfzmBEy7+aCRxgiFCi6UBKxqUnlIsCf759O1w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeejgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgrshgr jhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucffohhmrghinhepghhithhhuhgsrd gtohhmnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghsrghjphhouhhrsehprghn thhhvghrgidrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id BB91D5C0099; Fri, 27 Sep 2019 18:16:46 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-305-g4111847-fmstable-20190924v1 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" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")