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

Previous Next

Package: guix-patches;

Reported by: "h.nasajpour" <h.nasajpour <at> pantherx.org>

Date: Tue, 28 May 2019 14:42:07 UTC

Severity: normal

Tags: patch

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35949 in the body.
You can then email your comments to 35949 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#35949; Package guix-patches. (Tue, 28 May 2019 14:42:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to "h.nasajpour" <h.nasajpour <at> pantherx.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 May 2019 14:42:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "h.nasajpour" <h.nasajpour <at> pantherx.org>
To: guix-patches <at> gnu.org
Cc: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Subject: [PATCH 3/3] gnu: Add python-flask-cors.
Date: Tue, 28 May 2019 15:27:43 +0430
* 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")
-- 
2.21.0





Information forwarded to guix-patches <at> gnu.org:
bug#35949; Package guix-patches. (Tue, 28 May 2019 19:10:03 GMT) Full text and rfc822 format available.

Message #8 received at 35949 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Cc: 35949 <at> debbugs.gnu.org
Subject: Re: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
Date: Tue, 28 May 2019 21:09:44 +0200
[Message part 1 (text/plain, inline)]
Hi,

On Tue, 28 May 2019 15:27:43 +0430
"h.nasajpour" <h.nasajpour <at> pantherx.org> wrote:

> +    (source (origin
> +      (method url-fetch)
> +      (uri (pypi-uri "Flask-Cors" version))
> +      (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y"))))

Strange indentation. 

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

Please add a comment with the reason.
 
> +    (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")

Please add text to the description that describes what CORS is.
Also, the description should be full sentences.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#35949; Package guix-patches. (Wed, 29 May 2019 00:59:02 GMT) Full text and rfc822 format available.

Message #11 received at 35949 <at> debbugs.gnu.org (full text, mbox):

From: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 35949 <at> debbugs.gnu.org
Subject: Re: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
Date: Wed, 29 May 2019 05:28:48 +0430
+(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
+     "This package has a simple philosophy, when you want to enable CORS, you wish to enable it for all use cases on a domain. This means no mucking around with different allowed headers, methods, etc. By default, submission of cookies across domains is disabled due to the security implications")
+    (license license:expat)))
+

On Tue, May 28, 2019, at 11:39 PM, Danny Milosavljevic wrote:
> Hi,
> 
> On Tue, 28 May 2019 15:27:43 +0430
> "h.nasajpour" <h.nasajpour <at> pantherx.org> wrote:
> 
> > +    (source (origin
> > +      (method url-fetch)
> > +      (uri (pypi-uri "Flask-Cors" version))
> > +      (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y"))))
> 
> Strange indentation. 
> 
> > +    (arguments
> > +     `(#:tests? #f))
> 
> Please add a comment with the reason.
>  
> > +    (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")
> 
> Please add text to the description that describes what CORS is.
> Also, the description should be full sentences.
>




Information forwarded to guix-patches <at> gnu.org:
bug#35949; Package guix-patches. (Mon, 29 Jul 2019 06:47:01 GMT) Full text and rfc822 format available.

Message #14 received at 35949 <at> debbugs.gnu.org (full text, mbox):

From: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 35949 <at> debbugs.gnu.org
Subject: Re: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
Date: Mon, 29 Jul 2019 11:15:54 +0430
Hi,

What's the status of this patch?

Regards,

On Wed, May 29, 2019, at 5:28 AM, Hamzeh Nasajpour wrote:
> +(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
> +     "This package has a simple philosophy, when you want to enable 
> CORS, you wish to enable it for all use cases on a domain. This means 
> no mucking around with different allowed headers, methods, etc. By 
> default, submission of cookies across domains is disabled due to the 
> security implications")
> +    (license license:expat)))
> +
> 
> On Tue, May 28, 2019, at 11:39 PM, Danny Milosavljevic wrote:
> > Hi,
> > 
> > On Tue, 28 May 2019 15:27:43 +0430
> > "h.nasajpour" <h.nasajpour <at> pantherx.org> wrote:
> > 
> > > +    (source (origin
> > > +      (method url-fetch)
> > > +      (uri (pypi-uri "Flask-Cors" version))
> > > +      (sha256 (base32 "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y"))))
> > 
> > Strange indentation. 
> > 
> > > +    (arguments
> > > +     `(#:tests? #f))
> > 
> > Please add a comment with the reason.
> >  
> > > +    (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")
> > 
> > Please add text to the description that describes what CORS is.
> > Also, the description should be full sentences.
> >




Information forwarded to guix-patches <at> gnu.org:
bug#35949; Package guix-patches. (Tue, 10 Dec 2019 06:36:01 GMT) Full text and rfc822 format available.

Message #17 received at 35949 <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35949 <at> debbugs.gnu.org
Subject: Re: [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
Date: Tue, 10 Dec 2019 00:34:59 -0600
"Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org> writes:

> +(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
> + "This package has a simple philosophy, when you want to enable CORS,
> you wish to enable it for all use cases on a domain. This means no
> mucking around with different allowed headers, methods, etc. By
> default, submission of cookies across domains is disabled due to the
> security implications")
> +    (license license:expat)))
> +

Hi Hamzeh,

This patch still needs some revision. Could you please send a properly
formatted [PATCH v2 x/1] with an explanation as to why the tests are
disabled, corrected indentation, and a description that matches our
style guide.

https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

Thanks! If you need help, let me know.

-- 
Brett M. Gilio
Homepage -- https://scm.pw/
GNU Guix -- https://guix.gnu.org/




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Thu, 07 Apr 2022 13:12:02 GMT) Full text and rfc822 format available.

Notification sent to "h.nasajpour" <h.nasajpour <at> pantherx.org>:
bug acknowledged by developer. (Thu, 07 Apr 2022 13:12:03 GMT) Full text and rfc822 format available.

Message #22 received at 35949-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Cc: 35949-done <at> debbugs.gnu.org
Subject: Re: bug#35949: [PATCH 3/3] gnu: Add python-flask-cors.
Date: Thu, 07 Apr 2022 15:07:17 +0200
Hi,

Thank you for the submission.  Currently, the version is
python-flask-cors is 0.3.10.  Therefore, closing!


On Tue, 28 May 2019 at 15:27, "h.nasajpour" <h.nasajpour <at> pantherx.org> wrote:

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

--8<---------------cut here---------------start------------->8---
$ guix show python-flask-cors | recsel -p name,version
name: python-flask-cors
version: 3.0.10
--8<---------------cut here---------------end--------------->8---


Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 May 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 353 days ago.

Previous Next


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