From patchwork Tue May 28 10:57:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamzeh Nasajpour X-Patchwork-Id: 14105 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 0FF1B17052; Tue, 28 May 2019 15:47:31 +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,URIBL_BLOCKED autolearn=ham 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 708A81704F for ; Tue, 28 May 2019 15:47:30 +0100 (BST) Received: from localhost ([127.0.0.1]:36192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdNx-0007cr-Q3 for patchwork@mira.cbaines.net; Tue, 28 May 2019 10:47:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdJH-00056w-1M for guix-patches@gnu.org; Tue, 28 May 2019 10:42:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVdIu-00023a-32 for guix-patches@gnu.org; Tue, 28 May 2019 10:42:25 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVdIl-0001z8-Lk for guix-patches@gnu.org; Tue, 28 May 2019 10:42:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVdIl-0001jN-JD for guix-patches@gnu.org; Tue, 28 May 2019 10:42:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors. Resent-From: "h.nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 May 2019 14:42:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35949 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35949@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15590544766446 (code B ref -1); Tue, 28 May 2019 14:42:07 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2019 14:41:16 +0000 Received: from localhost ([127.0.0.1]:56755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVdHw-0001fo-ID for submit@debbugs.gnu.org; Tue, 28 May 2019 10:41:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVZuo-0007kY-U0 for submit@debbugs.gnu.org; Tue, 28 May 2019 07:05:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:36679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVZuj-0004ZF-Ld for submit@debbugs.gnu.org; Tue, 28 May 2019 07:05:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVZug-0002SW-2G for guix-patches@gnu.org; Tue, 28 May 2019 07:05:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVZue-0004Ti-J7 for guix-patches@gnu.org; Tue, 28 May 2019 07:05:01 -0400 Received: from 37.59.236.227.rdns.hasaserver.com ([37.59.236.227]:52746 helo=hamzeh-VirtualBox.Home) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVZue-0004Qw-1M for guix-patches@gnu.org; Tue, 28 May 2019 07:05:00 -0400 Received: by hamzeh-VirtualBox.Home (Postfix, from userid 0) id 9D03F1A1544; Tue, 28 May 2019 15:27:44 +0430 (+0430) From: "h.nasajpour" Date: Tue, 28 May 2019 15:27:43 +0430 Message-Id: <20190528105743.3749-1-h.nasajpour@pantherx.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 28 May 2019 10:41:14 -0400 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-Mailman-Approved-At: Tue, 28 May 2019 10:47:27 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "h.nasajpour" 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 79f4ec3565..ab11119f07 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2095,6 +2095,26 @@ 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 adding a decorator for CORS support") + (license license:expat))) + (define-public python-flask-restful (package (name "python-flask-restful")