mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pyliblo3: Fix build.
* gnu/packages/audio.scm (python-pyliblo3): [arguments] <test-backend>: Use custom. <phases>: Add 'fix-compilation. Change-Id: Ie188c8038c239db94871593f0dfbf6e3b0ea899e
This commit is contained in:
parent
a22e75ea4a
commit
b9601426ab
1 changed files with 19 additions and 2 deletions
|
@ -3616,8 +3616,25 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.")
|
||||||
(base32
|
(base32
|
||||||
"1rr2m8jxa5yxyb3pw6h93kvdxg7x0m6sxxxvgn34vq8k8mg1kz21"))))
|
"1rr2m8jxa5yxyb3pw6h93kvdxg7x0m6sxxxvgn34vq8k8mg1kz21"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list python-cython python-setuptools python-wheel))
|
(arguments
|
||||||
(inputs (list liblo))
|
(list
|
||||||
|
#:test-backend #~'custom
|
||||||
|
#:test-flags #~(list "test/unit.py")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; long is not available and replaced by int, proposed in
|
||||||
|
;; <https://github.com/gesellkammer/pyliblo3/pull/15>.
|
||||||
|
(add-after 'unpack 'fix-compilation
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyliblo3/_liblo.pyx"
|
||||||
|
(("long\\(") "int(")
|
||||||
|
((", long") "")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-cython
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(inputs
|
||||||
|
(list liblo))
|
||||||
(home-page "https://github.com/gesellkammer/pyliblo3")
|
(home-page "https://github.com/gesellkammer/pyliblo3")
|
||||||
(synopsis "Python bindings for liblo")
|
(synopsis "Python bindings for liblo")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue