* [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client.
@ 2018-05-23 8:35 Mathieu Othacehe
2018-05-23 8:35 ` [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client Mathieu Othacehe
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-23 8:35 UTC (permalink / raw)
To: 31562
* gnu/packages/python-web.scm (python2-oauth2client): New variable.
---
gnu/packages/python-web.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8ebae2e..dc1f9a1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2017 Mark Meyer <mark@ofosos.org>
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2090,6 +2091,9 @@ users' sessions over extended periods of time.")
library for Python")
(license license:asl2.0)))
+(define-public python2-oauth2client
+ (package-with-python2 python-oauth2client))
+
(define-public python-flask-oidc
(package
(name "python-flask-oidc")
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client.
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
@ 2018-05-23 8:35 ` Mathieu Othacehe
2018-05-23 8:35 ` [bug#31565] [PATCH 3/5] gnu: Add python-gipc Mathieu Othacehe
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-23 8:35 UTC (permalink / raw)
To: 31563
* gnu/packages/python-web.scm (python-google-api-client): New variable,
(python2-google-api-client): new variable.
---
gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dc1f9a1..4868baa 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2624,3 +2624,30 @@ name resolutions asynchronously.")
(description "@code{yarl} module provides handy @code{URL} class
for URL parsing and changing.")
(license license:asl2.0)))
+
+(define-public python-google-api-client
+ (package
+ (name "python-google-api-client")
+ (version "1.6.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "google-api-python-client" version))
+ (sha256
+ (base32
+ "1wpbbbxfpy9mwxdy3kn352cb590ladv574j1aa2l4grjdqw3ln05"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; tests require internet access
+ (native-inputs
+ `(("python-httplib2" ,python-httplib2)
+ ("python-six" ,python-six)
+ ("python-oauth2client" ,python-oauth2client)
+ ("python-uritemplate" ,python-uritemplate)))
+ (home-page "https://github.com/google/google-api-python-client")
+ (synopsis "Core Python library for accessing Google APIs")
+ (description "Python client library for Google's discovery based APIs")
+ (license license:asl2.0)))
+
+(define-public python2-google-api-client
+ (package-with-python2 python-google-api-client))
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#31565] [PATCH 3/5] gnu: Add python-gipc.
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
2018-05-23 8:35 ` [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client Mathieu Othacehe
@ 2018-05-23 8:35 ` Mathieu Othacehe
2018-05-24 22:33 ` Leo Famulari
2018-05-23 8:35 ` [bug#31564] [PATCH 4/5] gnu: Add python-fusepy Mathieu Othacehe
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-23 8:35 UTC (permalink / raw)
To: 31565
* gnu/packages/python.scm (python-gipc): New variable,
(python2-gipc): new variable.
---
gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 31310ce..7919f45 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -38,7 +38,7 @@
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
;;; Copyright © 2017, 2018 Adriano Peluso <catonano@gmail.com>
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
-;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2017, 2018 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
;;; Copyright © 2017, 2018 Kei Kebreau <kkebreau@posteo.net>
@@ -13339,3 +13339,29 @@ Glob2 currently based on the glob code from Python 3.3.1.")
(define-public python2-glob2
(package-with-python2 python-glob2))
+
+(define-public python-gipc
+ (package
+ (name "python-gipc")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gipc" version ".zip"))
+ (sha256
+ (base32
+ "0pd9by719qh882hqs6xpby61sn1x5h98hms5p2p8yqnycrf1s0h2"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("unzip" ,unzip)
+ ("python-gevent" ,python-gevent)))
+ (home-page "http://gehrcke.de/gipc")
+ (synopsis "Child process management in the context of gevent")
+ (description "Usage of Python's multiprocessing package in a
+gevent-powered application may raise problems. With @code{gipc},
+process-based child processes can safely be created anywhere within a
+gevent-powered application.")
+ (license license:expat)))
+
+(define-public python2-gipc
+ (package-with-python2 python-gipc))
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#31564] [PATCH 4/5] gnu: Add python-fusepy.
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
2018-05-23 8:35 ` [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client Mathieu Othacehe
2018-05-23 8:35 ` [bug#31565] [PATCH 3/5] gnu: Add python-gipc Mathieu Othacehe
@ 2018-05-23 8:35 ` Mathieu Othacehe
2018-05-23 8:35 ` [bug#31566] [PATCH 5/5] gnu: Add python2-gdrivefs Mathieu Othacehe
2018-05-24 22:33 ` [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Leo Famulari
4 siblings, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-23 8:35 UTC (permalink / raw)
To: 31564
* gnu/packages/python.scm (python-fusepy): New variable,
(python2-fusepy): new variable.
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7919f45..665a739 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13365,3 +13365,36 @@ gevent-powered application.")
(define-public python2-gipc
(package-with-python2 python-gipc))
+
+(define-public python-fusepy
+ (package
+ (name "python-fusepy")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fusepy" version))
+ (sha256
+ (base32
+ "0v5grm4zyf58hsplwsxfbihddw95lz9w8cy3rpzbyha287swgx8h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-library-file-name
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((fuse (assoc-ref inputs "fuse")))
+ (substitute* "fuse.py"
+ (("find_library\\('fuse'\\)")
+ (string-append "'" fuse "/lib/libfuse.so'")))
+ #t))))))
+ (propagated-inputs
+ `(("fuse" ,fuse)))
+ (home-page "https://github.com/fusepy/fusepy")
+ (synopsis "Simple ctypes bindings for FUSE")
+ (description "Python module that provides a simple interface to FUSE and
+MacFUSE. The binding is created using the standard @code{ctypes} library.")
+ (license license:isc)))
+
+(define-public python2-fusepy
+ (package-with-python2 python-fusepy))
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#31566] [PATCH 5/5] gnu: Add python2-gdrivefs.
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
` (2 preceding siblings ...)
2018-05-23 8:35 ` [bug#31564] [PATCH 4/5] gnu: Add python-fusepy Mathieu Othacehe
@ 2018-05-23 8:35 ` Mathieu Othacehe
2018-05-24 22:33 ` [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Leo Famulari
4 siblings, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-23 8:35 UTC (permalink / raw)
To: 31566
* gnu/packages/python.scm (python2-gdrivefs): New variable.
---
gnu/packages/python.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 665a739..7ca1d26 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13398,3 +13398,44 @@ MacFUSE. The binding is created using the standard @code{ctypes} library.")
(define-public python2-fusepy
(package-with-python2 python-fusepy))
+
+(define-public python2-gdrivefs
+ (package
+ (name "python2-gdrivefs")
+ (version "0.14.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gdrivefs" version))
+ (sha256
+ (base32
+ "0v9sp2cfg4ki3wagkwf3rnfpjhvgf845anz3757il9z95yvvcvb7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-setup-py
+ (lambda _
+ ;; Update requirements from dependency==version
+ ;; to dependency>=version
+ (substitute* "gdrivefs/resources/requirements.txt"
+ (("==") ">="))
+ #t)))))
+ (native-inputs
+ `(("python2-gipc" ,python2-gipc)
+ ("python2-gevent" ,python2-gevent)
+ ("python2-greenlet" ,python2-greenlet)
+ ("python2-httplib2" ,python2-httplib2)
+ ("python2-uritemplate" ,python2-uritemplate)
+ ("python2-oauth2client" ,python2-oauth2client)
+ ("python2-six" ,python2-six)))
+ (propagated-inputs
+ `(("python2-dateutil" ,python2-dateutil)
+ ("python2-fusepy" ,python2-fusepy)
+ ("python2-google-api-client" ,python2-google-api-client)))
+ (home-page "https://github.com/dsoprea/GDriveFS")
+ (synopsis "Mount Google Drive as a local file system")
+ (description "@code{gdrivefs} provides a FUSE wrapper for Google Drive
+under Python 2.7.")
+ (license license:gpl2)))
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#31565] [PATCH 3/5] gnu: Add python-gipc.
2018-05-23 8:35 ` [bug#31565] [PATCH 3/5] gnu: Add python-gipc Mathieu Othacehe
@ 2018-05-24 22:33 ` Leo Famulari
2018-05-25 8:39 ` Mathieu Othacehe
0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2018-05-24 22:33 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 31565
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
On Wed, May 23, 2018 at 10:35:20AM +0200, Mathieu Othacehe wrote:
> * gnu/packages/python.scm (python-gipc): New variable,
> (python2-gipc): new variable.
> + (native-inputs
> + `(("unzip" ,unzip)
> + ("python-gevent" ,python-gevent)))
To clarify, does it need python-gevent at run-time? If so, we should
propagate python-gevent. Otherwise LGTM
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client.
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
` (3 preceding siblings ...)
2018-05-23 8:35 ` [bug#31566] [PATCH 5/5] gnu: Add python2-gdrivefs Mathieu Othacehe
@ 2018-05-24 22:33 ` Leo Famulari
4 siblings, 0 replies; 8+ messages in thread
From: Leo Famulari @ 2018-05-24 22:33 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 31562
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
On Wed, May 23, 2018 at 10:35:18AM +0200, Mathieu Othacehe wrote:
> * gnu/packages/python-web.scm (python2-oauth2client): New variable.
Overall, this patch series LGTM. I sent one question related to
python-gipc.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#31565] [PATCH 3/5] gnu: Add python-gipc.
2018-05-24 22:33 ` Leo Famulari
@ 2018-05-25 8:39 ` Mathieu Othacehe
0 siblings, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2018-05-25 8:39 UTC (permalink / raw)
To: Leo Famulari; +Cc: 31565
Hi Leo,
> To clarify, does it need python-gevent at run-time? If so, we should
> propagate python-gevent. Otherwise LGTM
Yes it is needed at run-time, I turned it into a propagated-input as you
suggested. I also pushed the whole serie.
Thanks for reviewing,
Mathieu
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-05-25 8:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-23 8:35 [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Mathieu Othacehe
2018-05-23 8:35 ` [bug#31563] [PATCH 2/5] gnu: Add python-google-api-client Mathieu Othacehe
2018-05-23 8:35 ` [bug#31565] [PATCH 3/5] gnu: Add python-gipc Mathieu Othacehe
2018-05-24 22:33 ` Leo Famulari
2018-05-25 8:39 ` Mathieu Othacehe
2018-05-23 8:35 ` [bug#31564] [PATCH 4/5] gnu: Add python-fusepy Mathieu Othacehe
2018-05-23 8:35 ` [bug#31566] [PATCH 5/5] gnu: Add python2-gdrivefs Mathieu Othacehe
2018-05-24 22:33 ` [bug#31562] [PATCH 1/5] gnu: Add python2-oauth2client Leo Famulari
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).