From: Mathieu Othacehe <m.othacehe@gmail.com>
To: 31564@debbugs.gnu.org
Subject: [bug#31564] [PATCH 4/5] gnu: Add python-fusepy.
Date: Wed, 23 May 2018 10:35:21 +0200 [thread overview]
Message-ID: <1527064522-20775-4-git-send-email-m.othacehe@gmail.com> (raw)
In-Reply-To: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com>
* 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
next prev parent reply other threads:[~2018-05-23 8:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Mathieu Othacehe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1527064522-20775-4-git-send-email-m.othacehe@gmail.com \
--to=m.othacehe@gmail.com \
--cc=31564@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.