From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFf-0003oe-Il for guix-patches@gnu.org; Wed, 23 May 2018 04:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPFd-00063s-EI for guix-patches@gnu.org; Wed, 23 May 2018 04:36:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPFd-00063l-B0 for guix-patches@gnu.org; Wed, 23 May 2018 04:36:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLPFd-0005zI-56 for guix-patches@gnu.org; Wed, 23 May 2018 04:36:05 -0400 Subject: [bug#31566] [PATCH 5/5] gnu: Add python2-gdrivefs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFB-0003bN-Fs for guix-patches@gnu.org; Wed, 23 May 2018 04:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPF9-0005oA-Bq for guix-patches@gnu.org; Wed, 23 May 2018 04:35:37 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:54153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPF9-0005ni-4D for guix-patches@gnu.org; Wed, 23 May 2018 04:35:35 -0400 Received: by mail-wm0-x22b.google.com with SMTP id a67-v6so6582165wmf.3 for ; Wed, 23 May 2018 01:35:34 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 23 May 2018 10:35:22 +0200 Message-Id: <1527064522-20775-5-git-send-email-m.othacehe@gmail.com> In-Reply-To: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> References: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31566@debbugs.gnu.org * 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