me
/
guix
Archived
1
0
Fork 0

gnu: assword: Use INVOKE.

* gnu/packages/password-utils.scm (assword)[arguments]: Use INVOKE.
master
Ricardo Wurmus 2019-01-25 14:10:25 +01:00
parent c9a65d5c37
commit 3692cffed4
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 9 deletions

View File

@ -381,15 +381,14 @@ random passwords that pass the checks.")
#t)))
(add-after 'install 'manpage
(lambda* (#:key outputs #:allow-other-keys)
(and
;; Without this substitution, it fails with
;; ImportError: No module named 'gpg'
(substitute* "Makefile"
(("PYTHONPATH=.") ""))
(zero? (system* "make" "assword.1"))
(install-file
"assword.1"
(string-append (assoc-ref outputs "out") "/share/man/man1"))))))))
;; Without this substitution, it fails with
;; ImportError: No module named 'gpg'
(substitute* "Makefile"
(("PYTHONPATH=.") ""))
(invoke "make" "assword.1")
(install-file
"assword.1"
(string-append (assoc-ref outputs "out") "/share/man/man1")))))))
(build-system python-build-system)
(native-inputs
`(("txt2man" ,txt2man)))