* [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
@ 2019-05-28 10:57 h.nasajpour
2019-05-28 19:09 ` Danny Milosavljevic
2022-04-07 13:07 ` bug#35949: " zimoun
0 siblings, 2 replies; 6+ messages in thread
From: h.nasajpour @ 2019-05-28 10:57 UTC (permalink / raw)
To: 35949; +Cc: h.nasajpour
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
2019-05-28 10:57 [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors h.nasajpour
@ 2019-05-28 19:09 ` Danny Milosavljevic
2019-05-29 0:58 ` Hamzeh Nasajpour
2022-04-07 13:07 ` bug#35949: " zimoun
1 sibling, 1 reply; 6+ messages in thread
From: Danny Milosavljevic @ 2019-05-28 19:09 UTC (permalink / raw)
To: h.nasajpour; +Cc: 35949
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
Hi,
On Tue, 28 May 2019 15:27:43 +0430
"h.nasajpour" <h.nasajpour@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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
2019-05-28 19:09 ` Danny Milosavljevic
@ 2019-05-29 0:58 ` Hamzeh Nasajpour
2019-07-29 6:45 ` Hamzeh Nasajpour
2019-12-10 6:34 ` Brett Gilio
0 siblings, 2 replies; 6+ messages in thread
From: Hamzeh Nasajpour @ 2019-05-29 0:58 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 35949
+(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@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.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
2019-05-29 0:58 ` Hamzeh Nasajpour
@ 2019-07-29 6:45 ` Hamzeh Nasajpour
2019-12-10 6:34 ` Brett Gilio
1 sibling, 0 replies; 6+ messages in thread
From: Hamzeh Nasajpour @ 2019-07-29 6:45 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 35949
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@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.
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors.
2019-05-29 0:58 ` Hamzeh Nasajpour
2019-07-29 6:45 ` Hamzeh Nasajpour
@ 2019-12-10 6:34 ` Brett Gilio
1 sibling, 0 replies; 6+ messages in thread
From: Brett Gilio @ 2019-12-10 6:34 UTC (permalink / raw)
To: Hamzeh Nasajpour; +Cc: Danny Milosavljevic, 35949
"Hamzeh Nasajpour" <h.nasajpour@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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35949: [PATCH 3/3] gnu: Add python-flask-cors.
2019-05-28 10:57 [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors h.nasajpour
2019-05-28 19:09 ` Danny Milosavljevic
@ 2022-04-07 13:07 ` zimoun
1 sibling, 0 replies; 6+ messages in thread
From: zimoun @ 2022-04-07 13:07 UTC (permalink / raw)
To: h.nasajpour; +Cc: 35949-done
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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-07 13:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 10:57 [bug#35949] [PATCH 3/3] gnu: Add python-flask-cors h.nasajpour
2019-05-28 19:09 ` Danny Milosavljevic
2019-05-29 0:58 ` Hamzeh Nasajpour
2019-07-29 6:45 ` Hamzeh Nasajpour
2019-12-10 6:34 ` Brett Gilio
2022-04-07 13:07 ` bug#35949: " zimoun
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).