1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-24 18:11:51 +02:00

gnu: python-simpleaudio: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-simpleaudio):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
<#:test-backend>: Set it.
<#:phases>: Add phase 'fix-test-run.
[native-inputs]: Add python-setuptools.

Change-Id: Ibad8cf2ae98699fec69c3961a804dfa6a9155ef4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-12-24 18:09:14 +01:00
committed by Sharlatan Hellseher
parent 5fc8a1d6e9
commit 62e5611233
+17 -10
View File
@@ -6737,18 +6737,25 @@ videos in a notebook.")
(version "1.0.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "simpleaudio" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/hamiltron/py-simple-audio")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"07glihg0fpca0gvbbvqs9q815w8xhflzdvg72yvlsm23j9j8h739"))))
(build-system python-build-system)
(base32 "12nypzb1m14yip4zrbzin5jc5awyp1d5md5y40g5anj4phb4hx1i"))))
(build-system pyproject-build-system)
(arguments
`(#:tests? #f))
(inputs
(list alsa-lib))
(home-page
"https://github.com/hamiltron/py-simple-audio")
(list
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'fix-test-run
(lambda _
(delete-file-recursively "simpleaudio"))))))
(native-inputs (list python-setuptools))
(inputs (list alsa-lib))
(home-page "https://github.com/hamiltron/py-simple-audio")
(synopsis "Simple, asynchronous audio playback for Python 3")
(description
"The @code{simplaudio} package provides cross-platform, dependency-free