[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH.
From: |
宋文武 |
Subject: |
[PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH. |
Date: |
Thu, 20 Aug 2015 16:41:43 +0800 |
* gnu/packages/glib.scm (itstool): Change 'propagated-inputs' to 'inputs'.
[arguments]: New field.
---
gnu/packages/glib.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 88c61b6..59d64e9 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -315,10 +315,18 @@ The intltool collection can be used to do these things:
(base32
"0fh34wi52i0qikgvlmrcpf1vx6gc1xqdad4539l4d9hikfsrz45z"))))
(build-system gnu-build-system)
- (propagated-inputs
+ (inputs
`(("libxml2" ,libxml2)
("python2-libxml2" ,python2-libxml2)
("python-2" ,python-2)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after
+ 'install 'wrap-program
+ (lambda _
+ (wrap-program (string-append %output "/bin/itstool")
+ `("PYTHONPATH" = (,(getenv "PYTHONPATH")))))))))
(home-page "http://www.itstool.org")
(synopsis "Tool to translate XML documents with PO files")
(description
--
2.4.3
- [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH.,
宋文武 <=