unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26731: [Patch 0/2] Add python-flask-oidc and dependencies.
@ 2017-05-01 10:00 Danny Milosavljevic
  2017-05-01 10:01 ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Danny Milosavljevic
  0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-05-01 10:00 UTC (permalink / raw)
  To: 26731

Danny Milosavljevic (2):
  gnu: Add python-oauth2client.
  gnu: Add python-flask-oidc.

 gnu/packages/python.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#26731: [PATCH 1/2] gnu: Add python-oauth2client.
  2017-05-01 10:00 bug#26731: [Patch 0/2] Add python-flask-oidc and dependencies Danny Milosavljevic
@ 2017-05-01 10:01 ` Danny Milosavljevic
  2017-05-01 10:01   ` bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc Danny Milosavljevic
  2017-05-01 14:57   ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Marius Bakke
  0 siblings, 2 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2017-05-01 10:01 UTC (permalink / raw)
  To: 26731

* gnu/packages/python.scm (python-oauth2client): New variable.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 164c1f49b..dd83f2dd7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14011,3 +14011,30 @@ exception message with a traceback that points to the culprit.")
 
 (define-public python2-fudge
   (package-with-python2 python-fudge))
+
+(define-public python-oauth2client
+  (package
+    (name "python-oauth2client")
+    (version "4.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "oauth2client" version))
+       (sha256
+        (base32
+         "1irqqap2zibysf8dba8sklfqikia579srd0phm5n754ni0h59gl0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ; Django not found.
+    (propagated-inputs
+     `(("python-httplib2" ,python-httplib2)
+       ("python-pyasn1" ,python-pyasn1)
+       ("python-pyasn1-modules" ,python-pyasn1-modules)
+       ("python-rsa" ,python-rsa)
+       ("python-six" ,python-six)))
+    (home-page
+     "http://github.com/google/oauth2client/")
+    (synopsis "OAuth 2.0 client library")
+    (description "@code{python-oauth2client} provides an OAuth 2.0 client
+library for Python")
+    (license license:asl2.0)))

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc.
  2017-05-01 10:01 ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Danny Milosavljevic
@ 2017-05-01 10:01   ` Danny Milosavljevic
  2017-05-01 14:59     ` Marius Bakke
  2017-05-01 14:57   ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Marius Bakke
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-05-01 10:01 UTC (permalink / raw)
  To: 26731

* gnu/packages/python.scm (python-flask-oidc): New variable.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dd83f2dd7..1ea2db622 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14038,3 +14038,30 @@ exception message with a traceback that points to the culprit.")
     (description "@code{python-oauth2client} provides an OAuth 2.0 client
 library for Python")
     (license license:asl2.0)))
+
+(define-public python-flask-oidc
+  (package
+    (name "python-flask-oidc")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flask-oidc" version))
+       (sha256
+        (base32
+         "1ay5j0mf174bix7i67hclr95gv16z81fpx0dijvi0gydvdj3ddy2"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-oauth2client" ,python-oauth2client)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-nose" ,python-nose)
+       ("python-mock" ,python-mock)))
+    (home-page
+     "https://github.com/puiterwijk/flask-oidc")
+    (synopsis "OpenID Connect extension for Flask")
+    (description "@code{python-flask-oidc} provides an OpenID Connect extension
+for Flask.")
+    (license license:bsd-2)))

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#26731: [PATCH 1/2] gnu: Add python-oauth2client.
  2017-05-01 10:01 ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Danny Milosavljevic
  2017-05-01 10:01   ` bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc Danny Milosavljevic
@ 2017-05-01 14:57   ` Marius Bakke
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2017-05-01 14:57 UTC (permalink / raw)
  To: Danny Milosavljevic, 26731

[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/python.scm (python-oauth2client): New variable.
> ---
>  gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 164c1f49b..dd83f2dd7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -14011,3 +14011,30 @@ exception message with a traceback that points to the culprit.")
>  
>  (define-public python2-fudge
>    (package-with-python2 python-fudge))
> +
> +(define-public python-oauth2client
> +  (package
> +    (name "python-oauth2client")
> +    (version "4.0.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "oauth2client" version))
> +       (sha256
> +        (base32
> +         "1irqqap2zibysf8dba8sklfqikia579srd0phm5n754ni0h59gl0"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:tests? #f))                    ; Django not found.

Please add a TODO here, maybe including the error message.

> +    (propagated-inputs
> +     `(("python-httplib2" ,python-httplib2)
> +       ("python-pyasn1" ,python-pyasn1)
> +       ("python-pyasn1-modules" ,python-pyasn1-modules)
> +       ("python-rsa" ,python-rsa)
> +       ("python-six" ,python-six)))
> +    (home-page
> +     "http://github.com/google/oauth2client/")

The line break here is unnecessary.

> +    (synopsis "OAuth 2.0 client library")
> +    (description "@code{python-oauth2client} provides an OAuth 2.0 client
> +library for Python")

...and this misses a punctuation

> +    (license license:asl2.0)))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc.
  2017-05-01 10:01   ` bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc Danny Milosavljevic
@ 2017-05-01 14:59     ` Marius Bakke
  0 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2017-05-01 14:59 UTC (permalink / raw)
  To: Danny Milosavljevic, 26731

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/python.scm (python-flask-oidc): New variable.
> ---
>  gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index dd83f2dd7..1ea2db622 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -14038,3 +14038,30 @@ exception message with a traceback that points to the culprit.")
>      (description "@code{python-oauth2client} provides an OAuth 2.0 client
>  library for Python")
>      (license license:asl2.0)))
> +
> +(define-public python-flask-oidc
> +  (package
> +    (name "python-flask-oidc")
> +    (version "1.1.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "flask-oidc" version))
> +       (sha256
> +        (base32
> +         "1ay5j0mf174bix7i67hclr95gv16z81fpx0dijvi0gydvdj3ddy2"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +     `(("python-flask" ,python-flask)
> +       ("python-itsdangerous" ,python-itsdangerous)
> +       ("python-oauth2client" ,python-oauth2client)
> +       ("python-six" ,python-six)))
> +    (native-inputs
> +     `(("python-nose" ,python-nose)
> +       ("python-mock" ,python-mock)))
> +    (home-page
> +     "https://github.com/puiterwijk/flask-oidc")

Why these line breaks? Looks good otherwise!

> +    (synopsis "OpenID Connect extension for Flask")
> +    (description "@code{python-flask-oidc} provides an OpenID Connect extension
> +for Flask.")
> +    (license license:bsd-2)))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-01 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01 10:00 bug#26731: [Patch 0/2] Add python-flask-oidc and dependencies Danny Milosavljevic
2017-05-01 10:01 ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Danny Milosavljevic
2017-05-01 10:01   ` bug#26731: [PATCH 2/2] gnu: Add python-flask-oidc Danny Milosavljevic
2017-05-01 14:59     ` Marius Bakke
2017-05-01 14:57   ` bug#26731: [PATCH 1/2] gnu: Add python-oauth2client Marius Bakke

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).