diff options
author | pjotrp | 2016-02-13 15:16:40 +0100 |
---|---|---|
committer | pjotrp | 2016-02-13 15:16:40 +0100 |
commit | ba5ce4d3e75df6e0cb27492dc5067be3e52998da (patch) | |
tree | 40e90ea54ce2afe998834416ea4258b2f4ffd4d7 | |
parent | f318a29598a35efc8f67571dcb5cf274279bc6ff (diff) | |
download | guix-bioinformatics-ba5ce4d3e75df6e0cb27492dc5067be3e52998da.tar.gz |
works
-rw-r--r-- | gn/packages/python.scm | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 032f4f1..014165b 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -347,7 +347,7 @@ version ".orig.tar.gz")) (search-patch "python2-htmlgen-Fix-test-for-random.patch") )))) (build-system gnu-build-system) - (inputs + (native-inputs `(("make" ,gnu-make))) (propagated-inputs `(("python2" ,python-2))) @@ -355,9 +355,21 @@ version ".orig.tar.gz")) `(#:phases (modify-phases %standard-phases (delete 'configure) (replace 'build - (lambda _ - (zero? (apply system* "make" "test"))))) - + (lambda _ + (system* "chmod" "a+w" "-R" ".") + ) + ) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (include (string-append out "/include")) + (lib (string-append out "/lib")) + (pkgconfig (string-append out "/lib/pkgconfig")) + (doc (string-append out "/share/doc"))) + ;; Install libs and headers. + (install-file "HTMLgen.pyc" lib) + ))) ; install + ) ; phases #:tests? #f)) (home-page "https://packages.debian.org/unstable/python/python-htmlgen") |