From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43337) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jE6Y7-0004Y9-Uf for guix-patches@gnu.org; Tue, 17 Mar 2020 03:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jE6Y6-00013X-Pz for guix-patches@gnu.org; Tue, 17 Mar 2020 03:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jE6Y6-00012o-ML for guix-patches@gnu.org; Tue, 17 Mar 2020 03:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jE6Y6-0003IC-I6 for guix-patches@gnu.org; Tue, 17 Mar 2020 03:22:02 -0400 Subject: [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng. References: <20200317071432.GM927@E5400> In-Reply-To: <20200317071432.GM927@E5400> Resent-Message-ID: From: Efraim Flashner Date: Tue, 17 Mar 2020 09:20:36 +0200 Message-Id: <20200317072040.31229-2-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 40100@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/python-xyz.scm (python-fusepyng): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c6d3e2ce19..2aafb380c2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15920,6 +15920,39 @@ MacFUSE. The binding is created using the standard @code{ctypes} library.") (define-public python2-fusepy (package-with-python2 python-fusepy)) +(define-public python-fusepyng + (package + (name "python-fusepyng") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fusepyng" version)) + (sha256 + (base32 + "17w9iw6m6zjbmnhs4ikd27pq4mb1nan6k4ahlwyz40463vw6wkwb")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-libfuse-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((fuse (assoc-ref inputs "fuse"))) + (substitute* "fusepyng.py" + (("os.environ.get\\('FUSE_LIBRARY_PATH'\\)") + (string-append "\"" fuse "/lib/libfuse.so\"")))) + #t))))) + (inputs + `(("fuse" ,fuse))) + (propagated-inputs + `(("python-paramiko" ,python-paramiko))) + (home-page "https://github.com/rianhunter/fusepyng") + (synopsis "Simple ctypes bindings for FUSE") + (description "@code{fusepyng} is a Python module that provides a simple +interface to FUSE on various operating systems. It's just one file and is +implemented using @code{ctypes}.") + (license license:isc))) + (define-public python2-gdrivefs (package (name "python2-gdrivefs") -- 2.25.1