gnu: itstool: Update to 2.0.4.

* gnu/packages/glib.scm (itstool): Update to 2.0.4.
[inputs]: Replace python and python-libxml2 with python-2 and python2-libxml2.
This commit is contained in:
Kei Kebreau 2017-11-02 15:33:08 -04:00
parent 67bd376b1a
commit 13fbd174b5
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 10 additions and 11 deletions

View File

@ -395,29 +395,28 @@ The intltool collection can be used to do these things:
(define itstool (define itstool
(package (package
(name "itstool") (name "itstool")
(version "2.0.2") (version "2.0.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://files.itstool.org/itstool/itstool-" (uri (string-append "http://files.itstool.org/itstool/itstool-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0fh34wi52i0qikgvlmrcpf1vx6gc1xqdad4539l4d9hikfsrz45z")))) "0q7b4qrc758zfx3adsgvz0r93swdbxjr42w37rahngm33nshihlp"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("libxml2" ,libxml2) `(("libxml2" ,libxml2)
("python2-libxml2" ,python2-libxml2) ("python-libxml2" ,python-libxml2)
("python-2" ,python-2))) ("python" ,python)))
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after (add-after 'install 'wrap-program
'install 'wrap-program (lambda* (#:key outputs #:allow-other-keys)
(lambda* (#:key outputs #:allow-other-keys) (let ((prog (string-append (assoc-ref outputs "out")
(let ((prog (string-append (assoc-ref outputs "out") "/bin/itstool")))
"/bin/itstool"))) (wrap-program prog
(wrap-program prog `("PYTHONPATH" = (,(getenv "PYTHONPATH"))))))))))
`("PYTHONPATH" = (,(getenv "PYTHONPATH"))))))))))
(home-page "http://www.itstool.org") (home-page "http://www.itstool.org")
(synopsis "Tool to translate XML documents with PO files") (synopsis "Tool to translate XML documents with PO files")
(description (description