mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-fusepy: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-fusepy): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable it. <#:phases>: Refresh it. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I4855d99676f65aa1fc9176e9fcbbd206bafea537 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
87a41ed724
commit
2e4c2c69a0
1 changed files with 22 additions and 17 deletions
|
|
@ -27423,27 +27423,32 @@ commit, but it also includes some other useful statistics.")
|
|||
(version "2.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "fusepy" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/fusepy/fusepy")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0v5grm4zyf58hsplwsxfbihddw95lz9w8cy3rpzbyha287swgx8h"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "10smh49lzmqam6ddxcnp1dajy4s9hi5ri3qp1rhwdyfsaq3pay81"))))
|
||||
(build-system pyproject-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'")))))))))
|
||||
(propagated-inputs
|
||||
(list fuse-2))
|
||||
(list
|
||||
#:tests? #f ; No formalized tests.
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-library-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "fuse.py"
|
||||
(("find_library\\('fuse'\\)")
|
||||
(format #f "~s"
|
||||
(search-input-file inputs "lib/libfuse.so")))))))))
|
||||
(native-inputs (list python-setuptools))
|
||||
(propagated-inputs (list fuse-2))
|
||||
(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.")
|
||||
(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 python-fusepyng
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue