gnu: solaar: Update to 1.0.4.

* gnu/packages/admin.scm (solaar): Update to 1.0.4.
[arguments]: Remove custom 'fix-prefix-detection phase.
This commit is contained in:
Efraim Flashner 2020-11-04 15:59:06 +02:00
parent aed5b1ff98
commit c385818245
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3749,7 +3749,7 @@ (define-public python-pyudev
(define-public solaar (define-public solaar
(package (package
(name "solaar") (name "solaar")
(version "0.9.2") (version "1.0.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3758,17 +3758,11 @@ (define-public solaar
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"085mfa13dap3wqik1dqlad0d7kff4rv7j4ljh99c7l8nhczkqgwm")))) "15wzxxr2m5349kkvcs3k5clg1rsmvh6by2066qm4hlgvjwmigggy"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-prefix-detection
(lambda _
(substitute* "setup.py"
(("'--prefix' in sys\\.argv")
"len([x.startswith('--prefix=') for x in sys.argv]) > 0"))
#t))
(add-before 'build 'setenv-PATH (add-before 'build 'setenv-PATH
(lambda _ (lambda _
(setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH"))) (setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))