GNU bug report logs - #37535
[PATCH] gnu: Add python-flask-cors.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>; Keywords: patch; dated Fri, 27 Sep 2019 22:17:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 37535 <at> debbugs.gnu.org:


Received: (at 37535) by debbugs.gnu.org; 6 Oct 2019 12:37:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 06 08:37:03 2019
Received: from localhost ([127.0.0.1]:45758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iH5mZ-0002Ld-1L
	for submit <at> debbugs.gnu.org; Sun, 06 Oct 2019 08:37:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47691)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iH5mW-0002L3-Dp
 for 37535 <at> debbugs.gnu.org; Sun, 06 Oct 2019 08:37:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55866)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iH5mR-0005OA-9f; Sun, 06 Oct 2019 08:36:55 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40704 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iH5mQ-0003u2-MY; Sun, 06 Oct 2019 08:36:55 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
Subject: Re: [bug#37535] [PATCH] gnu: Add python-flask-cors.
References: <3f1fdf71-c664-4fb1-8ba1-f82e2d5f39b7@HIDDEN>
 <87h84wnoh9.fsf@HIDDEN>
Date: Sun, 06 Oct 2019 14:36:53 +0200
In-Reply-To: <87h84wnoh9.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Sat, 28 Sep 2019 22:40:50 +0200")
Message-ID: <87k19idp96.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37535
Cc: 37535 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping!  :-)

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> Hi Hamzeh,
>
> "Hamzeh Nasajpour" <h.nasajpour@HIDDEN> skribis:
>
>> * gnu/packages/python-web.scm (python-flask-cors): New variable.
>
> [...]
>
>> +(define-public python-flask-cors
>> +  (package
>> +  (name "python-flask-cors")
>> +    (version "3.0.7")
>
> The indentation is different from what we usually do.  Could you run
> ./etc/indent-code.el as noted at
> <https://guix.gnu.org/manual/en/html_node/Formatting-Code.html>?
>
>> +    (arguments
>> +      `(#:tests? #f))
>
> Could you try to run the test suite or, as a last resort, add a comment
> explaining why it is disabled?
>
>> +    (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 (COR=
S),=20
>> +making cross-origin AJAX possible.")
>
> Please fix the issue reported by =E2=80=98guix lint=E2=80=99 for the syno=
psis and make a
> full sentence for the description.  See
> <https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html>.
>
> Could you send an updated patch?
>
> Thanks,
> Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#37535; Package guix-patches. Full text available.

Message received at 37535 <at> debbugs.gnu.org:


Received: (at 37535) by debbugs.gnu.org; 28 Sep 2019 20:40:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 28 16:40:58 2019
Received: from localhost ([127.0.0.1]:51345 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEJWU-0001Ed-LK
	for submit <at> debbugs.gnu.org; Sat, 28 Sep 2019 16:40:58 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:56916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iEJWQ-0001EP-O5
 for 37535 <at> debbugs.gnu.org; Sat, 28 Sep 2019 16:40:55 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 1A6438FE66;
 Sat, 28 Sep 2019 22:40:53 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 0Bzp5aON29Ur; Sat, 28 Sep 2019 22:40:51 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 6665F8FE90;
 Sat, 28 Sep 2019 22:40:51 +0200 (CEST)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
Subject: Re: [bug#37535] [PATCH] gnu: Add python-flask-cors.
References: <3f1fdf71-c664-4fb1-8ba1-f82e2d5f39b7@HIDDEN>
Date: Sat, 28 Sep 2019 22:40:50 +0200
In-Reply-To: <3f1fdf71-c664-4fb1-8ba1-f82e2d5f39b7@HIDDEN> (Hamzeh
 Nasajpour's message of "Sat, 28 Sep 2019 01:46:24 +0330")
Message-ID: <87h84wnoh9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 37535
Cc: 37535 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi Hamzeh,

"Hamzeh Nasajpour" <h.nasajpour@HIDDEN> skribis:

> * gnu/packages/python-web.scm (python-flask-cors): New variable.

[...]

> +(define-public python-flask-cors
> +  (package
> +  (name "python-flask-cors")
> +    (version "3.0.7")

The indentation is different from what we usually do.  Could you run
./etc/indent-code.el as noted at
<https://guix.gnu.org/manual/en/html_node/Formatting-Code.html>?

> +    (arguments
> +      `(#:tests? #f))

Could you try to run the test suite or, as a last resort, add a comment
explaining why it is disabled?

> +    (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=
),=20
> +making cross-origin AJAX possible.")

Please fix the issue reported by =E2=80=98guix lint=E2=80=99 for the synops=
is and make a
full sentence for the description.  See
<https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html>.

Could you send an updated patch?

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#37535; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Sep 2019 22:16:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 27 18:16:54 2019
Received: from localhost ([127.0.0.1]:48783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iDyXm-00065X-L8
	for submit <at> 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 <h.nasajpour@HIDDEN>) id 1iDyXk-00065P-QE
 for submit <at> 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 <h.nasajpour@HIDDEN>) id 1iDyXj-0003la-Dl
 for guix-patches@HIDDEN; Fri, 27 Sep 2019 18:16:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <h.nasajpour@HIDDEN>) id 1iDyXh-0006V8-6l
 for guix-patches@HIDDEN; 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 <h.nasajpour@HIDDEN>)
 id 1iDyXg-0006Nk-Nk
 for guix-patches@HIDDEN; 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 <guix-patches@HIDDEN>; 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: <xms:ToqOXacf_4NDHr7vFPD9kvnP1Pl5KbNz9r6tpK04rgHLTD3PTdYCyQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeejgddtiecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre
 ertdenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgrshgr
 jhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucffohhmrghinhepghhithhhuhgsrd
 gtohhmnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghsrghjphhouhhrsehprghn
 thhhvghrgidrohhrghenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:ToqOXZeNA3nGULr-qpsl7HGoWAl6-r5c6Une-a-vgjS3P3gBpruwPg>
 <xmx:ToqOXdOSgAmOvpukS6NY3CSUxfUFZYsVcAXP8Qzpe1_CROE51itN4w>
 <xmx:ToqOXQIMdRi4VUFC7IM6Oh8SalszRc6bId1n3xvc_KVezaxDanD2tA>
 <xmx:T4qOXU8cTtV1E9AtpkTKfFZ72LS3ysLlBT1haQD7BvtodxpvrOuYdg>
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@HIDDEN>
Date: Sat, 28 Sep 2019 01:46:24 +0330
From: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add python-flask-cors.
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 66.111.4.29
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

* 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




Acknowledgement sent to "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#37535; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 6 Oct 2019 12:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.